[Jiemamy-notify:1890] commit [3060] refactor

アーカイブの一覧に戻る

svnno****@sourc***** svnno****@sourc*****
2009年 4月 2日 (木) 20:09:04 JST


Revision: 3060
          http://svn.sourceforge.jp/view?root=jiemamy&view=rev&rev=3060
Author:   daisuke_m
Date:     2009-04-02 20:09:04 +0900 (Thu, 02 Apr 2009)

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

Modified Paths:
--------------
    charon/jiemamy-jpa-importer/trunk/src/main/java/org/jiemamy/composer/importer/JpaImporter.java


-------------- next part --------------
Modified: charon/jiemamy-jpa-importer/trunk/src/main/java/org/jiemamy/composer/importer/JpaImporter.java
===================================================================
--- charon/jiemamy-jpa-importer/trunk/src/main/java/org/jiemamy/composer/importer/JpaImporter.java	2009-04-02 11:04:24 UTC (rev 3059)
+++ charon/jiemamy-jpa-importer/trunk/src/main/java/org/jiemamy/composer/importer/JpaImporter.java	2009-04-02 11:09:04 UTC (rev 3060)
@@ -38,11 +38,11 @@
 		Validate.notNull(config.getEntityPackageName());
 		Validate.notNull(config.getJavaFileEncoding());
 		Validate.notNull(config.getJavaFileSrcDirs());
-		Validate.isTrue(config.getJavaFileSrcDirs().size() > 0);
+		Validate.notEmpty(config.getJavaFileSrcDirs());
 		Validate.notNull(config.getEntityClassNamePatterns());
-		Validate.isTrue(config.getEntityClassNamePatterns().size() > 0);
+		Validate.notEmpty(config.getEntityClassNamePatterns());
 		Validate.notNull(config.getIgnoreEntityClassNamePatterns());
-		Validate.isTrue(config.getIgnoreEntityClassNamePatterns().size() > 0);
+		Validate.notEmpty(config.getIgnoreEntityClassNamePatterns());
 		return false;
 	}
 }



Jiemamy-notify メーリングリストの案内
アーカイブの一覧に戻る