commit | 76a3d675ed3321b0a7474a380a2147c4c5730c53 | [log] [tgz] |
---|---|---|
author | wu <wu.shaoyong@zte.com.cn> | Tue Apr 11 14:06:44 2017 +0800 |
committer | Ray Milkey <ray@onlab.us> | Tue Apr 11 15:22:31 2017 +0000 |
tree | 766358267b40db41a81575e68efcfcc54e495e1a | |
parent | ca2f369cb26e615d17a5f3f4dc2345d2d9db987f [diff] |
ONOS-6265 fixes the issue: intentManager.unregisterCompiler error Change-Id: Ic75d1537a7330967a07fd602f9522e447b869ce9
diff --git a/core/net/src/main/java/org/onosproject/net/intent/impl/compiler/MultiPointToSinglePointIntentCompiler.java b/core/net/src/main/java/org/onosproject/net/intent/impl/compiler/MultiPointToSinglePointIntentCompiler.java index 7e6cf3d..55990fd 100644 --- a/core/net/src/main/java/org/onosproject/net/intent/impl/compiler/MultiPointToSinglePointIntentCompiler.java +++ b/core/net/src/main/java/org/onosproject/net/intent/impl/compiler/MultiPointToSinglePointIntentCompiler.java
@@ -32,7 +32,6 @@ import org.onosproject.net.intent.IntentExtensionService; import org.onosproject.net.intent.LinkCollectionIntent; import org.onosproject.net.intent.MultiPointToSinglePointIntent; -import org.onosproject.net.intent.PointToPointIntent; import java.util.Collections; import java.util.HashMap; @@ -65,7 +64,7 @@ @Deactivate public void deactivate() { - intentManager.unregisterCompiler(PointToPointIntent.class); + intentManager.unregisterCompiler(MultiPointToSinglePointIntent.class); } @Override