Improved: Remove unused methods related to properties in UtilProperties and
EntityUtilProperties (OFBIZ-11254) While removing the POS I forgot to remove specific methods I added in UtilProperties: setPropertyValue(*,*,*) and setPropertyValueInMemory. I finally found that setPropertyValueInMemory is used in one test and so maybe usefull. setPropertyValue(*,*,*) is unused and can be safemy removed. It's also called from EntityUtilProperties so should also be removed there. This removes it, and also slightly formats EntityUtilProperties::setPropertyValueInMemory git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1868589 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
+3
-7
@@ -246,13 +246,9 @@ public final class EntityUtilProperties implements Serializable {
|
||||
return UtilProperties.getSplitPropertyValue(url, name);
|
||||
}
|
||||
|
||||
public static void setPropertyValue(String resource, String name, String value) {
|
||||
UtilProperties.setPropertyValue(resource, name, value);
|
||||
}
|
||||
|
||||
public static void setPropertyValueInMemory(String resource, String name, String value) {
|
||||
UtilProperties.setPropertyValueInMemory(resource, name, value);
|
||||
}
|
||||
public static void setPropertyValueInMemory(String resource, String name, String value) {
|
||||
UtilProperties.setPropertyValueInMemory(resource, name, value);
|
||||
}
|
||||
|
||||
public static String setPropertyValue(Delegator delegator, String resourceName, String name, String value) {
|
||||
GenericValue gv = null;
|
||||
|
||||
Reference in New Issue
Block a user