Change method names to make them easier to understand

This commit is contained in:
Ben Bosman
2019-09-09 14:44:43 +02:00
parent e8662d7e2a
commit 46e86326b8

View File

@@ -165,11 +165,13 @@ public class RelationshipMetadataServiceImpl implements RelationshipMetadataServ
wardLabel)); wardLabel));
} else { } else {
resultingMetadataValueList.addAll( resultingMetadataValueList.addAll(
handleVirtualBeanValues(context, item, otherItem, relationship, place, key, virtualBean)); findRelationshipMetadataValueFromBean(context, item, otherItem, relationship, place, key,
virtualBean));
} }
} else { } else {
resultingMetadataValueList.addAll( resultingMetadataValueList.addAll(
handleVirtualBeanValues(context, item, otherItem, relationship, place, key, virtualBean)); findRelationshipMetadataValueFromBean(context, item, otherItem, relationship, place, key,
virtualBean));
} }
} }
return resultingMetadataValueList; return resultingMetadataValueList;
@@ -191,7 +193,7 @@ public class RelationshipMetadataServiceImpl implements RelationshipMetadataServ
* between both items * between both items
* @return The list of virtual metadata values * @return The list of virtual metadata values
*/ */
private List<RelationshipMetadataValue> handleVirtualBeanValues( private List<RelationshipMetadataValue> findRelationshipMetadataValueFromBean(
Context context, Item item, Item otherItem, Relationship relationship, int place, Context context, Item item, Item otherItem, Relationship relationship, int place,
String key, VirtualMetadataConfiguration virtualBean) throws SQLException { String key, VirtualMetadataConfiguration virtualBean) throws SQLException {
List<RelationshipMetadataValue> resultingMetadataValueList = new LinkedList<>(); List<RelationshipMetadataValue> resultingMetadataValueList = new LinkedList<>();