Improved: Add missing ‘static’ modifier for private methods

(OFBIZ-11098)

In order to make it clear when a method is not depending on the
internal state of an object, it is a good practice to declare it as
static.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1860937 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mathieu Lirzin
2019-06-10 12:27:40 +00:00
parent 08f0b84462
commit ffe2e7ffdf
42 changed files with 162 additions and 154 deletions
@@ -42,7 +42,7 @@ public class PerformFindTests extends OFBizTestCase {
super(name);
}
private List<GenericValue> getCompleteList(Map<String, Object> context) {
private static List<GenericValue> getCompleteList(Map<String, Object> context) {
List<GenericValue> foundElements = new LinkedList<>();
try (EntityListIterator listIt = (EntityListIterator) context.get("listIt")) {
if (listIt != null) {