empire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From franci...@apache.org
Subject svn commit: r907507 - /incubator/empire-db/trunk/empire-db-codegen/src/main/java/org/apache/empire/db/codegen/CodeGenConfig.java
Date Sun, 07 Feb 2010 22:34:03 GMT
Author: francisdb
Date: Sun Feb  7 22:34:02 2010
New Revision: 907507

URL: http://svn.apache.org/viewvc?rev=907507&view=rev
Log:
avoid a pmd warning

Modified:
    incubator/empire-db/trunk/empire-db-codegen/src/main/java/org/apache/empire/db/codegen/CodeGenConfig.java

Modified: incubator/empire-db/trunk/empire-db-codegen/src/main/java/org/apache/empire/db/codegen/CodeGenConfig.java
URL: http://svn.apache.org/viewvc/incubator/empire-db/trunk/empire-db-codegen/src/main/java/org/apache/empire/db/codegen/CodeGenConfig.java?rev=907507&r1=907506&r2=907507&view=diff
==============================================================================
--- incubator/empire-db/trunk/empire-db-codegen/src/main/java/org/apache/empire/db/codegen/CodeGenConfig.java
(original)
+++ incubator/empire-db/trunk/empire-db-codegen/src/main/java/org/apache/empire/db/codegen/CodeGenConfig.java
Sun Feb  7 22:34:02 2010
@@ -404,7 +404,7 @@
 
 	private String fallback(String packageName, String defaultSubpackage){
 		String pkg = packageName;
-		if( packageName == null && this.packageName != null){
+		if( pkg == null && this.packageName != null){
 			pkg = this.packageName + "." + defaultSubpackage;
 		}
 		return pkg;



Mime
View raw message