We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b09136 commit 42a96e1Copy full SHA for 42a96e1
src/main/java/com/arangodb/entity/EdgeDefinitionsEntity.java
@@ -79,7 +79,7 @@ public void addEdgeDefinition(EdgeDefinitionEntity edgeDefinition) {
79
*/
80
public EdgeDefinitionEntity getEdgeDefinition(String collectionName) {
81
for (EdgeDefinitionEntity edgeDefintion : this.edgeDefinitions) {
82
- if (edgeDefintion.getCollection() == collectionName) {
+ if (edgeDefintion.getCollection().equals(collectionName)) {
83
return edgeDefintion;
84
}
85
0 commit comments