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/PcepLink.java b/apps/pcep-api/src/main/java/org/onosproject/pcep/api/PcepLink.java
index e4f9a2c..4dc05de 100644
--- a/apps/pcep-api/src/main/java/org/onosproject/pcep/api/PcepLink.java
+++ b/apps/pcep-api/src/main/java/org/onosproject/pcep/api/PcepLink.java
@@ -22,7 +22,7 @@
  */
 public interface PcepLink extends PcepOperator {
 
-    public enum SubType {
+    enum SubType {
         /**
          * Optical Transmission Section Link.
          */
@@ -50,7 +50,7 @@
     }
 
 
-    public enum PortType {
+    enum PortType {
         ODU_PORT, OCH_PORT, OMS_PORT
     }
 
@@ -59,7 +59,7 @@
      *
      * @return endpoint port type
      */
-    public PortType portType();
+    PortType portType();
 
     /**
      * Returns the link sub type,OTS,OPS,PKT_OPTICAL or ODUK.
@@ -67,21 +67,21 @@
      * @return link subType
      */
 
-    public SubType linkSubType();
+    SubType linkSubType();
 
     /**
      * Returns the link state, up or down.
      *
      * @return link state
      */
-    public String linkState();
+    String linkState();
 
     /**
      * Returns the distance of a link.
      *
      * @return distance
      */
-    public int linkDistance();
+    int linkDistance();
 
     /**
      * Returns the capacity type of a link,1: WAVELENGTHNUM, 2:SLOTNUM, 3,
@@ -89,48 +89,48 @@
      *
      * @return capacity type
      */
-    public String linkCapacityType();
+    String linkCapacityType();
 
     /**
      * Returns the available capacity value ,such as available bandwidth.
      *
      * @return availValue
      */
-    public int linkAvailValue();
+    int linkAvailValue();
 
     /**
      * Returns the max capacity value ,such as max bandwidth.
      *
      * @return maxValue
      */
-    public int linkMaxValue();
+    int linkMaxValue();
 
     /**
      * Returns the source device did of a link.
      *
      * @return source did
      */
-    public PcepDpid linkSrcDeviceID();
+    PcepDpid linkSrcDeviceID();
 
     /**
      * Returns the destination device did of a link.
      *
      * @return destination did
      */
-    public PcepDpid linkDstDeviceId();
+    PcepDpid linkDstDeviceId();
 
     /**
      * Returns the source port of a link.
      *
      * @return port number
      */
-    public Port linkSrcPort();
+    Port linkSrcPort();
 
     /**
      * Returns the destination port of a link.
      *
      * @return port number
      */
-    public Port linkDstPort();
+    Port linkDstPort();
 
 }