- // Make sure the props are non-null
- if (props == null) {
- props = new HashSet<Property>();
- } else {
- props = new HashSet<Property>(props);
- }
-
- //in case of node switch-over to a different cluster controller,
- //let's retain edge props
- Set<Property> currentProps = this.edgesDB.get(e);
- if (currentProps != null){
- props.addAll(currentProps);
- }
-