onami-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From as...@apache.org
Subject svn commit: r1610117 - /onami/trunk/autobind/configuration/src/main/java/org/apache/onami/autobind/configuration/StartupModule.java
Date Sun, 13 Jul 2014 06:08:08 GMT
Author: ash2k
Date: Sun Jul 13 06:08:07 2014
New Revision: 1610117

URL: http://svn.apache.org/r1610117
Log:
Idea inspection: redundant conditional expression

No functional changes

Modified:
    onami/trunk/autobind/configuration/src/main/java/org/apache/onami/autobind/configuration/StartupModule.java

Modified: onami/trunk/autobind/configuration/src/main/java/org/apache/onami/autobind/configuration/StartupModule.java
URL: http://svn.apache.org/viewvc/onami/trunk/autobind/configuration/src/main/java/org/apache/onami/autobind/configuration/StartupModule.java?rev=1610117&r1=1610116&r2=1610117&view=diff
==============================================================================
--- onami/trunk/autobind/configuration/src/main/java/org/apache/onami/autobind/configuration/StartupModule.java
(original)
+++ onami/trunk/autobind/configuration/src/main/java/org/apache/onami/autobind/configuration/StartupModule.java
Sun Jul 13 06:08:07 2014
@@ -81,8 +81,7 @@ public abstract class StartupModule exte
 
 	protected boolean bindStartupConfiguration = true;
 
-	protected boolean verbose = (getProperty("org.apache.onami.autobind.verbose") != null ?
true
-			: false);
+	protected boolean verbose = getProperty("org.apache.onami.autobind.verbose") != null;
 
 	public StartupModule(Class<? extends ClasspathScanner> scanner,
 			PackageFilter... filter) {



Mime
View raw message