[Jiemamy-notify:2487] commit [3479] [Jiemamy-dev:12] 対応。

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2009年 8月 21日 (金) 11:29:29 JST


Revision: 3479
          http://sourceforge.jp/projects/jiemamy/svn/view?view=rev&revision=3479
Author:   daisuke_m
Date:     2009-08-21 11:29:29 +0900 (Fri, 21 Aug 2009)

Log Message:
-----------
[Jiemamy-dev:12]対応。

Modified Paths:
--------------
    artemis/trunk/jiemamy-artemis-test/src/test/java/org/jiemamy/internal/EventBrokerImplTest.java
    artemis/trunk/jiemamy-dialect-sql99/pom.xml
    artemis/trunk/jiemamy-view/pom.xml

Modified: artemis/trunk/jiemamy-artemis-test/src/test/java/org/jiemamy/internal/EventBrokerImplTest.java
===================================================================
--- artemis/trunk/jiemamy-artemis-test/src/test/java/org/jiemamy/internal/EventBrokerImplTest.java	2009-08-20 15:15:56 UTC (rev 3478)
+++ artemis/trunk/jiemamy-artemis-test/src/test/java/org/jiemamy/internal/EventBrokerImplTest.java	2009-08-21 02:29:29 UTC (rev 3479)
@@ -24,7 +24,6 @@
 
 import java.io.InputStream;
 import java.util.List;
-import java.util.UUID;
 
 import org.apache.commons.io.IOUtils;
 import org.junit.After;
@@ -228,17 +227,16 @@
 		assertThat(rootModel, is(notNullValue()));
 		
 		// 念のため、EventBrokerにDefaultDispatchStrategyを設定する。
-		// HELPME 次の行の行コメントを外してもコンパイル通りますか?
-		// jiemamy.getEventBroker().setStrategy(EventBrokerImpl.DefaultDispatchStrategy());
-		jiemamy.getEventBroker().setStrategy(new DispatchStrategy() {
-			
-			// EventBroker#DefaultDispatchStrategyと同じ実装。
-			public boolean needToDispatch(CommandListener listener, Command command) {
-				UUID uuid = command.getTarget().getId();
-				JiemamyElement targetModel = listener.getTargetModel();
-				return ReferenceResolverImpl.isDescendFromElement(targetModel, uuid);
-			}
-		});
+		jiemamy.getEventBroker().setStrategy(new EventBrokerImpl.DefaultDispatchStrategy());
+//		jiemamy.getEventBroker().setStrategy(new DispatchStrategy() {
+//			
+//			// EventBroker#DefaultDispatchStrategyと同じ実装。
+//			public boolean needToDispatch(CommandListener listener, Command command) {
+//				UUID uuid = command.getTarget().getId();
+//				JiemamyElement targetModel = listener.getTargetModel();
+//				return ReferenceResolverImpl.isDescendFromElement(targetModel, uuid);
+//			}
+//		});
 		
 		CommandListenerMock rootModelListener = new CommandListenerMock(rootModel);
 		jiemamy.getEventBroker().addListener(rootModelListener);

Modified: artemis/trunk/jiemamy-dialect-sql99/pom.xml
===================================================================
--- artemis/trunk/jiemamy-dialect-sql99/pom.xml	2009-08-20 15:15:56 UTC (rev 3478)
+++ artemis/trunk/jiemamy-dialect-sql99/pom.xml	2009-08-21 02:29:29 UTC (rev 3479)
@@ -61,7 +61,7 @@
     <dependency>
       <groupId>${project.groupId}</groupId>
       <artifactId>jiemamy-core</artifactId>
-      <version>0.2.0</version>
+      <version>0.2.1-SNAPSHOT</version>
     </dependency>
   </dependencies>
   <distributionManagement>

Modified: artemis/trunk/jiemamy-view/pom.xml
===================================================================
--- artemis/trunk/jiemamy-view/pom.xml	2009-08-20 15:15:56 UTC (rev 3478)
+++ artemis/trunk/jiemamy-view/pom.xml	2009-08-21 02:29:29 UTC (rev 3479)
@@ -71,7 +71,7 @@
     <dependency>
       <groupId>${project.groupId}</groupId>
       <artifactId>jiemamy-core</artifactId>
-      <version>0.2.0</version>
+      <version>0.2.1-SNAPSHOT</version>
     </dependency>
   </dependencies>
   <distributionManagement>




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