commit | 373aac5b6c8e5c3bff0a7b3ef58c7f92d5ef9690 | [log] [tgz] |
---|---|---|
author | chengfan <chengfannature@gmail.com> | Mon Aug 17 15:36:44 2015 -0500 |
committer | Gerrit Code Review <gerrit@onlab.us> | Tue Aug 18 00:36:00 2015 +0000 |
tree | 296a6371ab410bf7a8f7abe7ca60af08830d8150 | |
parent | 85868448194a7dcf9b375a5db15e55489c9f20ea [diff] [blame] |
Optimized the pcep api 1.remove the "public" in the interface 2.remove the "static" in the enum Change-Id: I782ec94581a7f8ef08280444f237a9a21f2f1807 Optimized the pcep api 1.remove the "public" in the interface 2.remove the "static" in the enum Change-Id: I782ec94581a7f8ef08280444f237a9a21f2f1807
diff --git a/apps/pcep-api/src/main/java/org/onosproject/pcep/api/PcepSwitchListener.java b/apps/pcep-api/src/main/java/org/onosproject/pcep/api/PcepSwitchListener.java index 01eaaa5..2017e73 100644 --- a/apps/pcep-api/src/main/java/org/onosproject/pcep/api/PcepSwitchListener.java +++ b/apps/pcep-api/src/main/java/org/onosproject/pcep/api/PcepSwitchListener.java
@@ -25,20 +25,20 @@ * * @param dpid the switch where the event occurred */ - public void switchAdded(PcepDpid dpid); + void switchAdded(PcepDpid dpid); /** * Notify that the switch was removed. * * @param dpid the switch where the event occurred. */ - public void switchRemoved(PcepDpid dpid); + void switchRemoved(PcepDpid dpid); /** * Notify that the switch has changed in some way. * * @param dpid the switch that changed */ - public void switchChanged(PcepDpid dpid); + void switchChanged(PcepDpid dpid); }