Author: mrisaliti
Date: Tue Feb 8 20:31:43 2011
New Revision: 1068557
URL:
http://svn.apache.org/viewvc?rev=1068557&view=revLog:
Remove an unused variable/import in ModelPermission (OFBIZ-4102)
Modified:
ofbiz/trunk/framework/service/src/org/ofbiz/service/ModelPermission.java
Modified: ofbiz/trunk/framework/service/src/org/ofbiz/service/ModelPermission.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/service/src/org/ofbiz/service/ModelPermission.java?rev=1068557&r1=1068556&r2=1068557&view=diff==============================================================================
--- ofbiz/trunk/framework/service/src/org/ofbiz/service/ModelPermission.java (original)
+++ ofbiz/trunk/framework/service/src/org/ofbiz/service/ModelPermission.java Tue Feb 8 20:31:43 2011
@@ -24,7 +24,6 @@ import java.util.Map;
import org.ofbiz.base.util.Debug;
import org.ofbiz.base.util.UtilValidate;
-import org.ofbiz.entity.Delegator;
import org.ofbiz.entity.GenericValue;
import org.ofbiz.entity.util.EntityUtil;
import org.ofbiz.security.Security;
@@ -33,6 +32,7 @@ import org.ofbiz.security.authz.Authoriz
/**
* Service Permission Model Class
*/
+@SuppressWarnings("serial")
public class ModelPermission implements Serializable {
public static final String module = ModelPermission.class.getName();
@@ -98,7 +98,6 @@ public class ModelPermission implements
Debug.logWarning("Null role type name passed for evaluation", module);
return false;
}
- Delegator delegator = userLogin.getDelegator();
List<GenericValue> partyRoles = null;
/** (jaz) THIS IS NOT SECURE AT ALL
try {