[Jiemamy-notify:1331] commit [2597] refactor

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2009年 2月 2日 (月) 01:37:35 JST


Revision: 2597
          http://svn.sourceforge.jp/view?root=jiemamy&view=rev&rev=2597
Author:   daisuke_m
Date:     2009-02-02 01:37:35 +0900 (Mon, 02 Feb 2009)

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

Modified Paths:
--------------
    artemis/trunk/jiemamy-core/src/main/java/org/jiemamy/utils/model/TableUtil.java


-------------- next part --------------
Modified: artemis/trunk/jiemamy-core/src/main/java/org/jiemamy/utils/model/TableUtil.java
===================================================================
--- artemis/trunk/jiemamy-core/src/main/java/org/jiemamy/utils/model/TableUtil.java	2009-02-01 16:17:49 UTC (rev 2596)
+++ artemis/trunk/jiemamy-core/src/main/java/org/jiemamy/utils/model/TableUtil.java	2009-02-01 16:37:35 UTC (rev 2597)
@@ -69,7 +69,7 @@
 		List<T> result = CollectionsUtil.newArrayList();
 		for (AttributeModel attribute : tableModel.getAttributes()) {
 			if (clazz.isAssignableFrom(attribute.getClass())) {
-				result.add((T) attribute);
+				result.add(clazz.cast(attribute));
 			}
 		}
 		return result;



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