We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85dd2eb commit cc47bf3Copy full SHA for cc47bf3
src/main/java/com/arangodb/entity/EdgeDefinitionsEntity.java
@@ -77,7 +77,7 @@ public void addEdgeDefinition(EdgeDefinitionEntity edgeDefinition) {
77
*/
78
public EdgeDefinitionEntity getEdgeDefinition(String collectionName) {
79
for (EdgeDefinitionEntity edgeDefintion : this.edgeDefinitions) {
80
- if (edgeDefintion.getCollection() == collectionName) {
+ if (edgeDefintion.getCollection().equals(collectionName)) {
81
return edgeDefintion;
82
}
83
0 commit comments