Revert "Review comments fix for the code in master"
This patch set currently does not build with maven
This reverts commit cbdf0f2b45ed6c1d166d3f595d221e3dc2854427.
Change-Id: Ib49e29bbef1d3592ac1fbbb782ffceb29c0aad83
diff --git a/src/main/java/org/onosproject/yangutils/datamodel/YangSubModule.java b/src/main/java/org/onosproject/yangutils/datamodel/YangSubModule.java
index ca693c7..d762151 100644
--- a/src/main/java/org/onosproject/yangutils/datamodel/YangSubModule.java
+++ b/src/main/java/org/onosproject/yangutils/datamodel/YangSubModule.java
@@ -76,8 +76,7 @@
/**
* Represents data model node to maintain information defined in YANG sub-module.
*/
-public class YangSubModule
- extends YangNode
+public class YangSubModule extends YangNode
implements YangLeavesHolder, YangDesc, YangReference, Parsable, CollisionDetector, YangReferenceResolver,
RpcNotificationContainer {
@@ -151,7 +150,6 @@
* Prefix of parent module.
*/
private String prefix;
-
/*-
* Reference RFC 6020.
*
@@ -333,8 +331,7 @@
}
@Override
- public void resolveSelfFileLinking()
- throws DataModelException {
+ public void resolveSelfFileLinking() throws DataModelException {
// Get the list to be resolved.
List<YangResolutionInfo> resolutionList = getUnresolvedResolutionList();
// Resolve linking for a resolution list.
@@ -471,8 +468,7 @@
* @throws DataModelException a violation of data model rules
*/
@Override
- public void validateDataOnEntry()
- throws DataModelException {
+ public void validateDataOnEntry() throws DataModelException {
// TODO auto-generated method stub, to be implemented by parser
}
@@ -482,21 +478,18 @@
* @throws DataModelException a violation of data model rules
*/
@Override
- public void validateDataOnExit()
- throws DataModelException {
+ public void validateDataOnExit() throws DataModelException {
// TODO auto-generated method stub, to be implemented by parser
}
@Override
- public void detectCollidingChild(String identifierName, YangConstructType dataType)
- throws DataModelException {
+ public void detectCollidingChild(String identifierName, YangConstructType dataType) throws DataModelException {
// Asks helper to detect colliding child.
detectCollidingChildUtil(identifierName, dataType, this);
}
@Override
- public void detectSelfCollision(String identifierName, YangConstructType dataType)
- throws DataModelException {
+ public void detectSelfCollision(String identifierName, YangConstructType dataType) throws DataModelException {
// Not required as module doesn't have any parent.
}