Committed by
Ray Milkey
Remove public access modifiers to follow our convention
Change-Id: I7cd26d36eb22a12f7829037ab95f99039c417253
Showing
42 changed files
with
95 additions
and
95 deletions
| ... | @@ -102,7 +102,7 @@ public interface PcInitiatedLspRequest { | ... | @@ -102,7 +102,7 @@ public interface PcInitiatedLspRequest { |
| 102 | /** | 102 | /** |
| 103 | * Builder interface with get and set functions to build PcInitiatedLspRequest. | 103 | * Builder interface with get and set functions to build PcInitiatedLspRequest. |
| 104 | */ | 104 | */ |
| 105 | - public interface Builder { | 105 | + interface Builder { |
| 106 | 106 | ||
| 107 | /** | 107 | /** |
| 108 | * Builds PcInitiatedLspRequest. | 108 | * Builds PcInitiatedLspRequest. | ... | ... |
| ... | @@ -33,7 +33,7 @@ public interface PcepAttribute { | ... | @@ -33,7 +33,7 @@ public interface PcepAttribute { |
| 33 | * @return object length index. | 33 | * @return object length index. |
| 34 | * @throws PcepParseException while writing objects to channel buffer | 34 | * @throws PcepParseException while writing objects to channel buffer |
| 35 | */ | 35 | */ |
| 36 | - public int write(ChannelBuffer bb) throws PcepParseException; | 36 | + int write(ChannelBuffer bb) throws PcepParseException; |
| 37 | 37 | ||
| 38 | /** | 38 | /** |
| 39 | * Returns PcepLspaObject. | 39 | * Returns PcepLspaObject. |
| ... | @@ -95,12 +95,12 @@ public interface PcepAttribute { | ... | @@ -95,12 +95,12 @@ public interface PcepAttribute { |
| 95 | * Prints the attributes of AttributeList. | 95 | * Prints the attributes of AttributeList. |
| 96 | */ | 96 | */ |
| 97 | 97 | ||
| 98 | - public void print(); | 98 | + void print(); |
| 99 | 99 | ||
| 100 | /** | 100 | /** |
| 101 | * Builder interface with get and set functions to build PcepAttribute. | 101 | * Builder interface with get and set functions to build PcepAttribute. |
| 102 | */ | 102 | */ |
| 103 | - public interface Builder { | 103 | + interface Builder { |
| 104 | 104 | ||
| 105 | /** | 105 | /** |
| 106 | * Builds PcepAttribute. | 106 | * Builds PcepAttribute. |
| ... | @@ -169,4 +169,4 @@ public interface PcepAttribute { | ... | @@ -169,4 +169,4 @@ public interface PcepAttribute { |
| 169 | */ | 169 | */ |
| 170 | Builder setMetricObjectList(LinkedList<PcepMetricObject> llMetricList); | 170 | Builder setMetricObjectList(LinkedList<PcepMetricObject> llMetricList); |
| 171 | } | 171 | } |
| 172 | -} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 172 | +} | ... | ... |
| ... | @@ -50,12 +50,12 @@ public interface PcepBandwidthObject { | ... | @@ -50,12 +50,12 @@ public interface PcepBandwidthObject { |
| 50 | * @return Returns the writerIndex of this buffer | 50 | * @return Returns the writerIndex of this buffer |
| 51 | * @throws PcepParseException if bandwidth object header fails to write in channel buffer | 51 | * @throws PcepParseException if bandwidth object header fails to write in channel buffer |
| 52 | */ | 52 | */ |
| 53 | - public int write(ChannelBuffer bb) throws PcepParseException; | 53 | + int write(ChannelBuffer bb) throws PcepParseException; |
| 54 | 54 | ||
| 55 | /** | 55 | /** |
| 56 | * Builder interface with get and set functions to build bandwidth object. | 56 | * Builder interface with get and set functions to build bandwidth object. |
| 57 | */ | 57 | */ |
| 58 | - public interface Builder { | 58 | + interface Builder { |
| 59 | 59 | ||
| 60 | /** | 60 | /** |
| 61 | * Builds BandwidthObject. | 61 | * Builds BandwidthObject. | ... | ... |
| ... | @@ -67,7 +67,7 @@ public interface PcepCloseMsg extends PcepObject, PcepMessage { | ... | @@ -67,7 +67,7 @@ public interface PcepCloseMsg extends PcepObject, PcepMessage { |
| 67 | /** | 67 | /** |
| 68 | * Builder interface with get and set functions to build Close message. | 68 | * Builder interface with get and set functions to build Close message. |
| 69 | */ | 69 | */ |
| 70 | - public interface Builder extends PcepMessage.Builder { | 70 | + interface Builder extends PcepMessage.Builder { |
| 71 | 71 | ||
| 72 | @Override | 72 | @Override |
| 73 | PcepCloseMsg build(); | 73 | PcepCloseMsg build(); | ... | ... |
| ... | @@ -70,7 +70,7 @@ public interface PcepEndPointsObject { | ... | @@ -70,7 +70,7 @@ public interface PcepEndPointsObject { |
| 70 | /** | 70 | /** |
| 71 | * Builder interface with get and set functions to build EndPoints object. | 71 | * Builder interface with get and set functions to build EndPoints object. |
| 72 | */ | 72 | */ |
| 73 | - public interface Builder { | 73 | + interface Builder { |
| 74 | 74 | ||
| 75 | /** | 75 | /** |
| 76 | * Builds End Points Object. | 76 | * Builds End Points Object. | ... | ... |
| ... | @@ -49,7 +49,7 @@ public interface PcepEroObject { | ... | @@ -49,7 +49,7 @@ public interface PcepEroObject { |
| 49 | * @return Returns the writerIndex of this buffer | 49 | * @return Returns the writerIndex of this buffer |
| 50 | * @throws PcepParseException while writing ERO Object into ChannelBuffer | 50 | * @throws PcepParseException while writing ERO Object into ChannelBuffer |
| 51 | */ | 51 | */ |
| 52 | - public int write(ChannelBuffer bb) throws PcepParseException; | 52 | + int write(ChannelBuffer bb) throws PcepParseException; |
| 53 | 53 | ||
| 54 | /** | 54 | /** |
| 55 | * Prints attributes of ERO object. | 55 | * Prints attributes of ERO object. |
| ... | @@ -59,7 +59,7 @@ public interface PcepEroObject { | ... | @@ -59,7 +59,7 @@ public interface PcepEroObject { |
| 59 | /** | 59 | /** |
| 60 | * Builder interface with get and set functions to build ERO object. | 60 | * Builder interface with get and set functions to build ERO object. |
| 61 | */ | 61 | */ |
| 62 | - public interface Builder { | 62 | + interface Builder { |
| 63 | 63 | ||
| 64 | /** | 64 | /** |
| 65 | * Builds ERO Object. | 65 | * Builds ERO Object. |
| ... | @@ -114,4 +114,4 @@ public interface PcepEroObject { | ... | @@ -114,4 +114,4 @@ public interface PcepEroObject { |
| 114 | */ | 114 | */ |
| 115 | Builder setIFlag(boolean value); | 115 | Builder setIFlag(boolean value); |
| 116 | } | 116 | } |
| 117 | -} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 117 | +} | ... | ... |
| ... | @@ -65,7 +65,7 @@ public interface PcepError { | ... | @@ -65,7 +65,7 @@ public interface PcepError { |
| 65 | * | 65 | * |
| 66 | * @param llErrorObjList list of type PcepErrorObject | 66 | * @param llErrorObjList list of type PcepErrorObject |
| 67 | */ | 67 | */ |
| 68 | - public void setErrorObjList(LinkedList<PcepErrorObject> llErrorObjList); | 68 | + void setErrorObjList(LinkedList<PcepErrorObject> llErrorObjList); |
| 69 | 69 | ||
| 70 | /** | 70 | /** |
| 71 | * Writes the byte stream of PCEP error to the channel buffer. | 71 | * Writes the byte stream of PCEP error to the channel buffer. |
| ... | @@ -74,17 +74,17 @@ public interface PcepError { | ... | @@ -74,17 +74,17 @@ public interface PcepError { |
| 74 | * @return object length index | 74 | * @return object length index |
| 75 | * @throws PcepParseException while writing Error part into ChannelBuffer | 75 | * @throws PcepParseException while writing Error part into ChannelBuffer |
| 76 | */ | 76 | */ |
| 77 | - public int write(ChannelBuffer bb) throws PcepParseException; | 77 | + int write(ChannelBuffer bb) throws PcepParseException; |
| 78 | 78 | ||
| 79 | /** | 79 | /** |
| 80 | * Prints the attributes of PCEP Error. | 80 | * Prints the attributes of PCEP Error. |
| 81 | */ | 81 | */ |
| 82 | - public void print(); | 82 | + void print(); |
| 83 | 83 | ||
| 84 | /** | 84 | /** |
| 85 | * Builder interface with get and set functions to build PcepError. | 85 | * Builder interface with get and set functions to build PcepError. |
| 86 | */ | 86 | */ |
| 87 | - public interface Builder { | 87 | + interface Builder { |
| 88 | 88 | ||
| 89 | /** | 89 | /** |
| 90 | * Builds PcepError Object. | 90 | * Builds PcepError Object. | ... | ... |
| ... | @@ -31,7 +31,7 @@ public interface PcepErrorInfo { | ... | @@ -31,7 +31,7 @@ public interface PcepErrorInfo { |
| 31 | * | 31 | * |
| 32 | * @return true if error info present, false otherwise | 32 | * @return true if error info present, false otherwise |
| 33 | */ | 33 | */ |
| 34 | - public boolean isErrorInfoPresent(); | 34 | + boolean isErrorInfoPresent(); |
| 35 | 35 | ||
| 36 | /** | 36 | /** |
| 37 | * Reads from channel buffer for TE and RP objects. | 37 | * Reads from channel buffer for TE and RP objects. |
| ... | @@ -39,7 +39,7 @@ public interface PcepErrorInfo { | ... | @@ -39,7 +39,7 @@ public interface PcepErrorInfo { |
| 39 | * @param bb of channel buffer | 39 | * @param bb of channel buffer |
| 40 | * @throws PcepParseException while parsing Error info part. | 40 | * @throws PcepParseException while parsing Error info part. |
| 41 | */ | 41 | */ |
| 42 | - public void read(ChannelBuffer bb) throws PcepParseException; | 42 | + void read(ChannelBuffer bb) throws PcepParseException; |
| 43 | 43 | ||
| 44 | /** | 44 | /** |
| 45 | * Writes byte stream of PCEP error info to channel buffer. | 45 | * Writes byte stream of PCEP error info to channel buffer. |
| ... | @@ -47,31 +47,31 @@ public interface PcepErrorInfo { | ... | @@ -47,31 +47,31 @@ public interface PcepErrorInfo { |
| 47 | * @param bb of type channel buffer | 47 | * @param bb of type channel buffer |
| 48 | * @throws PcepParseException while writing Error info part into Channel Buffer. | 48 | * @throws PcepParseException while writing Error info part into Channel Buffer. |
| 49 | */ | 49 | */ |
| 50 | - public void write(ChannelBuffer bb) throws PcepParseException; | 50 | + void write(ChannelBuffer bb) throws PcepParseException; |
| 51 | 51 | ||
| 52 | /** | 52 | /** |
| 53 | * Prints the attributes of error info list. | 53 | * Prints the attributes of error info list. |
| 54 | */ | 54 | */ |
| 55 | - public void print(); | 55 | + void print(); |
| 56 | 56 | ||
| 57 | /** | 57 | /** |
| 58 | * Returns Error Value in PCEP-ERROR Object. | 58 | * Returns Error Value in PCEP-ERROR Object. |
| 59 | * | 59 | * |
| 60 | * @return list of Error Value in PCEP-ERROR Object | 60 | * @return list of Error Value in PCEP-ERROR Object |
| 61 | */ | 61 | */ |
| 62 | - public LinkedList<Integer> getErrorValue(); | 62 | + LinkedList<Integer> getErrorValue(); |
| 63 | 63 | ||
| 64 | /** | 64 | /** |
| 65 | * Returns Error Type in PCEP-ERROR Object. | 65 | * Returns Error Type in PCEP-ERROR Object. |
| 66 | * | 66 | * |
| 67 | * @return list of Error Type in PCEP-ERROR Object | 67 | * @return list of Error Type in PCEP-ERROR Object |
| 68 | */ | 68 | */ |
| 69 | - public LinkedList<Integer> getErrorType(); | 69 | + LinkedList<Integer> getErrorType(); |
| 70 | 70 | ||
| 71 | /** | 71 | /** |
| 72 | * Builder interface with get and set functions to build ErrorInfo. | 72 | * Builder interface with get and set functions to build ErrorInfo. |
| 73 | */ | 73 | */ |
| 74 | - public interface Builder { | 74 | + interface Builder { |
| 75 | 75 | ||
| 76 | /** | 76 | /** |
| 77 | * Builds ErrorInfo Object. | 77 | * Builds ErrorInfo Object. | ... | ... |
| ... | @@ -19,28 +19,28 @@ public interface PcepErrorMsg extends PcepMessage { | ... | @@ -19,28 +19,28 @@ public interface PcepErrorMsg extends PcepMessage { |
| 19 | * | 19 | * |
| 20 | * @return Object of ErrorObjListWithOpen | 20 | * @return Object of ErrorObjListWithOpen |
| 21 | */ | 21 | */ |
| 22 | - public ErrorObjListWithOpen getErrorObjListWithOpen(); | 22 | + ErrorObjListWithOpen getErrorObjListWithOpen(); |
| 23 | 23 | ||
| 24 | /** | 24 | /** |
| 25 | * Sets errObjListWithOpen object. | 25 | * Sets errObjListWithOpen object. |
| 26 | * | 26 | * |
| 27 | * @param errObjListWithOpen error object List with open object | 27 | * @param errObjListWithOpen error object List with open object |
| 28 | */ | 28 | */ |
| 29 | - public void setErrorObjListWithOpen(ErrorObjListWithOpen errObjListWithOpen); | 29 | + void setErrorObjListWithOpen(ErrorObjListWithOpen errObjListWithOpen); |
| 30 | 30 | ||
| 31 | /** | 31 | /** |
| 32 | * Returns Object of PcepErrorInfo. | 32 | * Returns Object of PcepErrorInfo. |
| 33 | * | 33 | * |
| 34 | * @return Object of PcepErrorInfo | 34 | * @return Object of PcepErrorInfo |
| 35 | */ | 35 | */ |
| 36 | - public PcepErrorInfo getPcepErrorInfo(); | 36 | + PcepErrorInfo getPcepErrorInfo(); |
| 37 | 37 | ||
| 38 | /** | 38 | /** |
| 39 | * Sets errInfo Object. | 39 | * Sets errInfo Object. |
| 40 | * | 40 | * |
| 41 | * @param errInfo error information | 41 | * @param errInfo error information |
| 42 | */ | 42 | */ |
| 43 | - public void setPcepErrorInfo(PcepErrorInfo errInfo); | 43 | + void setPcepErrorInfo(PcepErrorInfo errInfo); |
| 44 | 44 | ||
| 45 | @Override | 45 | @Override |
| 46 | void writeTo(ChannelBuffer channelBuffer); | 46 | void writeTo(ChannelBuffer channelBuffer); |
| ... | @@ -48,7 +48,7 @@ public interface PcepErrorMsg extends PcepMessage { | ... | @@ -48,7 +48,7 @@ public interface PcepErrorMsg extends PcepMessage { |
| 48 | /** | 48 | /** |
| 49 | * Builder interface with get and set functions to build PCEP Error message. | 49 | * Builder interface with get and set functions to build PCEP Error message. |
| 50 | */ | 50 | */ |
| 51 | - public interface Builder extends PcepMessage.Builder { | 51 | + interface Builder extends PcepMessage.Builder { |
| 52 | 52 | ||
| 53 | @Override | 53 | @Override |
| 54 | PcepErrorMsg build(); | 54 | PcepErrorMsg build(); |
| ... | @@ -64,7 +64,7 @@ public interface PcepErrorMsg extends PcepMessage { | ... | @@ -64,7 +64,7 @@ public interface PcepErrorMsg extends PcepMessage { |
| 64 | * | 64 | * |
| 65 | * @return Object of ErrorObjListWithOpen | 65 | * @return Object of ErrorObjListWithOpen |
| 66 | */ | 66 | */ |
| 67 | - public ErrorObjListWithOpen getErrorObjListWithOpen(); | 67 | + ErrorObjListWithOpen getErrorObjListWithOpen(); |
| 68 | 68 | ||
| 69 | /** | 69 | /** |
| 70 | * Sets errObjListWithOpen object. | 70 | * Sets errObjListWithOpen object. |
| ... | @@ -72,14 +72,14 @@ public interface PcepErrorMsg extends PcepMessage { | ... | @@ -72,14 +72,14 @@ public interface PcepErrorMsg extends PcepMessage { |
| 72 | * @param errObjListWithOpen error object with open object | 72 | * @param errObjListWithOpen error object with open object |
| 73 | * @return builder by setting Object of ErrorObjListWithOpen | 73 | * @return builder by setting Object of ErrorObjListWithOpen |
| 74 | */ | 74 | */ |
| 75 | - public Builder setErrorObjListWithOpen(ErrorObjListWithOpen errObjListWithOpen); | 75 | + Builder setErrorObjListWithOpen(ErrorObjListWithOpen errObjListWithOpen); |
| 76 | 76 | ||
| 77 | /** | 77 | /** |
| 78 | * Returns Object of PcepErrorInfo. | 78 | * Returns Object of PcepErrorInfo. |
| 79 | * | 79 | * |
| 80 | * @return Object of PcepErrorInfo | 80 | * @return Object of PcepErrorInfo |
| 81 | */ | 81 | */ |
| 82 | - public PcepErrorInfo getPcepErrorInfo(); | 82 | + PcepErrorInfo getPcepErrorInfo(); |
| 83 | 83 | ||
| 84 | /** | 84 | /** |
| 85 | * Sets errInfo Object. | 85 | * Sets errInfo Object. |
| ... | @@ -87,6 +87,6 @@ public interface PcepErrorMsg extends PcepMessage { | ... | @@ -87,6 +87,6 @@ public interface PcepErrorMsg extends PcepMessage { |
| 87 | * @param errInfo error information | 87 | * @param errInfo error information |
| 88 | * @return builder by getting Object of PcepErrorInfo | 88 | * @return builder by getting Object of PcepErrorInfo |
| 89 | */ | 89 | */ |
| 90 | - public Builder setPcepErrorInfo(PcepErrorInfo errInfo); | 90 | + Builder setPcepErrorInfo(PcepErrorInfo errInfo); |
| 91 | } | 91 | } |
| 92 | } | 92 | } | ... | ... |
| ... | @@ -71,7 +71,7 @@ public interface PcepErrorObject { | ... | @@ -71,7 +71,7 @@ public interface PcepErrorObject { |
| 71 | /** | 71 | /** |
| 72 | * Builder interface with get and set functions to build Error object. | 72 | * Builder interface with get and set functions to build Error object. |
| 73 | */ | 73 | */ |
| 74 | - public interface Builder { | 74 | + interface Builder { |
| 75 | 75 | ||
| 76 | /** | 76 | /** |
| 77 | * Builds Error Object. | 77 | * Builds Error Object. | ... | ... |
| ... | @@ -48,7 +48,7 @@ public interface PcepFecObjectIPv4 extends PcepFecObject { | ... | @@ -48,7 +48,7 @@ public interface PcepFecObjectIPv4 extends PcepFecObject { |
| 48 | /** | 48 | /** |
| 49 | * Builder interface with get and set functions to build FEC object. | 49 | * Builder interface with get and set functions to build FEC object. |
| 50 | */ | 50 | */ |
| 51 | - public interface Builder { | 51 | + interface Builder { |
| 52 | 52 | ||
| 53 | /** | 53 | /** |
| 54 | * Builds FEC Object IPv4. | 54 | * Builds FEC Object IPv4. | ... | ... |
| ... | @@ -62,7 +62,7 @@ public interface PcepFecObjectIPv4Adjacency extends PcepFecObject { | ... | @@ -62,7 +62,7 @@ public interface PcepFecObjectIPv4Adjacency extends PcepFecObject { |
| 62 | /** | 62 | /** |
| 63 | * Builder interface with get and set functions to build FEC object. | 63 | * Builder interface with get and set functions to build FEC object. |
| 64 | */ | 64 | */ |
| 65 | - public interface Builder { | 65 | + interface Builder { |
| 66 | 66 | ||
| 67 | /** | 67 | /** |
| 68 | * Builds FEC Object IPv4 Adjacency. | 68 | * Builds FEC Object IPv4 Adjacency. | ... | ... |
| ... | @@ -90,7 +90,7 @@ public interface PcepFecObjectIPv4UnnumberedAdjacency extends PcepFecObject { | ... | @@ -90,7 +90,7 @@ public interface PcepFecObjectIPv4UnnumberedAdjacency extends PcepFecObject { |
| 90 | /** | 90 | /** |
| 91 | * Builder interface with get and set functions to build bandwidth object. | 91 | * Builder interface with get and set functions to build bandwidth object. |
| 92 | */ | 92 | */ |
| 93 | - public interface Builder { | 93 | + interface Builder { |
| 94 | 94 | ||
| 95 | /** | 95 | /** |
| 96 | * Builds FEC Unnumbered Adjacency with IPv4 Object. | 96 | * Builds FEC Unnumbered Adjacency with IPv4 Object. | ... | ... |
| ... | @@ -48,7 +48,7 @@ public interface PcepFecObjectIPv6 extends PcepFecObject { | ... | @@ -48,7 +48,7 @@ public interface PcepFecObjectIPv6 extends PcepFecObject { |
| 48 | /** | 48 | /** |
| 49 | * Builder interface with get and set functions to build FEC object. | 49 | * Builder interface with get and set functions to build FEC object. |
| 50 | */ | 50 | */ |
| 51 | - public interface Builder { | 51 | + interface Builder { |
| 52 | 52 | ||
| 53 | /** | 53 | /** |
| 54 | * Builds FEC Object IPv6. | 54 | * Builds FEC Object IPv6. | ... | ... |
| ... | @@ -62,7 +62,7 @@ public interface PcepFecObjectIPv6Adjacency extends PcepFecObject { | ... | @@ -62,7 +62,7 @@ public interface PcepFecObjectIPv6Adjacency extends PcepFecObject { |
| 62 | /** | 62 | /** |
| 63 | * Builder interface with get and set functions to build FEC object. | 63 | * Builder interface with get and set functions to build FEC object. |
| 64 | */ | 64 | */ |
| 65 | - public interface Builder { | 65 | + interface Builder { |
| 66 | 66 | ||
| 67 | /** | 67 | /** |
| 68 | * Builds FEC Object IPv6 Adjacency. | 68 | * Builds FEC Object IPv6 Adjacency. | ... | ... |
| ... | @@ -52,7 +52,7 @@ public interface PcepInitiateMsg extends PcepObject, PcepMessage { | ... | @@ -52,7 +52,7 @@ public interface PcepInitiateMsg extends PcepObject, PcepMessage { |
| 52 | /** | 52 | /** |
| 53 | * Builder interface with get and set functions to build Initiate message. | 53 | * Builder interface with get and set functions to build Initiate message. |
| 54 | */ | 54 | */ |
| 55 | - public interface Builder extends PcepMessage.Builder { | 55 | + interface Builder extends PcepMessage.Builder { |
| 56 | 56 | ||
| 57 | @Override | 57 | @Override |
| 58 | PcepInitiateMsg build(); | 58 | PcepInitiateMsg build(); |
| ... | @@ -78,4 +78,4 @@ public interface PcepInitiateMsg extends PcepObject, PcepMessage { | ... | @@ -78,4 +78,4 @@ public interface PcepInitiateMsg extends PcepObject, PcepMessage { |
| 78 | */ | 78 | */ |
| 79 | Builder setPcInitiatedLspRequestList(LinkedList<PcInitiatedLspRequest> llPcInitiatedLspRequestList); | 79 | Builder setPcInitiatedLspRequestList(LinkedList<PcInitiatedLspRequest> llPcInitiatedLspRequestList); |
| 80 | } | 80 | } |
| 81 | -} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 81 | +} | ... | ... |
| ... | @@ -69,7 +69,7 @@ public interface PcepInterLayerObject { | ... | @@ -69,7 +69,7 @@ public interface PcepInterLayerObject { |
| 69 | /** | 69 | /** |
| 70 | * Builder interface with get and set functions to build INTER Layer object. | 70 | * Builder interface with get and set functions to build INTER Layer object. |
| 71 | */ | 71 | */ |
| 72 | - public interface Builder { | 72 | + interface Builder { |
| 73 | 73 | ||
| 74 | /** | 74 | /** |
| 75 | * Builds INTER Layer object. | 75 | * Builds INTER Layer object. | ... | ... |
| ... | @@ -52,12 +52,12 @@ public interface PcepIroObject { | ... | @@ -52,12 +52,12 @@ public interface PcepIroObject { |
| 52 | * @return Returns the writerIndex of this buffer | 52 | * @return Returns the writerIndex of this buffer |
| 53 | * @throws PcepParseException while writing IRO object. | 53 | * @throws PcepParseException while writing IRO object. |
| 54 | */ | 54 | */ |
| 55 | - public int write(ChannelBuffer bb) throws PcepParseException; | 55 | + int write(ChannelBuffer bb) throws PcepParseException; |
| 56 | 56 | ||
| 57 | /** | 57 | /** |
| 58 | * Builder interface with get and set functions to build IRO object. | 58 | * Builder interface with get and set functions to build IRO object. |
| 59 | */ | 59 | */ |
| 60 | - public interface Builder { | 60 | + interface Builder { |
| 61 | 61 | ||
| 62 | /** | 62 | /** |
| 63 | * Builds IRO Object. | 63 | * Builds IRO Object. | ... | ... |
| ... | @@ -35,7 +35,7 @@ public interface PcepKeepaliveMsg extends PcepObject, PcepMessage { | ... | @@ -35,7 +35,7 @@ public interface PcepKeepaliveMsg extends PcepObject, PcepMessage { |
| 35 | /** | 35 | /** |
| 36 | * Builder interface with get and set functions to build Keepalive message. | 36 | * Builder interface with get and set functions to build Keepalive message. |
| 37 | */ | 37 | */ |
| 38 | - public interface Builder extends PcepMessage.Builder { | 38 | + interface Builder extends PcepMessage.Builder { |
| 39 | 39 | ||
| 40 | @Override | 40 | @Override |
| 41 | PcepKeepaliveMsg build(); | 41 | PcepKeepaliveMsg build(); | ... | ... |
| ... | @@ -87,7 +87,7 @@ public interface PcepLabelObject { | ... | @@ -87,7 +87,7 @@ public interface PcepLabelObject { |
| 87 | /** | 87 | /** |
| 88 | * Builder interface with get and set functions to build Label object. | 88 | * Builder interface with get and set functions to build Label object. |
| 89 | */ | 89 | */ |
| 90 | - public interface Builder { | 90 | + interface Builder { |
| 91 | 91 | ||
| 92 | /** | 92 | /** |
| 93 | * Builds Label Object. | 93 | * Builds Label Object. |
| ... | @@ -163,7 +163,7 @@ public interface PcepLabelObject { | ... | @@ -163,7 +163,7 @@ public interface PcepLabelObject { |
| 163 | * @param value boolean value to set P flag | 163 | * @param value boolean value to set P flag |
| 164 | * @return Builder by setting P flag | 164 | * @return Builder by setting P flag |
| 165 | */ | 165 | */ |
| 166 | - public Builder setPFlag(boolean value); | 166 | + Builder setPFlag(boolean value); |
| 167 | 167 | ||
| 168 | /** | 168 | /** |
| 169 | * Sets I flag in Label object header and returns its builder. | 169 | * Sets I flag in Label object header and returns its builder. |
| ... | @@ -171,6 +171,6 @@ public interface PcepLabelObject { | ... | @@ -171,6 +171,6 @@ public interface PcepLabelObject { |
| 171 | * @param value boolean value to set I flag | 171 | * @param value boolean value to set I flag |
| 172 | * @return Builder by setting I flag | 172 | * @return Builder by setting I flag |
| 173 | */ | 173 | */ |
| 174 | - public Builder setIFlag(boolean value); | 174 | + Builder setIFlag(boolean value); |
| 175 | } | 175 | } |
| 176 | } | 176 | } | ... | ... |
| ... | @@ -31,28 +31,28 @@ public interface PcepLabelRange { | ... | @@ -31,28 +31,28 @@ public interface PcepLabelRange { |
| 31 | * | 31 | * |
| 32 | * @return srpObject | 32 | * @return srpObject |
| 33 | */ | 33 | */ |
| 34 | - public PcepSrpObject getSrpObject(); | 34 | + PcepSrpObject getSrpObject(); |
| 35 | 35 | ||
| 36 | /** | 36 | /** |
| 37 | * Sets PCEP SRP Object. | 37 | * Sets PCEP SRP Object. |
| 38 | * | 38 | * |
| 39 | * @param srpObject SRP object. | 39 | * @param srpObject SRP object. |
| 40 | */ | 40 | */ |
| 41 | - public void setSrpObject(PcepSrpObject srpObject); | 41 | + void setSrpObject(PcepSrpObject srpObject); |
| 42 | 42 | ||
| 43 | /** | 43 | /** |
| 44 | * Returns list of PcepLabelRangeObject. | 44 | * Returns list of PcepLabelRangeObject. |
| 45 | * | 45 | * |
| 46 | * @return Label Range List | 46 | * @return Label Range List |
| 47 | */ | 47 | */ |
| 48 | - public LinkedList<PcepLabelRangeObject> getLabelRangeList(); | 48 | + LinkedList<PcepLabelRangeObject> getLabelRangeList(); |
| 49 | 49 | ||
| 50 | /** | 50 | /** |
| 51 | * Sets list of PcepLabelRangeObject. | 51 | * Sets list of PcepLabelRangeObject. |
| 52 | * | 52 | * |
| 53 | * @param llLabelRangeList Label Range List | 53 | * @param llLabelRangeList Label Range List |
| 54 | */ | 54 | */ |
| 55 | - public void setLabelRangeList(LinkedList<PcepLabelRangeObject> llLabelRangeList); | 55 | + void setLabelRangeList(LinkedList<PcepLabelRangeObject> llLabelRangeList); |
| 56 | 56 | ||
| 57 | /** | 57 | /** |
| 58 | * Write the byte stream of PcepLabelRange to channel buffer. | 58 | * Write the byte stream of PcepLabelRange to channel buffer. |
| ... | @@ -61,10 +61,10 @@ public interface PcepLabelRange { | ... | @@ -61,10 +61,10 @@ public interface PcepLabelRange { |
| 61 | * @return object length index | 61 | * @return object length index |
| 62 | * @throws PcepParseException while writing LABEL RANGE into Channel Buffer. | 62 | * @throws PcepParseException while writing LABEL RANGE into Channel Buffer. |
| 63 | */ | 63 | */ |
| 64 | - public int write(ChannelBuffer bb) throws PcepParseException; | 64 | + int write(ChannelBuffer bb) throws PcepParseException; |
| 65 | 65 | ||
| 66 | /** | 66 | /** |
| 67 | * Prints Attributes of PcepLabelRange. | 67 | * Prints Attributes of PcepLabelRange. |
| 68 | */ | 68 | */ |
| 69 | - public void print(); | ||
| 70 | -} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 69 | + void print(); | ||
| 70 | +} | ... | ... |
| ... | @@ -98,7 +98,7 @@ public interface PcepLabelRangeObject { | ... | @@ -98,7 +98,7 @@ public interface PcepLabelRangeObject { |
| 98 | /** | 98 | /** |
| 99 | * Builder interface with get and set functions to build LabelRange object. | 99 | * Builder interface with get and set functions to build LabelRange object. |
| 100 | */ | 100 | */ |
| 101 | - public interface Builder { | 101 | + interface Builder { |
| 102 | 102 | ||
| 103 | /** | 103 | /** |
| 104 | * Builds LabelRange Object. | 104 | * Builds LabelRange Object. | ... | ... |
| ... | @@ -50,7 +50,7 @@ public interface PcepLabelRangeResvMsg extends PcepObject, PcepMessage { | ... | @@ -50,7 +50,7 @@ public interface PcepLabelRangeResvMsg extends PcepObject, PcepMessage { |
| 50 | /** | 50 | /** |
| 51 | * Builder interface with get and set functions to build Label Range Reservation message. | 51 | * Builder interface with get and set functions to build Label Range Reservation message. |
| 52 | */ | 52 | */ |
| 53 | - public interface Builder extends PcepMessage.Builder { | 53 | + interface Builder extends PcepMessage.Builder { |
| 54 | 54 | ||
| 55 | @Override | 55 | @Override |
| 56 | PcepLabelRangeResvMsg build(); | 56 | PcepLabelRangeResvMsg build(); | ... | ... |
| ... | @@ -31,45 +31,45 @@ public interface PcepLabelUpdate { | ... | @@ -31,45 +31,45 @@ public interface PcepLabelUpdate { |
| 31 | * @param bb of type channel buffer | 31 | * @param bb of type channel buffer |
| 32 | * @throws PcepParseException while writing LABEL UPDATE. | 32 | * @throws PcepParseException while writing LABEL UPDATE. |
| 33 | */ | 33 | */ |
| 34 | - public void write(ChannelBuffer bb) throws PcepParseException; | 34 | + void write(ChannelBuffer bb) throws PcepParseException; |
| 35 | 35 | ||
| 36 | /** | 36 | /** |
| 37 | * Sets the Label Download object. | 37 | * Sets the Label Download object. |
| 38 | * | 38 | * |
| 39 | * @param labelDownload PCEP Label Download object | 39 | * @param labelDownload PCEP Label Download object |
| 40 | */ | 40 | */ |
| 41 | - public void setLabelDownload(PcepLabelDownload labelDownload); | 41 | + void setLabelDownload(PcepLabelDownload labelDownload); |
| 42 | 42 | ||
| 43 | /** | 43 | /** |
| 44 | * Returns the PcepLabelDownload object. | 44 | * Returns the PcepLabelDownload object. |
| 45 | * | 45 | * |
| 46 | * @return labelDownload PCEP Label Download | 46 | * @return labelDownload PCEP Label Download |
| 47 | */ | 47 | */ |
| 48 | - public PcepLabelDownload getLabelDownload(); | 48 | + PcepLabelDownload getLabelDownload(); |
| 49 | 49 | ||
| 50 | /** | 50 | /** |
| 51 | * Sets the Label map object. | 51 | * Sets the Label map object. |
| 52 | * | 52 | * |
| 53 | * @param labelMap PCEP Label Map object | 53 | * @param labelMap PCEP Label Map object |
| 54 | */ | 54 | */ |
| 55 | - public void setLabelMap(PcepLabelMap labelMap); | 55 | + void setLabelMap(PcepLabelMap labelMap); |
| 56 | 56 | ||
| 57 | /** | 57 | /** |
| 58 | * Returns the PcepLabelMap object. | 58 | * Returns the PcepLabelMap object. |
| 59 | * | 59 | * |
| 60 | * @return labelMap PCEP Label Map | 60 | * @return labelMap PCEP Label Map |
| 61 | */ | 61 | */ |
| 62 | - public PcepLabelMap getLabelMap(); | 62 | + PcepLabelMap getLabelMap(); |
| 63 | 63 | ||
| 64 | /** | 64 | /** |
| 65 | * Prints the attributes of PCEP Label update. | 65 | * Prints the attributes of PCEP Label update. |
| 66 | */ | 66 | */ |
| 67 | - public void print(); | 67 | + void print(); |
| 68 | 68 | ||
| 69 | /** | 69 | /** |
| 70 | * Builder interface with get and set functions to build Label Update message. | 70 | * Builder interface with get and set functions to build Label Update message. |
| 71 | */ | 71 | */ |
| 72 | - public interface Builder { | 72 | + interface Builder { |
| 73 | 73 | ||
| 74 | /** | 74 | /** |
| 75 | * Builds PcepLableUpdate Object. | 75 | * Builds PcepLableUpdate Object. | ... | ... |
| ... | @@ -52,7 +52,7 @@ public interface PcepLabelUpdateMsg extends PcepObject, PcepMessage { | ... | @@ -52,7 +52,7 @@ public interface PcepLabelUpdateMsg extends PcepObject, PcepMessage { |
| 52 | /** | 52 | /** |
| 53 | * Builder interface with get and set functions to build Label Update message. | 53 | * Builder interface with get and set functions to build Label Update message. |
| 54 | */ | 54 | */ |
| 55 | - public interface Builder extends PcepMessage.Builder { | 55 | + interface Builder extends PcepMessage.Builder { |
| 56 | 56 | ||
| 57 | @Override | 57 | @Override |
| 58 | PcepLabelUpdateMsg build(); | 58 | PcepLabelUpdateMsg build(); | ... | ... |
| ... | @@ -143,7 +143,7 @@ public interface PcepLspObject { | ... | @@ -143,7 +143,7 @@ public interface PcepLspObject { |
| 143 | /** | 143 | /** |
| 144 | * Builder interface with get and set functions to build LSP object. | 144 | * Builder interface with get and set functions to build LSP object. |
| 145 | */ | 145 | */ |
| 146 | - public interface Builder { | 146 | + interface Builder { |
| 147 | 147 | ||
| 148 | /** | 148 | /** |
| 149 | * Builds LSP Object. | 149 | * Builds LSP Object. | ... | ... |
| ... | @@ -142,7 +142,7 @@ public interface PcepLspaObject { | ... | @@ -142,7 +142,7 @@ public interface PcepLspaObject { |
| 142 | /** | 142 | /** |
| 143 | * Builder interface with get and set functions to build bandwidth object. | 143 | * Builder interface with get and set functions to build bandwidth object. |
| 144 | */ | 144 | */ |
| 145 | - public interface Builder { | 145 | + interface Builder { |
| 146 | 146 | ||
| 147 | /** | 147 | /** |
| 148 | * Builds LSPA Object. | 148 | * Builds LSPA Object. |
| ... | @@ -288,4 +288,4 @@ public interface PcepLspaObject { | ... | @@ -288,4 +288,4 @@ public interface PcepLspaObject { |
| 288 | */ | 288 | */ |
| 289 | Builder setIFlag(boolean value); | 289 | Builder setIFlag(boolean value); |
| 290 | } | 290 | } |
| 291 | -} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 291 | +} | ... | ... |
| ... | @@ -45,7 +45,7 @@ public interface PcepMessage extends PcepObject { | ... | @@ -45,7 +45,7 @@ public interface PcepMessage extends PcepObject { |
| 45 | /** | 45 | /** |
| 46 | * Builder interface with get and set functions to build PCEP Message. | 46 | * Builder interface with get and set functions to build PCEP Message. |
| 47 | */ | 47 | */ |
| 48 | - public interface Builder { | 48 | + interface Builder { |
| 49 | 49 | ||
| 50 | /** | 50 | /** |
| 51 | * Builds PCEP Message. | 51 | * Builds PCEP Message. | ... | ... |
| ... | @@ -31,5 +31,5 @@ public interface PcepMessageWriter<T> { | ... | @@ -31,5 +31,5 @@ public interface PcepMessageWriter<T> { |
| 31 | * @param message PCEP Message | 31 | * @param message PCEP Message |
| 32 | * @throws PcepParseException while writing PCEP message. | 32 | * @throws PcepParseException while writing PCEP message. |
| 33 | */ | 33 | */ |
| 34 | - public void write(ChannelBuffer bb, T message) throws PcepParseException; | 34 | + void write(ChannelBuffer bb, T message) throws PcepParseException; |
| 35 | } | 35 | } | ... | ... |
| ... | @@ -111,7 +111,7 @@ public interface PcepMetricObject { | ... | @@ -111,7 +111,7 @@ public interface PcepMetricObject { |
| 111 | /** | 111 | /** |
| 112 | * Builder interface with get and set functions to build Metric object. | 112 | * Builder interface with get and set functions to build Metric object. |
| 113 | */ | 113 | */ |
| 114 | - public interface Builder { | 114 | + interface Builder { |
| 115 | 115 | ||
| 116 | /** | 116 | /** |
| 117 | * Builds Metric Object. | 117 | * Builds Metric Object. | ... | ... |
| ... | @@ -64,7 +64,7 @@ public interface PcepMsgPath { | ... | @@ -64,7 +64,7 @@ public interface PcepMsgPath { |
| 64 | /** | 64 | /** |
| 65 | * Builder interface with get and set functions to build PcepMsgPath. | 65 | * Builder interface with get and set functions to build PcepMsgPath. |
| 66 | */ | 66 | */ |
| 67 | - public interface Builder { | 67 | + interface Builder { |
| 68 | 68 | ||
| 69 | /** | 69 | /** |
| 70 | * Builds PcepMsgPath. | 70 | * Builds PcepMsgPath. | ... | ... |
| ... | @@ -50,7 +50,7 @@ public interface PcepOpenMsg extends PcepObject, PcepMessage { | ... | @@ -50,7 +50,7 @@ public interface PcepOpenMsg extends PcepObject, PcepMessage { |
| 50 | /** | 50 | /** |
| 51 | * Builder interface with get and set functions to build Open message. | 51 | * Builder interface with get and set functions to build Open message. |
| 52 | */ | 52 | */ |
| 53 | - public interface Builder extends PcepMessage.Builder { | 53 | + interface Builder extends PcepMessage.Builder { |
| 54 | 54 | ||
| 55 | @Override | 55 | @Override |
| 56 | PcepOpenMsg build() throws PcepParseException; | 56 | PcepOpenMsg build() throws PcepParseException; | ... | ... |
| ... | @@ -122,7 +122,7 @@ public interface PcepOpenObject { | ... | @@ -122,7 +122,7 @@ public interface PcepOpenObject { |
| 122 | /** | 122 | /** |
| 123 | * Builder interface with get and set functions to build Open object. | 123 | * Builder interface with get and set functions to build Open object. |
| 124 | */ | 124 | */ |
| 125 | - public interface Builder { | 125 | + interface Builder { |
| 126 | 126 | ||
| 127 | /** | 127 | /** |
| 128 | * Builds Open Object. | 128 | * Builds Open Object. | ... | ... |
| ... | @@ -128,7 +128,7 @@ public interface PcepRPObject { | ... | @@ -128,7 +128,7 @@ public interface PcepRPObject { |
| 128 | /** | 128 | /** |
| 129 | * Builder interface with get and set functions to build bandwidth object. | 129 | * Builder interface with get and set functions to build bandwidth object. |
| 130 | */ | 130 | */ |
| 131 | - public interface Builder { | 131 | + interface Builder { |
| 132 | 132 | ||
| 133 | /** | 133 | /** |
| 134 | * Builds RP Object. | 134 | * Builds RP Object. | ... | ... |
| ... | @@ -52,7 +52,7 @@ public interface PcepReportMsg extends PcepObject, PcepMessage { | ... | @@ -52,7 +52,7 @@ public interface PcepReportMsg extends PcepObject, PcepMessage { |
| 52 | /** | 52 | /** |
| 53 | * Builder interface with get and set functions to build Report message. | 53 | * Builder interface with get and set functions to build Report message. |
| 54 | */ | 54 | */ |
| 55 | - public interface Builder extends PcepMessage.Builder { | 55 | + interface Builder extends PcepMessage.Builder { |
| 56 | 56 | ||
| 57 | @Override | 57 | @Override |
| 58 | PcepReportMsg build(); | 58 | PcepReportMsg build(); | ... | ... |
| ... | @@ -53,12 +53,12 @@ public interface PcepRroObject { | ... | @@ -53,12 +53,12 @@ public interface PcepRroObject { |
| 53 | * @return Returns the writerIndex of this buffer | 53 | * @return Returns the writerIndex of this buffer |
| 54 | * @throws PcepParseException when object header failed to write in channel buffer | 54 | * @throws PcepParseException when object header failed to write in channel buffer |
| 55 | */ | 55 | */ |
| 56 | - public int write(ChannelBuffer bb) throws PcepParseException; | 56 | + int write(ChannelBuffer bb) throws PcepParseException; |
| 57 | 57 | ||
| 58 | /** | 58 | /** |
| 59 | * Builder interface with get and set functions to build RRO object. | 59 | * Builder interface with get and set functions to build RRO object. |
| 60 | */ | 60 | */ |
| 61 | - public interface Builder { | 61 | + interface Builder { |
| 62 | 62 | ||
| 63 | /** | 63 | /** |
| 64 | * Builds RRO Object. | 64 | * Builds RRO Object. |
| ... | @@ -113,4 +113,4 @@ public interface PcepRroObject { | ... | @@ -113,4 +113,4 @@ public interface PcepRroObject { |
| 113 | */ | 113 | */ |
| 114 | Builder setIFlag(boolean value); | 114 | Builder setIFlag(boolean value); |
| 115 | } | 115 | } |
| 116 | -} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 116 | +} | ... | ... |
| ... | @@ -61,14 +61,14 @@ public interface PcepSrpObject { | ... | @@ -61,14 +61,14 @@ public interface PcepSrpObject { |
| 61 | * | 61 | * |
| 62 | * @param llOptionalTlv list of optional tlvs | 62 | * @param llOptionalTlv list of optional tlvs |
| 63 | */ | 63 | */ |
| 64 | - public void setOptionalTlv(LinkedList<PcepValueType> llOptionalTlv); | 64 | + void setOptionalTlv(LinkedList<PcepValueType> llOptionalTlv); |
| 65 | 65 | ||
| 66 | /** | 66 | /** |
| 67 | * Returns list of optional tlvs. | 67 | * Returns list of optional tlvs. |
| 68 | * | 68 | * |
| 69 | * @return llOptionalTlv list of optional tlvs | 69 | * @return llOptionalTlv list of optional tlvs |
| 70 | */ | 70 | */ |
| 71 | - public LinkedList<PcepValueType> getOptionalTlv(); | 71 | + LinkedList<PcepValueType> getOptionalTlv(); |
| 72 | 72 | ||
| 73 | /** | 73 | /** |
| 74 | * Prints attributes of SRP object. | 74 | * Prints attributes of SRP object. |
| ... | @@ -87,7 +87,7 @@ public interface PcepSrpObject { | ... | @@ -87,7 +87,7 @@ public interface PcepSrpObject { |
| 87 | /** | 87 | /** |
| 88 | * Builder interface with get and set functions to build SRP object. | 88 | * Builder interface with get and set functions to build SRP object. |
| 89 | */ | 89 | */ |
| 90 | - public interface Builder { | 90 | + interface Builder { |
| 91 | 91 | ||
| 92 | /** | 92 | /** |
| 93 | * Builds SRP Object. | 93 | * Builds SRP Object. |
| ... | @@ -147,7 +147,7 @@ public interface PcepSrpObject { | ... | @@ -147,7 +147,7 @@ public interface PcepSrpObject { |
| 147 | * | 147 | * |
| 148 | * @return llOptionalTlv list of optional tlvs | 148 | * @return llOptionalTlv list of optional tlvs |
| 149 | */ | 149 | */ |
| 150 | - public LinkedList<PcepValueType> getOptionalTlv(); | 150 | + LinkedList<PcepValueType> getOptionalTlv(); |
| 151 | 151 | ||
| 152 | /** | 152 | /** |
| 153 | * sets the optional TLvs. | 153 | * sets the optional TLvs. |
| ... | @@ -155,7 +155,7 @@ public interface PcepSrpObject { | ... | @@ -155,7 +155,7 @@ public interface PcepSrpObject { |
| 155 | * @param llOptionalTlv List of optional tlv | 155 | * @param llOptionalTlv List of optional tlv |
| 156 | * @return builder by setting list of optional tlv. | 156 | * @return builder by setting list of optional tlv. |
| 157 | */ | 157 | */ |
| 158 | - public Builder setOptionalTlv(LinkedList<PcepValueType> llOptionalTlv); | 158 | + Builder setOptionalTlv(LinkedList<PcepValueType> llOptionalTlv); |
| 159 | 159 | ||
| 160 | /** | 160 | /** |
| 161 | * Sets P flag in SRP object header and returns its builder. | 161 | * Sets P flag in SRP object header and returns its builder. | ... | ... |
| ... | @@ -27,7 +27,7 @@ public interface PcepStateReport { | ... | @@ -27,7 +27,7 @@ public interface PcepStateReport { |
| 27 | /** | 27 | /** |
| 28 | * Provides PCEP Message path for report message. | 28 | * Provides PCEP Message path for report message. |
| 29 | */ | 29 | */ |
| 30 | - public interface PcepMsgPath { | 30 | + interface PcepMsgPath { |
| 31 | 31 | ||
| 32 | /** | 32 | /** |
| 33 | * Returns PcepEroObject. | 33 | * Returns PcepEroObject. |
| ... | @@ -92,7 +92,7 @@ public interface PcepStateReport { | ... | @@ -92,7 +92,7 @@ public interface PcepStateReport { |
| 92 | * @return PCEP Message path | 92 | * @return PCEP Message path |
| 93 | * @throws PcepParseException when invalid buffer received | 93 | * @throws PcepParseException when invalid buffer received |
| 94 | */ | 94 | */ |
| 95 | - public PcepMsgPath read(ChannelBuffer bb) throws PcepParseException; | 95 | + PcepMsgPath read(ChannelBuffer bb) throws PcepParseException; |
| 96 | 96 | ||
| 97 | /** | 97 | /** |
| 98 | * Writes all the objects for pcep message path. | 98 | * Writes all the objects for pcep message path. |
| ... | @@ -101,12 +101,12 @@ public interface PcepStateReport { | ... | @@ -101,12 +101,12 @@ public interface PcepStateReport { |
| 101 | * @return object length index | 101 | * @return object length index |
| 102 | * @throws PcepParseException when mandatory object is not set | 102 | * @throws PcepParseException when mandatory object is not set |
| 103 | */ | 103 | */ |
| 104 | - public int write(ChannelBuffer bb) throws PcepParseException; | 104 | + int write(ChannelBuffer bb) throws PcepParseException; |
| 105 | 105 | ||
| 106 | /*** | 106 | /*** |
| 107 | * Prints the attribute of PCEP Message Path. | 107 | * Prints the attribute of PCEP Message Path. |
| 108 | */ | 108 | */ |
| 109 | - public void print(); | 109 | + void print(); |
| 110 | 110 | ||
| 111 | } | 111 | } |
| 112 | 112 | ... | ... |
| ... | @@ -123,12 +123,12 @@ public interface PcepTEObject { | ... | @@ -123,12 +123,12 @@ public interface PcepTEObject { |
| 123 | * @return Returns the writerIndex of this buffer | 123 | * @return Returns the writerIndex of this buffer |
| 124 | * @throws PcepParseException when obj header is not written to channel buffer | 124 | * @throws PcepParseException when obj header is not written to channel buffer |
| 125 | */ | 125 | */ |
| 126 | - public int write(ChannelBuffer bb) throws PcepParseException; | 126 | + int write(ChannelBuffer bb) throws PcepParseException; |
| 127 | 127 | ||
| 128 | /** | 128 | /** |
| 129 | * Builder interface with get and set functions to build TE object. | 129 | * Builder interface with get and set functions to build TE object. |
| 130 | */ | 130 | */ |
| 131 | - public interface Builder { | 131 | + interface Builder { |
| 132 | 132 | ||
| 133 | /** | 133 | /** |
| 134 | * Builds TE Object. | 134 | * Builds TE Object. |
| ... | @@ -243,4 +243,4 @@ public interface PcepTEObject { | ... | @@ -243,4 +243,4 @@ public interface PcepTEObject { |
| 243 | */ | 243 | */ |
| 244 | Builder setIFlag(boolean value); | 244 | Builder setIFlag(boolean value); |
| 245 | } | 245 | } |
| 246 | -} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 246 | +} | ... | ... |
| ... | @@ -52,7 +52,7 @@ public interface PcepTEReportMsg extends PcepObject, PcepMessage { | ... | @@ -52,7 +52,7 @@ public interface PcepTEReportMsg extends PcepObject, PcepMessage { |
| 52 | /** | 52 | /** |
| 53 | * Builder interface with get and set functions to build TE Report message. | 53 | * Builder interface with get and set functions to build TE Report message. |
| 54 | */ | 54 | */ |
| 55 | - public interface Builder extends PcepMessage.Builder { | 55 | + interface Builder extends PcepMessage.Builder { |
| 56 | 56 | ||
| 57 | @Override | 57 | @Override |
| 58 | PcepTEReportMsg build(); | 58 | PcepTEReportMsg build(); | ... | ... |
| ... | @@ -52,7 +52,7 @@ public interface PcepUpdateMsg extends PcepObject, PcepMessage { | ... | @@ -52,7 +52,7 @@ public interface PcepUpdateMsg extends PcepObject, PcepMessage { |
| 52 | /** | 52 | /** |
| 53 | * Builder interface with Get and Set Functions to build the PCEP update Message. | 53 | * Builder interface with Get and Set Functions to build the PCEP update Message. |
| 54 | */ | 54 | */ |
| 55 | - public interface Builder extends PcepMessage.Builder { | 55 | + interface Builder extends PcepMessage.Builder { |
| 56 | 56 | ||
| 57 | @Override | 57 | @Override |
| 58 | PcepUpdateMsg build(); | 58 | PcepUpdateMsg build(); | ... | ... |
| ... | @@ -69,12 +69,12 @@ public interface PcepUpdateRequest { | ... | @@ -69,12 +69,12 @@ public interface PcepUpdateRequest { |
| 69 | /** | 69 | /** |
| 70 | * Prints the attributes of PCEP Update Request. | 70 | * Prints the attributes of PCEP Update Request. |
| 71 | */ | 71 | */ |
| 72 | - public void print(); | 72 | + void print(); |
| 73 | 73 | ||
| 74 | /** | 74 | /** |
| 75 | * Builder interface with get and set functions to build PcepUpdateRequest. | 75 | * Builder interface with get and set functions to build PcepUpdateRequest. |
| 76 | */ | 76 | */ |
| 77 | - public interface Builder { | 77 | + interface Builder { |
| 78 | 78 | ||
| 79 | /** | 79 | /** |
| 80 | * Builds PcepUpdateRequest. | 80 | * Builds PcepUpdateRequest. |
| ... | @@ -129,4 +129,4 @@ public interface PcepUpdateRequest { | ... | @@ -129,4 +129,4 @@ public interface PcepUpdateRequest { |
| 129 | */ | 129 | */ |
| 130 | Builder setMsgPath(PcepMsgPath msgPath); | 130 | Builder setMsgPath(PcepMsgPath msgPath); |
| 131 | } | 131 | } |
| 132 | -} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 132 | +} | ... | ... |
-
Please register or login to post a comment