You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by nt...@apache.org on 2022/11/15 14:50:34 UTC
[cayenne] branch master updated: CAY-2774 Overriding service ordering in DI List causes DIRuntimeException
This is an automated email from the ASF dual-hosted git repository.
ntimofeev pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cayenne.git
The following commit(s) were added to refs/heads/master by this push:
new 72ae13660 CAY-2774 Overriding service ordering in DI List causes DIRuntimeException
72ae13660 is described below
commit 72ae13660e9c99b4b8978bc111317b218424968c
Author: Nikita Timofeev <st...@gmail.com>
AuthorDate: Tue Nov 15 17:50:29 2022 +0300
CAY-2774 Overriding service ordering in DI List causes DIRuntimeException
---
cayenne-di/src/main/java/org/apache/cayenne/di/spi/DIGraph.java | 1 -
1 file changed, 1 deletion(-)
diff --git a/cayenne-di/src/main/java/org/apache/cayenne/di/spi/DIGraph.java b/cayenne-di/src/main/java/org/apache/cayenne/di/spi/DIGraph.java
index 873047506..531ad03c6 100644
--- a/cayenne-di/src/main/java/org/apache/cayenne/di/spi/DIGraph.java
+++ b/cayenne-di/src/main/java/org/apache/cayenne/di/spi/DIGraph.java
@@ -68,7 +68,6 @@ class DIGraph<V> {
public void add(V from, V to) {
this.add(from);
this.add(to);
- neighbors.get(to).remove(from);
neighbors.get(from).add(to);
}