svn commit: r899347 - in /ofbiz/branches/executioncontext20091231/framework: api/src/org/ofbiz/api/authorization/ api/src/org/ofbiz/api/context/ context/src/org/ofbiz/context/

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r899347 - in /ofbiz/branches/executioncontext20091231/framework: api/src/org/ofbiz/api/authorization/ api/src/org/ofbiz/api/context/ context/src/org/ofbiz/context/

doogie-3
Author: doogie
Date: Thu Jan 14 18:37:28 2010
New Revision: 899347

URL: http://svn.apache.org/viewvc?rev=899347&view=rev
Log:
Don't break long lines, similiar to the rest of ofbiz.

Modified:
    ofbiz/branches/executioncontext20091231/framework/api/src/org/ofbiz/api/authorization/NullAuthorizationManager.java
    ofbiz/branches/executioncontext20091231/framework/api/src/org/ofbiz/api/context/AbstractExecutionContext.java
    ofbiz/branches/executioncontext20091231/framework/context/src/org/ofbiz/context/AccessControllerImpl.java
    ofbiz/branches/executioncontext20091231/framework/context/src/org/ofbiz/context/AccessDeniedController.java
    ofbiz/branches/executioncontext20091231/framework/context/src/org/ofbiz/context/AccessGrantedController.java

Modified: ofbiz/branches/executioncontext20091231/framework/api/src/org/ofbiz/api/authorization/NullAuthorizationManager.java
URL: http://svn.apache.org/viewvc/ofbiz/branches/executioncontext20091231/framework/api/src/org/ofbiz/api/authorization/NullAuthorizationManager.java?rev=899347&r1=899346&r2=899347&view=diff
==============================================================================
--- ofbiz/branches/executioncontext20091231/framework/api/src/org/ofbiz/api/authorization/NullAuthorizationManager.java (original)
+++ ofbiz/branches/executioncontext20091231/framework/api/src/org/ofbiz/api/authorization/NullAuthorizationManager.java Thu Jan 14 18:37:28 2010
@@ -31,15 +31,13 @@
         this.accessController = accessController;
     }
 
