Author: doogie
Date: Thu Jan 14 17:52:29 2010
New Revision: 899329
URL: http://svn.apache.org/viewvc?rev=899329&view=rev
Log:
Remove trailing whitespace from lines.
Modified:
ofbiz/branches/executioncontext20091231/framework/api/src/org/ofbiz/api/authorization/AccessController.java
ofbiz/branches/executioncontext20091231/framework/api/src/org/ofbiz/api/authorization/AdminPermission.java
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/api/src/org/ofbiz/api/context/ArtifactPath.java
ofbiz/branches/executioncontext20091231/framework/api/src/org/ofbiz/api/context/ExecutionArtifact.java
ofbiz/branches/executioncontext20091231/framework/api/src/org/ofbiz/api/context/ExecutionContext.java
ofbiz/branches/executioncontext20091231/framework/api/src/org/ofbiz/api/context/GenericExecutionArtifact.java
ofbiz/branches/executioncontext20091231/framework/api/src/org/ofbiz/api/context/GenericParametersArtifact.java
ofbiz/branches/executioncontext20091231/framework/api/src/org/ofbiz/api/context/ParametersArtifact.java
ofbiz/branches/executioncontext20091231/framework/api/src/org/ofbiz/api/context/ThreadContext.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
ofbiz/branches/executioncontext20091231/framework/context/src/org/ofbiz/context/AuthorizationManagerImpl.java
ofbiz/branches/executioncontext20091231/framework/context/src/org/ofbiz/context/ContextUtil.java
Modified:
ofbiz/branches/executioncontext20091231/framework/api/src/org/ofbiz/api/authorization/AccessController.java
URL:
http://svn.apache.org/viewvc/ofbiz/branches/executioncontext20091231/framework/api/src/org/ofbiz/api/authorization/AccessController.java?rev=899329&r1=899328&r2=899329&view=diff
==============================================================================
---
ofbiz/branches/executioncontext20091231/framework/api/src/org/ofbiz/api/authorization/AccessController.java
(original)
+++
ofbiz/branches/executioncontext20091231/framework/api/src/org/ofbiz/api/authorization/AccessController.java
Thu Jan 14 17:52:29 2010
@@ -37,7 +37,7 @@
* method with the desired permission. If access is granted the
* method returns, otherwise it throws an unchecked exception.
* Higher level code can catch the exception and handle it accordingly.</p>
- *
+ *
* @param permission The permission to check
* @throws AccessControlException
*/
@@ -49,7 +49,7 @@
* than the current one needs to be checked. If access is granted the
* method returns, otherwise it throws an unchecked exception.
* Higher level code can catch the exception and handle it accordingly.</p>
- *
+ *
* @param permission The permission to check
* @throws AccessControlException
*/
@@ -59,7 +59,7 @@
* returned <code>List</code> is security-aware, so methods
* that return an <code>Object</code> will return only the
* objects the user has permission to access.
- *
+ *
* @param list The <code>List</code> to apply filters to
* @return A security-aware <code>List</code> if filters
* were specified for the current artifact, or the original
@@ -71,7 +71,7 @@
* returned <code>ListIterator</code> is security-aware, so methods
* that return an <code>Object</code> will return only the
* objects the user has permission to access.
- *
+ *
* @param list The <code>ListIterator</code> to apply filters to
* @return A security-aware <code>ListIterator</code> if filters
* were specified for the current artifact, or the original
Modified:
ofbiz/branches/executioncontext20091231/framework/api/src/org/ofbiz/api/authorization/AdminPermission.java
URL:
http://svn.apache.org/viewvc/ofbiz/branches/executioncontext20091231/framework/api/src/org/ofbiz/api/authorization/AdminPermission.java?rev=899329&r1=899328&r2=899329&view=diff
==============================================================================
---
ofbiz/branches/executioncontext20091231/framework/api/src/org/ofbiz/api/authorization/AdminPermission.java
(original)
+++
ofbiz/branches/executioncontext20091231/framework/api/src/org/ofbiz/api/authorization/AdminPermission.java
Thu Jan 14 17:52:29 2010
@@ -54,7 +54,7 @@
/** Returns <code>true</code> - the admin permission has
* no restrictions.
- *
+ *
*/
@Override
public boolean implies(Permission permission) {
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=899329&r1=899328&r2=899329&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 17:52:29 2010
@@ -26,11 +26,11 @@
public static final String module =
NullAuthorizationManager.class.getName();
protected final AccessController accessController;
-
+
public NullAuthorizationManager(AccessController accessController) {
this.accessController = accessController;
}
-
+
public void assignGroupPermission(String userGroupId, String artifactId,
Permission permission) {
}
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=899329&r1=899328&r2=899329&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 17:52:29 2010
@@ -45,7 +45,7 @@
this.properties = FastMap.newInstance();
this.verbose =
"true".equals(UtilProperties.getPropertyValue("api.properties",
"executionContext.verbose"));
}
-
+
protected AbstractExecutionContext(Map<String, Object> properties) {
this.properties = properties;
this.verbose =
"true".equals(UtilProperties.getPropertyValue("api.properties",
"executionContext.verbose"));
@@ -131,7 +131,7 @@
ExecutionArtifact artifact = this.artifactStack.removeLast();
if (this.verbose) {
Debug.logInfo("Popping artifact [" + artifact.getClass().getName()
+
- "] location = " + artifact.getLocation() +
+ "] location = " + artifact.getLocation() +
", name = " + artifact.getName(), module);
}
}
@@ -140,7 +140,7 @@
this.artifactStack.addLast(artifact);
if (this.verbose) {
Debug.logInfo("Pushing artifact [" + artifact.getClass().getName()
+
- "] location = " + artifact.getLocation() +
+ "] location = " + artifact.getLocation() +
", name = " + artifact.getName(), module);
}
}
Modified:
ofbiz/branches/executioncontext20091231/framework/api/src/org/ofbiz/api/context/ArtifactPath.java
URL:
http://svn.apache.org/viewvc/ofbiz/branches/executioncontext20091231/framework/api/src/org/ofbiz/api/context/ArtifactPath.java?rev=899329&r1=899328&r2=899329&view=diff
==============================================================================
---
ofbiz/branches/executioncontext20091231/framework/api/src/org/ofbiz/api/context/ArtifactPath.java
(original)
+++
ofbiz/branches/executioncontext20091231/framework/api/src/org/ofbiz/api/context/ArtifactPath.java
Thu Jan 14 17:52:29 2010
@@ -43,7 +43,7 @@
public ArtifactPath(String[] pathElementArray) {
this.pathElementArray = pathElementArray;
}
-
+
public String getCurrentPath() {
if (this.pathElementArray.length == 1 || !this.hasNext()) {
return this.pathElementArray[this.currentIndex];
Modified:
ofbiz/branches/executioncontext20091231/framework/api/src/org/ofbiz/api/context/ExecutionArtifact.java
URL:
http://svn.apache.org/viewvc/ofbiz/branches/executioncontext20091231/framework/api/src/org/ofbiz/api/context/ExecutionArtifact.java?rev=899329&r1=899328&r2=899329&view=diff
==============================================================================
---
ofbiz/branches/executioncontext20091231/framework/api/src/org/ofbiz/api/context/ExecutionArtifact.java
(original)
+++
ofbiz/branches/executioncontext20091231/framework/api/src/org/ofbiz/api/context/ExecutionArtifact.java
Thu Jan 14 17:52:29 2010
@@ -26,14 +26,14 @@
/**
* Returns the location of this artifact.
- *
+ *
* @return Location of this artifact
*/
public String getLocation();
/**
* Returns the name of this artifact.
- *
+ *
* @return Name of this artifact
*/
public String getName();
Modified:
ofbiz/branches/executioncontext20091231/framework/api/src/org/ofbiz/api/context/ExecutionContext.java
URL:
http://svn.apache.org/viewvc/ofbiz/branches/executioncontext20091231/framework/api/src/org/ofbiz/api/context/ExecutionContext.java?rev=899329&r1=899328&r2=899329&view=diff
==============================================================================
---
ofbiz/branches/executioncontext20091231/framework/api/src/org/ofbiz/api/context/ExecutionContext.java
(original)
+++
ofbiz/branches/executioncontext20091231/framework/api/src/org/ofbiz/api/context/ExecutionContext.java
Thu Jan 14 17:52:29 2010
@@ -53,26 +53,26 @@
/** Returns an <code>AccessController</code> instance for this
* user login and execution path combination.
- *
+ *
* @return An <code>AccessController</code> instance
*/
public AccessController getAccessController();
/** Returns the currency unit of measure.
- *
+ *
* @return The ISO currency code
*/
public String getCurrencyUom();
/** Returns the current execution path.
- *
+ *
* @return The current execution path
*/
public ArtifactPath getExecutionPath();
/** Returns the current execution path as a <code>String</code>.
* Path elements are separated with a forward slash.
- *
+ *
* @return The current execution path
*/
public String getExecutionPathAsString();
@@ -80,46 +80,46 @@
/** Returns the current execution path as an array of strings.
* Each array element contains an Artifact name, with the
* first element containing the path root.
- *
+ *
* @return The current execution path as an array
*/
public String[] getExecutionPathAsArray();
/** Returns the current <code>Locale</code>.
- *
+ *
* @return The current <code>Locale</code>
*/
public Locale getLocale();
/**
* Returns the parameters associated with this context.
- *
+ *
* @return The parameters associated with this context
*/
public Map<String, ? extends Object> getParameters();
/** Returns the specified property.
- *
+ *
* @param key property whose associated value is to be returned
- * @return the specified property, or null if the property doesn't exist
+ * @return the specified property, or null if the property doesn't exist
*/
public Object getProperty(String key);
/** Returns the current <code>AuthorizationManager</code> instance.
- *
+ *
* @return The current <code>AuthorizationManager</code> instance
*/
public AuthorizationManager getSecurity();
/** Returns the current <code>TimeZone</code>.
- *
+ *
* @return The current <code>TimeZone</code>
*/
public TimeZone getTimeZone();
/** Initializes this ExecutionContext with artifacts found in
* <code>params</code>.
- *
+ *
* @param params
*/
public void initializeContext(Map<String, ? extends Object> params);
@@ -128,7 +128,7 @@
public void popExecutionArtifact();
/** Push an <code>ExecutionArtifact</code> on the stack.
- *
+ *
* @param artifact
*/
public void pushExecutionArtifact(ExecutionArtifact artifact);
@@ -147,13 +147,13 @@
public void runUnprotected();
/** Sets the currency unit of measure.
- *
+ *
* @param currencyUom The ISO currency code
*/
public void setCurrencyUom(String currencyUom);
/** Sets the current <code>Locale</code>.
- *
+ *
* @param locale The current <code>Locale</code>
*/
public void setLocale(Locale locale);
@@ -161,7 +161,7 @@
/** Associates the specified value with the specified key.
* If the context contained a previous property for this key,
* then the old value is replaced by the specified value.
- *
+ *
* @param key the key with which the specified value is to be associated
* @param value the value to be associated with the specified key
* @return the previous value associated with specified key, or null if
there was no mapping for key
@@ -169,13 +169,13 @@
public Object setProperty(String key, Object value);
/** Sets the current <code>AuthorizationManager</code> instance.
- *
+ *
* @param security The new <code>AuthorizationManager</code> instance
*/
public void setSecurity(AuthorizationManager security);
/** Sets the current <code>TimeZone</code>.
- *
+ *
* @param timeZone The current <code>TimeZone</code>
*/
public void setTimeZone(TimeZone timeZone);
Modified:
ofbiz/branches/executioncontext20091231/framework/api/src/org/ofbiz/api/context/GenericExecutionArtifact.java
URL:
http://svn.apache.org/viewvc/ofbiz/branches/executioncontext20091231/framework/api/src/org/ofbiz/api/context/GenericExecutionArtifact.java?rev=899329&r1=899328&r2=899329&view=diff
==============================================================================
---
ofbiz/branches/executioncontext20091231/framework/api/src/org/ofbiz/api/context/GenericExecutionArtifact.java
(original)
+++
ofbiz/branches/executioncontext20091231/framework/api/src/org/ofbiz/api/context/GenericExecutionArtifact.java
Thu Jan 14 17:52:29 2010
@@ -20,7 +20,7 @@
/** A basic implementation of the <code>ExecutionArtifact</code> interface. */
public class GenericExecutionArtifact implements ExecutionArtifact {
-
+
protected final String location;
protected final String name;
Modified:
ofbiz/branches/executioncontext20091231/framework/api/src/org/ofbiz/api/context/GenericParametersArtifact.java
URL:
http://svn.apache.org/viewvc/ofbiz/branches/executioncontext20091231/framework/api/src/org/ofbiz/api/context/GenericParametersArtifact.java?rev=899329&r1=899328&r2=899329&view=diff
==============================================================================
---
ofbiz/branches/executioncontext20091231/framework/api/src/org/ofbiz/api/context/GenericParametersArtifact.java
(original)
+++
ofbiz/branches/executioncontext20091231/framework/api/src/org/ofbiz/api/context/GenericParametersArtifact.java
Thu Jan 14 17:52:29 2010
@@ -22,7 +22,7 @@
/** A basic implementation of the ParametersArtifact interface. */
public class GenericParametersArtifact extends GenericExecutionArtifact
implements ParametersArtifact {
-
+
protected final Map<String, ? extends Object> parameters;
public GenericParametersArtifact(String location, String name, Map<String,
? extends Object> parameters) {
Modified:
ofbiz/branches/executioncontext20091231/framework/api/src/org/ofbiz/api/context/ParametersArtifact.java
URL:
http://svn.apache.org/viewvc/ofbiz/branches/executioncontext20091231/framework/api/src/org/ofbiz/api/context/ParametersArtifact.java?rev=899329&r1=899328&r2=899329&view=diff
==============================================================================
---
ofbiz/branches/executioncontext20091231/framework/api/src/org/ofbiz/api/context/ParametersArtifact.java
(original)
+++
ofbiz/branches/executioncontext20091231/framework/api/src/org/ofbiz/api/context/ParametersArtifact.java
Thu Jan 14 17:52:29 2010
@@ -37,10 +37,10 @@
* starting at the top of the stack, and return that instance.</p>
*/
public interface ParametersArtifact extends ExecutionArtifact {
-
+
/**
* Returns the parameters associated with this artifact.
- *
+ *
* @return The parameters associated with this artifact
*/
public Map<String, ? extends Object> getParameters();
Modified:
ofbiz/branches/executioncontext20091231/framework/api/src/org/ofbiz/api/context/ThreadContext.java
URL:
http://svn.apache.org/viewvc/ofbiz/branches/executioncontext20091231/framework/api/src/org/ofbiz/api/context/ThreadContext.java?rev=899329&r1=899328&r2=899329&view=diff
==============================================================================
---
ofbiz/branches/executioncontext20091231/framework/api/src/org/ofbiz/api/context/ThreadContext.java
(original)
+++
ofbiz/branches/executioncontext20091231/framework/api/src/org/ofbiz/api/context/ThreadContext.java
Thu Jan 14 17:52:29 2010
@@ -27,7 +27,7 @@
import org.ofbiz.api.authorization.AuthorizationManager;
/** A convenience class for accessing the current thread's
<code>ExecutionContext</code>.
- * @see {...@link org.ofbiz.service.ExecutionContext}
+ * @see {...@link org.ofbiz.service.ExecutionContext}
*/
public class ThreadContext {
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=899329&r1=899328&r2=899329&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 17:52:29 2010
@@ -68,13 +68,13 @@
/** Applies permission filters to a <code>List</code>. The
* returned <code>List</code> will contain only the objects
* the user has permission to access.
- *
+ *
* <p>This implementation invokes the specified service
* with the list as a parameter called <code>candidateList</code>.
* The service must return a <code>List</code> called
* <code>candidateList</code>. The service returns only
* those list elements the user is permitted to access.</p>
- *
+ *
* @param list The <code>List</code> to apply filters to
* @return A security-aware <code>List</code> if filters
* were specified for the current artifact, or the original
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=899329&r1=899328&r2=899329&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 17:52:29 2010
@@ -64,7 +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): " +
+ 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=899329&r1=899328&r2=899329&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 17:52:29 2010
@@ -61,7 +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): " +
+ Debug.logInfo("Found permission(s): " +
"access-granted-controller@" + artifactPath +
"[admin=true]", module);
}
}
Modified:
ofbiz/branches/executioncontext20091231/framework/context/src/org/ofbiz/context/AuthorizationManagerImpl.java
URL:
http://svn.apache.org/viewvc/ofbiz/branches/executioncontext20091231/framework/context/src/org/ofbiz/context/AuthorizationManagerImpl.java?rev=899329&r1=899328&r2=899329&view=diff
==============================================================================
---
ofbiz/branches/executioncontext20091231/framework/context/src/org/ofbiz/context/AuthorizationManagerImpl.java
(original)
+++
ofbiz/branches/executioncontext20091231/framework/context/src/org/ofbiz/context/AuthorizationManagerImpl.java
Thu Jan 14 17:52:29 2010
@@ -150,23 +150,23 @@
@Override
public void assignGroupPermission(String userGroupId, String artifactId,
Permission permission) throws AuthorizationManagerException {
// TODO Auto-generated method stub
-
+
}
@Override
public void assignGroupToGroup(String childGroupId, String parentGroupId)
throws AuthorizationManagerException {
// TODO Auto-generated method stub
-
+
}
@Override
public void assignUserPermission(String userLoginId, String artifactId,
Permission permission) throws AuthorizationManagerException {
// TODO Auto-generated method stub
-
+
}
@Override
public void assignUserToGroup(String userLoginId, String userGroupId)
throws AuthorizationManagerException {
// TODO Auto-generated method stub
-
+
}
@Override
public void clearUserData(GenericValue userLogin) {
@@ -176,7 +176,7 @@
@Override
public void createUser(String userLoginId, String password) throws
AuthorizationManagerException {
// TODO Auto-generated method stub
-
+
}
@Override
public String createUserGroup(String description) throws
AuthorizationManagerException {
@@ -186,32 +186,32 @@
@Override
public void deleteGroupFromGroup(String childGroupId, String
parentGroupId) throws AuthorizationManagerException {
// TODO Auto-generated method stub
-
+
}
@Override
public void deleteGroupPermission(String userGroupId, String artifactId,
Permission permission) throws AuthorizationManagerException {
// TODO Auto-generated method stub
-
+
}
@Override
public void deleteUser(String userLoginId) throws
AuthorizationManagerException {
// TODO Auto-generated method stub
-
+
}
@Override
public void deleteUserFromGroup(String userLoginId, String userGroupId)
throws AuthorizationManagerException {
// TODO Auto-generated method stub
-
+
}
@Override
public void deleteUserGroup(String userGroupId) throws
AuthorizationManagerException {
// TODO Auto-generated method stub
-
+
}
@Override
public void deleteUserPermission(String userLoginId, String artifactId,
Permission permission) throws AuthorizationManagerException {
// TODO Auto-generated method stub
-
+
}
@Override
@@ -223,12 +223,12 @@
@Override
public void updateUser(String userLoginId, String password) throws
AuthorizationManagerException {
// TODO Auto-generated method stub
-
+
}
@Override
public void updateUserGroup(String userGroupId, String description) throws
AuthorizationManagerException {
// TODO Auto-generated method stub
-
+
}
}
Modified:
ofbiz/branches/executioncontext20091231/framework/context/src/org/ofbiz/context/ContextUtil.java
URL:
http://svn.apache.org/viewvc/ofbiz/branches/executioncontext20091231/framework/context/src/org/ofbiz/context/ContextUtil.java?rev=899329&r1=899328&r2=899329&view=diff
==============================================================================
---
ofbiz/branches/executioncontext20091231/framework/context/src/org/ofbiz/context/ContextUtil.java
(original)
+++
ofbiz/branches/executioncontext20091231/framework/context/src/org/ofbiz/context/ContextUtil.java
Thu Jan 14 17:52:29 2010
@@ -32,7 +32,7 @@
import org.ofbiz.base.component.ComponentConfig.WebappInfo;
/**
- * ExecutionContext utility methods.
+ * ExecutionContext utility methods.
*
*/
public class ContextUtil {