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/translator/tojava/javamodel/YangJavaNotification.java b/src/main/java/org/onosproject/yangutils/translator/tojava/javamodel/YangJavaNotification.java
index d463101..34c42e8 100644
--- a/src/main/java/org/onosproject/yangutils/translator/tojava/javamodel/YangJavaNotification.java
+++ b/src/main/java/org/onosproject/yangutils/translator/tojava/javamodel/YangJavaNotification.java
@@ -113,7 +113,7 @@
public void generateCodeEntry(YangPluginConfig yangPlugin)
throws IOException {
- /*
+ /**
* As part of the notification support the following files needs to be generated.
* 1) Subject of the notification(event), this is simple interface with builder class.
* 2) Event class extending "AbstractEvent" and defining event type enum.
@@ -121,18 +121,19 @@
*
* The manager class needs to extend the ListenerRegistry.
*/
+
+
+ // Generate subject of the notification(event), this is simple interface with builder class.
generateCodeOfNode(this, yangPlugin);
}
/**
* Creates a java file using the YANG notification info.
- *
- * @throws IOException input output operation fail
*/
@Override
public void generateCodeExit()
throws IOException {
- /*
+ /**
* As part of the notification support the following files needs to be generated.
* 1) Subject of the notification(event), this is simple interface with builder class.
* 2) Event class extending "AbstractEvent" and defining event type enum.