rave-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ja...@apache.org
Subject svn commit: r1158243 - in /incubator/rave/trunk/rave-portal/src/main/java/org/apache/rave/portal/web/validator: NewAccountValidator.java UserProfileValidator.java
Date Tue, 16 Aug 2011 12:49:29 GMT
Author: jasha
Date: Tue Aug 16 12:49:29 2011
New Revision: 1158243

URL: http://svn.apache.org/viewvc?rev=1158243&view=rev
Log:
Sonar recommendation: loggers should be private, not protected

Modified:
    incubator/rave/trunk/rave-portal/src/main/java/org/apache/rave/portal/web/validator/NewAccountValidator.java
    incubator/rave/trunk/rave-portal/src/main/java/org/apache/rave/portal/web/validator/UserProfileValidator.java

Modified: incubator/rave/trunk/rave-portal/src/main/java/org/apache/rave/portal/web/validator/NewAccountValidator.java
URL: http://svn.apache.org/viewvc/incubator/rave/trunk/rave-portal/src/main/java/org/apache/rave/portal/web/validator/NewAccountValidator.java?rev=1158243&r1=1158242&r2=1158243&view=diff
==============================================================================
--- incubator/rave/trunk/rave-portal/src/main/java/org/apache/rave/portal/web/validator/NewAccountValidator.java
(original)
+++ incubator/rave/trunk/rave-portal/src/main/java/org/apache/rave/portal/web/validator/NewAccountValidator.java
Tue Aug 16 12:49:29 2011
@@ -31,7 +31,7 @@ import org.springframework.validation.Va
 
 public class NewAccountValidator implements Validator {
 
-    protected final Logger logger = LoggerFactory.getLogger(getClass());
+    private final Logger logger = LoggerFactory.getLogger(getClass());
 
     private UserService userService;
 

Modified: incubator/rave/trunk/rave-portal/src/main/java/org/apache/rave/portal/web/validator/UserProfileValidator.java
URL: http://svn.apache.org/viewvc/incubator/rave/trunk/rave-portal/src/main/java/org/apache/rave/portal/web/validator/UserProfileValidator.java?rev=1158243&r1=1158242&r2=1158243&view=diff
==============================================================================
--- incubator/rave/trunk/rave-portal/src/main/java/org/apache/rave/portal/web/validator/UserProfileValidator.java
(original)
+++ incubator/rave/trunk/rave-portal/src/main/java/org/apache/rave/portal/web/validator/UserProfileValidator.java
Tue Aug 16 12:49:29 2011
@@ -31,7 +31,7 @@ import org.springframework.validation.Va
 
 public class UserProfileValidator implements Validator {
 
-    protected final Logger logger = LoggerFactory.getLogger(getClass());
+    private final Logger logger = LoggerFactory.getLogger(getClass());
 
     private UserService userService;
 



Mime
View raw message