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:
Jacques Le Roux
2019-10-18 11:44:29 +00:00
parent 1c1daf855a
commit 6db4ffdbcd
2 changed files with 3 additions and 88 deletions
@@ -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;