[Jiemamy-notify:2249] commit [3296] refactor

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2009年 4月 16日 (木) 00:51:12 JST


Revision: 3296
          http://svn.sourceforge.jp/view?root=jiemamy&view=rev&rev=3296
Author:   daisuke_m
Date:     2009-04-16 00:51:12 +0900 (Thu, 16 Apr 2009)

Log Message:
-----------
refactor

Modified Paths:
--------------
    artemis/trunk/jiemamy-view/src/main/java/org/jiemamy/internal/enhance/ViewFactoryExtensionEnhancer2.java


-------------- next part --------------
Modified: artemis/trunk/jiemamy-view/src/main/java/org/jiemamy/internal/enhance/ViewFactoryExtensionEnhancer2.java
===================================================================
--- artemis/trunk/jiemamy-view/src/main/java/org/jiemamy/internal/enhance/ViewFactoryExtensionEnhancer2.java	2009-04-15 15:51:04 UTC (rev 3295)
+++ artemis/trunk/jiemamy-view/src/main/java/org/jiemamy/internal/enhance/ViewFactoryExtensionEnhancer2.java	2009-04-15 15:51:12 UTC (rev 3296)
@@ -55,12 +55,12 @@
 	
 
 	public Object handle(Invocation invocation) throws Throwable {
-		// FactoryExtension#newInstance() -> ViewFactoryExtensionEnhancer#newInstance();
+		// FactoryExtension#newInstance() -> ViewExtention#newInstance();
 		Class<? extends JiemamyElement> clazz =
 				((Class<?>) invocation.getArguments()[0]).asSubclass(JiemamyElement.class);
 		Jiemamy jiemamy = (Jiemamy) invocation.getArguments()[1];
 		UUID id = (UUID) invocation.getArguments()[2];
-		Object enhancedResult = VE.newInstance(clazz, jiemamy, id);
+		JiemamyElement enhancedResult = VE.newInstance(clazz, jiemamy, id);
 		if (enhancedResult == null) {
 			return invocation.proceed();
 		}



Jiemamy-notify メーリングリストの案内
Back to archive index