jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fschumac...@apache.org
Subject svn commit: r1795057 - /jmeter/trunk/src/jorphan/org/apache/jorphan/reflect/ClassFinder.java
Date Sat, 13 May 2017 12:15:37 GMT
Author: fschumacher
Date: Sat May 13 12:15:37 2017
New Revision: 1795057

URL: http://svn.apache.org/viewvc?rev=1795057&view=rev
Log:
No need to initialize to null, as it will be re-assigned anyway.

Modified:
    jmeter/trunk/src/jorphan/org/apache/jorphan/reflect/ClassFinder.java

Modified: jmeter/trunk/src/jorphan/org/apache/jorphan/reflect/ClassFinder.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/jorphan/org/apache/jorphan/reflect/ClassFinder.java?rev=1795057&r1=1795056&r2=1795057&view=diff
==============================================================================
--- jmeter/trunk/src/jorphan/org/apache/jorphan/reflect/ClassFinder.java (original)
+++ jmeter/trunk/src/jorphan/org/apache/jorphan/reflect/ClassFinder.java Sat May 13 12:15:37
2017
@@ -247,7 +247,7 @@ public final class ClassFinder {
         }
 
         
-        ClassFilter filter = null;
+        ClassFilter filter;
         if(annotations) {
             @SuppressWarnings("unchecked") // Should only be called with classes that extend
annotations
             final Class<? extends Annotation>[] annoclassNames = (Class<? extends
Annotation>[]) classNames;



Mime
View raw message