]> git.mxchange.org Git - jcoreee.git/commitdiff
Yes, local variables that won't change can be made final.
authorRoland Haeder <roland@mxchange.org>
Sat, 5 Sep 2015 13:08:45 +0000 (15:08 +0200)
committerRoland Haeder <roland@mxchange.org>
Sat, 5 Sep 2015 13:08:45 +0000 (15:08 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

src/org/mxchange/jcoreee/validator/BaseObjectValidator.java

index 6630944ede628c72192310cf10ecfc301077811f..ca021aa62a6feff804be33f1987e0722f10fd665 100644 (file)
@@ -81,7 +81,7 @@ public abstract class BaseObjectValidator extends BaseFrameworkSystem implements
                String errKey = "error.unknown_id"; //NOI18N
 
                // Get client id
-               String clientId = component.getClientId();
+               final String clientId = component.getClientId();
 
                // Default is no field is valid
                boolean isValidField = false;