[Yanel-commits] rev 34779 - public/yanel/trunk/src/contributions/resources/policymanager/src/java/org/wyona/yanel/impl/resources/policymanager

simon at wyona.com simon at wyona.com
Thu Apr 3 17:33:09 CEST 2008


Author: simon
Date: 2008-04-03 17:33:09 +0200 (Thu, 03 Apr 2008)
New Revision: 34779

Modified:
   public/yanel/trunk/src/contributions/resources/policymanager/src/java/org/wyona/yanel/impl/resources/policymanager/PolicyManagerResource.java
Log:
removed obsolete import
fixed class in logger
formating fixed

Modified: public/yanel/trunk/src/contributions/resources/policymanager/src/java/org/wyona/yanel/impl/resources/policymanager/PolicyManagerResource.java
===================================================================
--- public/yanel/trunk/src/contributions/resources/policymanager/src/java/org/wyona/yanel/impl/resources/policymanager/PolicyManagerResource.java	2008-04-03 15:33:08 UTC (rev 34778)
+++ public/yanel/trunk/src/contributions/resources/policymanager/src/java/org/wyona/yanel/impl/resources/policymanager/PolicyManagerResource.java	2008-04-03 15:33:09 UTC (rev 34779)
@@ -10,7 +10,6 @@
 import org.wyona.security.core.api.User;
 import org.wyona.yanel.core.Resource;
 import org.wyona.yanel.impl.resources.BasicXMLResource;
-import org.wyona.yanel.impl.resources.policymanager.PolicyViewer;
 
 import java.io.ByteArrayInputStream;
 import java.io.InputStream;
@@ -24,7 +23,7 @@
  */
 public class PolicyManagerResource extends BasicXMLResource {
     
-    private static Logger log = Logger.getLogger(PolicyManager.class);
+    private static Logger log = Logger.getLogger(PolicyManagerResource.class);
     
     private static String PARAMETER_EDIT_PATH = "policy-path";
     private static String PARAMETER_USECASE = "yanel.policy";
@@ -44,7 +43,7 @@
         }
         // For example ?yanel.policy=read
         String policyUsecase = "read";
-	if (request.getParameter(PARAMETER_USECASE) != null) {
+	    if (request.getParameter(PARAMETER_USECASE) != null) {
             policyUsecase = request.getParameter(PARAMETER_USECASE);
         }
         



More information about the Yanel-commits mailing list