-    public void assignGroupPermission(String userGroupId, String artifactId,
-            Permission permission) {
+    public void assignGroupPermission(String userGroupId, String artifactId, Permission permission) {
     }
 
     public void assignGroupToGroup(String childGroupId, String parentGroupId) {
     }
 
-    public void assignUserPermission(String userLoginId, String artifactId,
-            Permission permission) {
+    public void assignUserPermission(String userLoginId, String artifactId, Permission permission) {
     }
 
     public void assignUserToGroup(String userLoginId, String userGroupId) {
@@ -55,8 +53,7 @@
     public void deleteGroupFromGroup(String childGroupId, String parentGroupId) {
     }
 
-    public void deleteGroupPermission(String userGroupId, String artifactId,
-            Permission permission) {
+    public void deleteGroupPermission(String userGroupId, String artifactId, Permission permission) {
     }
 
     public void deleteUser(String userLoginId) {
@@ -68,8 +65,7 @@
     public void deleteUserGroup(String userGroupId) {
     }
 
-    public void deleteUserPermission(String userLoginId, String artifactId,
-            Permission permission) {
+    public void deleteUserPermission(String userLoginId, String artifactId, Permission permission) {
     }
 
     public void updateUser(String userLoginId, String password) {

Modified: ofbiz/branches/executioncontext20091231/framework/api/src/org/ofbiz/api/context/AbstractExecutionContext.java
URL: http://svn.apache.org/viewvc/ofbiz/branches/executioncontext20091231/framework/api/src/org/ofbiz/api/context/AbstractExecutionContext.java?rev=899347&r1=899346&r2=899347&view=diff
==============================================================================
--- ofbiz/branches/executioncontext20091231/framework/api/src/org/ofbiz/api/context/AbstractExecutionContext.java (original)
+++ ofbiz/branches/executioncontext20091231/framework/api/src/org/ofbiz/api/context/AbstractExecutionContext.java Thu Jan 14 18:37:28 2010
@@ -130,18 +130,14 @@
         }
         ExecutionArtifact artifact = this.artifactStack.removeLast();
         if (this.verbose) {
-            Debug.logInfo("Popping artifact [" + artifact.getClass().getName() +
-                    "] location = " + artifact.getLocation() +
-                    ", name = " + artifact.getName(), module);
+            Debug.logInfo("Popping artifact [" + artifact.getClass().getName() + "] location = " + artifact.getLocation() + ", name = " + artifact.getName(), module);
         }
     }
 
     public void pushExecutionArtifact(ExecutionArtifact artifact) {
         this.artifactStack.addLast(artifact);
         if (this.verbose) {
-            Debug.logInfo("Pushing artifact [" + artifact.getClass().getName() +
-                    "] location = " + artifact.getLocation() +
-                    ", name = " + artifact.getName(), module);
+            Debug.logInfo("Pushing artifact [" + artifact.getClass().getName() + "] location = " + artifact.getLocation() + ", name = " + artifact.getName(), module);
         }
     }
 

Modified: ofbiz/branches/executioncontext20091231/framework/context/src/org/ofbiz/context/AccessControllerImpl.java
URL: http://svn.apache.org/viewvc/ofbiz/branches/executioncontext20091231/framework/context/src/org/ofbiz/context/AccessControllerImpl.java?rev=899347&r1=899346&r2=899347&view=diff
==============================================================================
--- ofbiz/branches/executioncontext20091231/framework/context/src/org/ofbiz/context/AccessControllerImpl.java (original)
+++ ofbiz/branches/executioncontext20091231/framework/context/src/org/ofbiz/context/AccessControllerImpl.java Thu Jan 14 18:37:28 2010
@@ -146,8 +146,7 @@
         PermissionsGatherer permissionsGatherer = new PermissionsGatherer(this.node, gatheredPermissions);
         permissionsGatherer.gatherPermissions(artifactPath);
         if (this.verbose) {
-            Debug.logInfo("Found permission(s): " + ThreadContext.getUserLogin().getString("userLoginId") +
-                    "@" + artifactPath + "[" + gatheredPermissions + "]", module);
+            Debug.logInfo("Found permission(s): " + ThreadContext.getUserLogin().getString("userLoginId") + "@" + artifactPath + "[" + gatheredPermissions + "]", module);
         }
         if (this.disabled) {
             return;
@@ -158,8 +157,7 @@
         if (securityAuditEnabled()) {
             AuthorizationManagerImpl.logIncident(permission);
         }
-        throw new AccessControlException(ThreadContext.getUserLogin().getString("userLoginId") +
-                "@" + artifactPath + "[" + permission + "]");
+        throw new AccessControlException(ThreadContext.getUserLogin().getString("userLoginId") + "@" + artifactPath + "[" + permission + "]");
     }
 
     protected boolean hasServicePermission(OFBizPermission permission) {

Modified: ofbiz/branches/executioncontext20091231/framework/context/src/org/ofbiz/context/AccessDeniedController.java
URL: http://svn.apache.org/viewvc/ofbiz/branches/executioncontext20091231/framework/context/src/org/ofbiz/context/AccessDeniedController.java?rev=899347&r1=899346&r2=899347&view=diff
==============================================================================
--- ofbiz/branches/executioncontext20091231/framework/context/src/org/ofbiz/context/AccessDeniedController.java (original)
+++ ofbiz/branches/executioncontext20091231/framework/context/src/org/ofbiz/context/AccessDeniedController.java Thu Jan 14 18:37:28 2010
@@ -64,8 +64,7 @@
     public void checkPermission(Permission permission, ArtifactPath artifactPath) throws AccessControlException {
         if (this.verbose) {
             Debug.logInfo("Checking permission: " + artifactPath + "[" + permission + "]", module);
-            Debug.logInfo("Found permission(s): " +
-                    "access-denied-controller@" + artifactPath + "[]", module);
+            Debug.logInfo("Found permission(s): " + "access-denied-controller@" + artifactPath + "[]", module);
         }
         throw new AccessControlException(null, permission);
     }

Modified: ofbiz/branches/executioncontext20091231/framework/context/src/org/ofbiz/context/AccessGrantedController.java
URL: http://svn.apache.org/viewvc/ofbiz/branches/executioncontext20091231/framework/context/src/org/ofbiz/context/AccessGrantedController.java?rev=899347&r1=899346&r2=899347&view=diff
==============================================================================
--- ofbiz/branches/executioncontext20091231/framework/context/src/org/ofbiz/context/AccessGrantedController.java (original)
+++ ofbiz/branches/executioncontext20091231/framework/context/src/org/ofbiz/context/AccessGrantedController.java Thu Jan 14 18:37:28 2010
@@ -61,8 +61,7 @@
     public void checkPermission(Permission permission, ArtifactPath artifactPath) throws AccessControlException {
         if (this.verbose) {
             Debug.logInfo("Checking permission: " + artifactPath + "[" + permission + "]", module);
-            Debug.logInfo("Found permission(s): " +
-                    "access-granted-controller@" + artifactPath + "[admin=true]", module);
+            Debug.logInfo("Found permission(s): " + "access-granted-controller@" + artifactPath + "[admin=true]", module);
         }
     }
 }