svnno****@sourc*****
svnno****@sourc*****
2009年 8月 10日 (月) 00:32:31 JST
Revision: 3465 http://sourceforge.jp/projects/jiemamy/svn/view?view=rev&revision=3465 Author: daisuke_m Date: 2009-08-10 00:32:31 +0900 (Mon, 10 Aug 2009) Log Message: ----------- Dialectを切り替えた際に、OTHERカテゴリの型に対応する型が見つからなかった場合は、UNKNOWN型になるように修正。 Modified Paths: -------------- artemis/trunk/jiemamy-core/src/main/java/org/jiemamy/internal/ArtemisJiemamyFactory.java -------------- next part -------------- Modified: artemis/trunk/jiemamy-core/src/main/java/org/jiemamy/internal/ArtemisJiemamyFactory.java =================================================================== --- artemis/trunk/jiemamy-core/src/main/java/org/jiemamy/internal/ArtemisJiemamyFactory.java 2009-08-09 15:30:28 UTC (rev 3464) +++ artemis/trunk/jiemamy-core/src/main/java/org/jiemamy/internal/ArtemisJiemamyFactory.java 2009-08-09 15:32:31 UTC (rev 3465) @@ -231,6 +231,11 @@ private BuiltinDataType newBuiltinDataType(BuiltinDataTypeMold mold) { Validate.notNull(mold); checkInitialized(); + + if (mold == BuiltinDataTypeMold.UNKNOWN) { + return null; + } + BuiltinDataTypeImpl dataType = new BuiltinDataTypeImpl(mold.getCategory(), mold.getName()); Collection<Class<?>> supportedAdapterClasses = mold.getSupportedAdapterClasses(); for (Class<?> supportedAdapterClass : supportedAdapterClasses) {