Sho SHIMIZU
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 {
/**
* Builder interface with get and set functions to build PcInitiatedLspRequest.
*/
public interface Builder {
interface Builder {
/**
* Builds PcInitiatedLspRequest.
......
......@@ -33,7 +33,7 @@ public interface PcepAttribute {
* @return object length index.
* @throws PcepParseException while writing objects to channel buffer
*/
public int write(ChannelBuffer bb) throws PcepParseException;
int write(ChannelBuffer bb) throws PcepParseException;
/**
* Returns PcepLspaObject.
......@@ -95,12 +95,12 @@ public interface PcepAttribute {
* Prints the attributes of AttributeList.
*/
public void print();
void print();
/**
* Builder interface with get and set functions to build PcepAttribute.
*/
public interface Builder {
interface Builder {
/**
* Builds PcepAttribute.
......@@ -169,4 +169,4 @@ public interface PcepAttribute {
*/
Builder setMetricObjectList(LinkedList<PcepMetricObject> llMetricList);
}
}
\ No newline at end of file
}
......
......@@ -50,12 +50,12 @@ public interface PcepBandwidthObject {
* @return Returns the writerIndex of this buffer
* @throws PcepParseException if bandwidth object header fails to write in channel buffer
*/
public int write(ChannelBuffer bb) throws PcepParseException;
int write(ChannelBuffer bb) throws PcepParseException;
/**
* Builder interface with get and set functions to build bandwidth object.
*/
public interface Builder {
interface Builder {
/**
* Builds BandwidthObject.
......
......@@ -67,7 +67,7 @@ public interface PcepCloseMsg extends PcepObject, PcepMessage {
/**
* Builder interface with get and set functions to build Close message.
*/
public interface Builder extends PcepMessage.Builder {
interface Builder extends PcepMessage.Builder {
@Override
PcepCloseMsg build();
......
......@@ -70,7 +70,7 @@ public interface PcepEndPointsObject {
/**
* Builder interface with get and set functions to build EndPoints object.
*/
public interface Builder {
interface Builder {
/**
* Builds End Points Object.
......
......@@ -49,7 +49,7 @@ public interface PcepEroObject {
* @return Returns the writerIndex of this buffer
* @throws PcepParseException while writing ERO Object into ChannelBuffer
*/
public int write(ChannelBuffer bb) throws PcepParseException;
int write(ChannelBuffer bb) throws PcepParseException;
/**
* Prints attributes of ERO object.
......@@ -59,7 +59,7 @@ public interface PcepEroObject {
/**
* Builder interface with get and set functions to build ERO object.
*/
public interface Builder {
interface Builder {
/**
* Builds ERO Object.
......@@ -114,4 +114,4 @@ public interface PcepEroObject {
*/
Builder setIFlag(boolean value);
}
}
\ No newline at end of file
}
......
......@@ -65,7 +65,7 @@ public interface PcepError {
*
* @param llErrorObjList list of type PcepErrorObject
*/
public void setErrorObjList(LinkedList<PcepErrorObject> llErrorObjList);
void setErrorObjList(LinkedList<PcepErrorObject> llErrorObjList);
/**
* Writes the byte stream of PCEP error to the channel buffer.
......@@ -74,17 +74,17 @@ public interface PcepError {
* @return object length index
* @throws PcepParseException while writing Error part into ChannelBuffer
*/
public int write(ChannelBuffer bb) throws PcepParseException;
int write(ChannelBuffer bb) throws PcepParseException;
/**
* Prints the attributes of PCEP Error.
*/
public void print();
void print();
/**
* Builder interface with get and set functions to build PcepError.
*/
public interface Builder {
interface Builder {
/**
* Builds PcepError Object.
......
......@@ -31,7 +31,7 @@ public interface PcepErrorInfo {
*
* @return true if error info present, false otherwise
*/
public boolean isErrorInfoPresent();
boolean isErrorInfoPresent();
/**
* Reads from channel buffer for TE and RP objects.
......@@ -39,7 +39,7 @@ public interface PcepErrorInfo {
* @param bb of channel buffer
* @throws PcepParseException while parsing Error info part.
*/
public void read(ChannelBuffer bb) throws PcepParseException;
void read(ChannelBuffer bb) throws PcepParseException;
/**
* Writes byte stream of PCEP error info to channel buffer.
......@@ -47,31 +47,31 @@ public interface PcepErrorInfo {
* @param bb of type channel buffer
* @throws PcepParseException while writing Error info part into Channel Buffer.
*/
public void write(ChannelBuffer bb) throws PcepParseException;
void write(ChannelBuffer bb) throws PcepParseException;
/**
* Prints the attributes of error info list.
*/
public void print();
void print();
/**
* Returns Error Value in PCEP-ERROR Object.
*
* @return list of Error Value in PCEP-ERROR Object
*/
public LinkedList<Integer> getErrorValue();
LinkedList<Integer> getErrorValue();
/**
* Returns Error Type in PCEP-ERROR Object.
*
* @return list of Error Type in PCEP-ERROR Object
*/
public LinkedList<Integer> getErrorType();
LinkedList<Integer> getErrorType();
/**
* Builder interface with get and set functions to build ErrorInfo.
*/
public interface Builder {
interface Builder {
/**
* Builds ErrorInfo Object.
......
......@@ -19,28 +19,28 @@ public interface PcepErrorMsg extends PcepMessage {
*
* @return Object of ErrorObjListWithOpen
*/
public ErrorObjListWithOpen getErrorObjListWithOpen();
ErrorObjListWithOpen getErrorObjListWithOpen();
/**
* Sets errObjListWithOpen object.
*
* @param errObjListWithOpen error object List with open object
*/
public void setErrorObjListWithOpen(ErrorObjListWithOpen errObjListWithOpen);
void setErrorObjListWithOpen(ErrorObjListWithOpen errObjListWithOpen);
/**
* Returns Object of PcepErrorInfo.
*
* @return Object of PcepErrorInfo
*/
public PcepErrorInfo getPcepErrorInfo();
PcepErrorInfo getPcepErrorInfo();
/**
* Sets errInfo Object.
*
* @param errInfo error information
*/
public void setPcepErrorInfo(PcepErrorInfo errInfo);
void setPcepErrorInfo(PcepErrorInfo errInfo);
@Override
void writeTo(ChannelBuffer channelBuffer);
......@@ -48,7 +48,7 @@ public interface PcepErrorMsg extends PcepMessage {
/**
* Builder interface with get and set functions to build PCEP Error message.
*/
public interface Builder extends PcepMessage.Builder {
interface Builder extends PcepMessage.Builder {
@Override
PcepErrorMsg build();
......@@ -64,7 +64,7 @@ public interface PcepErrorMsg extends PcepMessage {
*
* @return Object of ErrorObjListWithOpen
*/
public ErrorObjListWithOpen getErrorObjListWithOpen();
ErrorObjListWithOpen getErrorObjListWithOpen();
/**
* Sets errObjListWithOpen object.
......@@ -72,14 +72,14 @@ public interface PcepErrorMsg extends PcepMessage {
* @param errObjListWithOpen error object with open object
* @return builder by setting Object of ErrorObjListWithOpen
*/
public Builder setErrorObjListWithOpen(ErrorObjListWithOpen errObjListWithOpen);
Builder setErrorObjListWithOpen(ErrorObjListWithOpen errObjListWithOpen);
/**
* Returns Object of PcepErrorInfo.
*
* @return Object of PcepErrorInfo
*/
public PcepErrorInfo getPcepErrorInfo();
PcepErrorInfo getPcepErrorInfo();
/**
* Sets errInfo Object.
......@@ -87,6 +87,6 @@ public interface PcepErrorMsg extends PcepMessage {
* @param errInfo error information
* @return builder by getting Object of PcepErrorInfo
*/
public Builder setPcepErrorInfo(PcepErrorInfo errInfo);
Builder setPcepErrorInfo(PcepErrorInfo errInfo);
}
}
......
......@@ -71,7 +71,7 @@ public interface PcepErrorObject {
/**
* Builder interface with get and set functions to build Error object.
*/
public interface Builder {
interface Builder {
/**
* Builds Error Object.
......
......@@ -48,7 +48,7 @@ public interface PcepFecObjectIPv4 extends PcepFecObject {
/**
* Builder interface with get and set functions to build FEC object.
*/
public interface Builder {
interface Builder {
/**
* Builds FEC Object IPv4.
......
......@@ -62,7 +62,7 @@ public interface PcepFecObjectIPv4Adjacency extends PcepFecObject {
/**
* Builder interface with get and set functions to build FEC object.
*/
public interface Builder {
interface Builder {
/**
* Builds FEC Object IPv4 Adjacency.
......
......@@ -90,7 +90,7 @@ public interface PcepFecObjectIPv4UnnumberedAdjacency extends PcepFecObject {
/**
* Builder interface with get and set functions to build bandwidth object.
*/
public interface Builder {
interface Builder {
/**
* Builds FEC Unnumbered Adjacency with IPv4 Object.
......
......@@ -48,7 +48,7 @@ public interface PcepFecObjectIPv6 extends PcepFecObject {
/**
* Builder interface with get and set functions to build FEC object.
*/
public interface Builder {
interface Builder {
/**
* Builds FEC Object IPv6.
......
......@@ -62,7 +62,7 @@ public interface PcepFecObjectIPv6Adjacency extends PcepFecObject {
/**
* Builder interface with get and set functions to build FEC object.
*/
public interface Builder {
interface Builder {
/**
* Builds FEC Object IPv6 Adjacency.
......
......@@ -52,7 +52,7 @@ public interface PcepInitiateMsg extends PcepObject, PcepMessage {
/**
* Builder interface with get and set functions to build Initiate message.
*/
public interface Builder extends PcepMessage.Builder {
interface Builder extends PcepMessage.Builder {
@Override
PcepInitiateMsg build();
......@@ -78,4 +78,4 @@ public interface PcepInitiateMsg extends PcepObject, PcepMessage {
*/
Builder setPcInitiatedLspRequestList(LinkedList<PcInitiatedLspRequest> llPcInitiatedLspRequestList);
}
}
\ No newline at end of file
}
......
......@@ -69,7 +69,7 @@ public interface PcepInterLayerObject {
/**
* Builder interface with get and set functions to build INTER Layer object.
*/
public interface Builder {
interface Builder {
/**
* Builds INTER Layer object.
......
......@@ -52,12 +52,12 @@ public interface PcepIroObject {
* @return Returns the writerIndex of this buffer
* @throws PcepParseException while writing IRO object.
*/
public int write(ChannelBuffer bb) throws PcepParseException;
int write(ChannelBuffer bb) throws PcepParseException;
/**
* Builder interface with get and set functions to build IRO object.
*/
public interface Builder {
interface Builder {
/**
* Builds IRO Object.
......
......@@ -35,7 +35,7 @@ public interface PcepKeepaliveMsg extends PcepObject, PcepMessage {
/**
* Builder interface with get and set functions to build Keepalive message.
*/
public interface Builder extends PcepMessage.Builder {
interface Builder extends PcepMessage.Builder {
@Override
PcepKeepaliveMsg build();
......
......@@ -87,7 +87,7 @@ public interface PcepLabelObject {
/**
* Builder interface with get and set functions to build Label object.
*/
public interface Builder {
interface Builder {
/**
* Builds Label Object.
......@@ -163,7 +163,7 @@ public interface PcepLabelObject {
* @param value boolean value to set P flag
* @return Builder by setting P flag
*/
public Builder setPFlag(boolean value);
Builder setPFlag(boolean value);
/**
* Sets I flag in Label object header and returns its builder.
......@@ -171,6 +171,6 @@ public interface PcepLabelObject {
* @param value boolean value to set I flag
* @return Builder by setting I flag
*/
public Builder setIFlag(boolean value);
Builder setIFlag(boolean value);
}
}
......
......@@ -31,28 +31,28 @@ public interface PcepLabelRange {
*
* @return srpObject
*/
public PcepSrpObject getSrpObject();
PcepSrpObject getSrpObject();
/**
* Sets PCEP SRP Object.
*
* @param srpObject SRP object.
*/
public void setSrpObject(PcepSrpObject srpObject);
void setSrpObject(PcepSrpObject srpObject);
/**
* Returns list of PcepLabelRangeObject.
*
* @return Label Range List
*/
public LinkedList<PcepLabelRangeObject> getLabelRangeList();
LinkedList<PcepLabelRangeObject> getLabelRangeList();
/**
* Sets list of PcepLabelRangeObject.
*
* @param llLabelRangeList Label Range List
*/
public void setLabelRangeList(LinkedList<PcepLabelRangeObject> llLabelRangeList);
void setLabelRangeList(LinkedList<PcepLabelRangeObject> llLabelRangeList);
/**
* Write the byte stream of PcepLabelRange to channel buffer.
......@@ -61,10 +61,10 @@ public interface PcepLabelRange {
* @return object length index
* @throws PcepParseException while writing LABEL RANGE into Channel Buffer.
*/
public int write(ChannelBuffer bb) throws PcepParseException;
int write(ChannelBuffer bb) throws PcepParseException;
/**
* Prints Attributes of PcepLabelRange.
*/
public void print();
}
\ No newline at end of file
void print();
}
......
......@@ -98,7 +98,7 @@ public interface PcepLabelRangeObject {
/**
* Builder interface with get and set functions to build LabelRange object.
*/
public interface Builder {
interface Builder {
/**
* Builds LabelRange Object.
......
......@@ -50,7 +50,7 @@ public interface PcepLabelRangeResvMsg extends PcepObject, PcepMessage {
/**
* Builder interface with get and set functions to build Label Range Reservation message.
*/
public interface Builder extends PcepMessage.Builder {
interface Builder extends PcepMessage.Builder {
@Override
PcepLabelRangeResvMsg build();
......
......@@ -31,45 +31,45 @@ public interface PcepLabelUpdate {
* @param bb of type channel buffer
* @throws PcepParseException while writing LABEL UPDATE.
*/
public void write(ChannelBuffer bb) throws PcepParseException;
void write(ChannelBuffer bb) throws PcepParseException;
/**
* Sets the Label Download object.
*
* @param labelDownload PCEP Label Download object
*/
public void setLabelDownload(PcepLabelDownload labelDownload);
void setLabelDownload(PcepLabelDownload labelDownload);
/**
* Returns the PcepLabelDownload object.
*
* @return labelDownload PCEP Label Download
*/
public PcepLabelDownload getLabelDownload();
PcepLabelDownload getLabelDownload();
/**
* Sets the Label map object.
*
* @param labelMap PCEP Label Map object
*/
public void setLabelMap(PcepLabelMap labelMap);
void setLabelMap(PcepLabelMap labelMap);
/**
* Returns the PcepLabelMap object.
*
* @return labelMap PCEP Label Map
*/
public PcepLabelMap getLabelMap();
PcepLabelMap getLabelMap();
/**
* Prints the attributes of PCEP Label update.
*/
public void print();
void print();
/**
* Builder interface with get and set functions to build Label Update message.
*/
public interface Builder {
interface Builder {
/**
* Builds PcepLableUpdate Object.
......
......@@ -52,7 +52,7 @@ public interface PcepLabelUpdateMsg extends PcepObject, PcepMessage {
/**
* Builder interface with get and set functions to build Label Update message.
*/
public interface Builder extends PcepMessage.Builder {
interface Builder extends PcepMessage.Builder {
@Override
PcepLabelUpdateMsg build();
......
......@@ -143,7 +143,7 @@ public interface PcepLspObject {
/**
* Builder interface with get and set functions to build LSP object.
*/
public interface Builder {
interface Builder {
/**
* Builds LSP Object.
......
......@@ -142,7 +142,7 @@ public interface PcepLspaObject {
/**
* Builder interface with get and set functions to build bandwidth object.
*/
public interface Builder {
interface Builder {
/**
* Builds LSPA Object.
......@@ -288,4 +288,4 @@ public interface PcepLspaObject {
*/
Builder setIFlag(boolean value);
}
}
\ No newline at end of file
}
......
......@@ -45,7 +45,7 @@ public interface PcepMessage extends PcepObject {
/**
* Builder interface with get and set functions to build PCEP Message.
*/
public interface Builder {
interface Builder {
/**
* Builds PCEP Message.
......
......@@ -31,5 +31,5 @@ public interface PcepMessageWriter<T> {
* @param message PCEP Message
* @throws PcepParseException while writing PCEP message.
*/
public void write(ChannelBuffer bb, T message) throws PcepParseException;
void write(ChannelBuffer bb, T message) throws PcepParseException;
}
......
......@@ -111,7 +111,7 @@ public interface PcepMetricObject {
/**
* Builder interface with get and set functions to build Metric object.
*/
public interface Builder {
interface Builder {
/**
* Builds Metric Object.
......
......@@ -64,7 +64,7 @@ public interface PcepMsgPath {
/**
* Builder interface with get and set functions to build PcepMsgPath.
*/
public interface Builder {
interface Builder {
/**
* Builds PcepMsgPath.
......
......@@ -50,7 +50,7 @@ public interface PcepOpenMsg extends PcepObject, PcepMessage {
/**
* Builder interface with get and set functions to build Open message.
*/
public interface Builder extends PcepMessage.Builder {
interface Builder extends PcepMessage.Builder {
@Override
PcepOpenMsg build() throws PcepParseException;
......
......@@ -122,7 +122,7 @@ public interface PcepOpenObject {
/**
* Builder interface with get and set functions to build Open object.
*/
public interface Builder {
interface Builder {
/**
* Builds Open Object.
......
......@@ -128,7 +128,7 @@ public interface PcepRPObject {
/**
* Builder interface with get and set functions to build bandwidth object.
*/
public interface Builder {
interface Builder {
/**
* Builds RP Object.
......
......@@ -52,7 +52,7 @@ public interface PcepReportMsg extends PcepObject, PcepMessage {
/**
* Builder interface with get and set functions to build Report message.
*/
public interface Builder extends PcepMessage.Builder {
interface Builder extends PcepMessage.Builder {
@Override
PcepReportMsg build();
......
......@@ -53,12 +53,12 @@ public interface PcepRroObject {
* @return Returns the writerIndex of this buffer
* @throws PcepParseException when object header failed to write in channel buffer
*/
public int write(ChannelBuffer bb) throws PcepParseException;
int write(ChannelBuffer bb) throws PcepParseException;
/**
* Builder interface with get and set functions to build RRO object.
*/
public interface Builder {
interface Builder {
/**
* Builds RRO Object.
......@@ -113,4 +113,4 @@ public interface PcepRroObject {
*/
Builder setIFlag(boolean value);
}
}
\ No newline at end of file
}
......
......@@ -61,14 +61,14 @@ public interface PcepSrpObject {
*
* @param llOptionalTlv list of optional tlvs
*/
public void setOptionalTlv(LinkedList<PcepValueType> llOptionalTlv);
void setOptionalTlv(LinkedList<PcepValueType> llOptionalTlv);
/**
* Returns list of optional tlvs.
*
* @return llOptionalTlv list of optional tlvs
*/
public LinkedList<PcepValueType> getOptionalTlv();
LinkedList<PcepValueType> getOptionalTlv();
/**
* Prints attributes of SRP object.
......@@ -87,7 +87,7 @@ public interface PcepSrpObject {
/**
* Builder interface with get and set functions to build SRP object.
*/
public interface Builder {
interface Builder {
/**
* Builds SRP Object.
......@@ -147,7 +147,7 @@ public interface PcepSrpObject {
*
* @return llOptionalTlv list of optional tlvs
*/
public LinkedList<PcepValueType> getOptionalTlv();
LinkedList<PcepValueType> getOptionalTlv();
/**
* sets the optional TLvs.
......@@ -155,7 +155,7 @@ public interface PcepSrpObject {
* @param llOptionalTlv List of optional tlv
* @return builder by setting list of optional tlv.
*/
public Builder setOptionalTlv(LinkedList<PcepValueType> llOptionalTlv);
Builder setOptionalTlv(LinkedList<PcepValueType> llOptionalTlv);
/**
* Sets P flag in SRP object header and returns its builder.
......
......@@ -27,7 +27,7 @@ public interface PcepStateReport {
/**
* Provides PCEP Message path for report message.
*/
public interface PcepMsgPath {
interface PcepMsgPath {
/**
* Returns PcepEroObject.
......@@ -92,7 +92,7 @@ public interface PcepStateReport {
* @return PCEP Message path
* @throws PcepParseException when invalid buffer received
*/
public PcepMsgPath read(ChannelBuffer bb) throws PcepParseException;
PcepMsgPath read(ChannelBuffer bb) throws PcepParseException;
/**
* Writes all the objects for pcep message path.
......@@ -101,12 +101,12 @@ public interface PcepStateReport {
* @return object length index
* @throws PcepParseException when mandatory object is not set
*/
public int write(ChannelBuffer bb) throws PcepParseException;
int write(ChannelBuffer bb) throws PcepParseException;
/***
* Prints the attribute of PCEP Message Path.
*/
public void print();
void print();
}
......
......@@ -123,12 +123,12 @@ public interface PcepTEObject {
* @return Returns the writerIndex of this buffer
* @throws PcepParseException when obj header is not written to channel buffer
*/
public int write(ChannelBuffer bb) throws PcepParseException;
int write(ChannelBuffer bb) throws PcepParseException;
/**
* Builder interface with get and set functions to build TE object.
*/
public interface Builder {
interface Builder {
/**
* Builds TE Object.
......@@ -243,4 +243,4 @@ public interface PcepTEObject {
*/
Builder setIFlag(boolean value);
}
}
\ No newline at end of file
}
......
......@@ -52,7 +52,7 @@ public interface PcepTEReportMsg extends PcepObject, PcepMessage {
/**
* Builder interface with get and set functions to build TE Report message.
*/
public interface Builder extends PcepMessage.Builder {
interface Builder extends PcepMessage.Builder {
@Override
PcepTEReportMsg build();
......
......@@ -52,7 +52,7 @@ public interface PcepUpdateMsg extends PcepObject, PcepMessage {
/**
* Builder interface with Get and Set Functions to build the PCEP update Message.
*/
public interface Builder extends PcepMessage.Builder {
interface Builder extends PcepMessage.Builder {
@Override
PcepUpdateMsg build();
......
......@@ -69,12 +69,12 @@ public interface PcepUpdateRequest {
/**
* Prints the attributes of PCEP Update Request.
*/
public void print();
void print();
/**
* Builder interface with get and set functions to build PcepUpdateRequest.
*/
public interface Builder {
interface Builder {
/**
* Builds PcepUpdateRequest.
......@@ -129,4 +129,4 @@ public interface PcepUpdateRequest {
*/
Builder setMsgPath(PcepMsgPath msgPath);
}
}
\ No newline at end of file
}
......