portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From woon...@apache.org
Subject svn commit: r771232 - /portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/security/JetspeedPrincipalManagementPortlet.java
Date Mon, 04 May 2009 08:12:44 GMT
Author: woonsan
Date: Mon May  4 08:12:44 2009
New Revision: 771232

URL: http://svn.apache.org/viewvc?rev=771232&view=rev
Log:
Fixing logger initialization. (NPE when exception)

Modified:
    portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/security/JetspeedPrincipalManagementPortlet.java

Modified: portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/security/JetspeedPrincipalManagementPortlet.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/security/JetspeedPrincipalManagementPortlet.java?rev=771232&r1=771231&r2=771232&view=diff
==============================================================================
--- portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/security/JetspeedPrincipalManagementPortlet.java
(original)
+++ portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/security/JetspeedPrincipalManagementPortlet.java
Mon May  4 08:12:44 2009
@@ -85,6 +85,7 @@
 import org.apache.wicket.validation.IValidatable;
 import org.apache.wicket.validation.validator.AbstractValidator;
 import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 /**
  * @author vkumar <a href="vkumar@apache.org">Vivek Kumar</a>
@@ -92,7 +93,7 @@
 public class JetspeedPrincipalManagementPortlet extends AdminPortletWebPage
 {
 
-    private Logger log;
+    private Logger log = LoggerFactory.getLogger(JetspeedPrincipalManagementPortlet.class);
 
     private static final String principalParamName = "principalParam";
 



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message