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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user