config-api: final parameters
[controller.git] / opendaylight / config / config-api / src / main / java / org / opendaylight / controller / config / api / jmx / notifications / ConfigJMXNotification.java
index 0d9e5497207ba45f7a3ecd1221f5ea8994b346bc..842c30aaa53c1a0d1e531b1af14b3dbb8065d77c 100644 (file)
@@ -27,8 +27,8 @@ public abstract class ConfigJMXNotification extends Notification {
 
     private final NotificationType type;
 
-    protected ConfigJMXNotification(NotificationType type,
-                                    NotificationBroadcasterSupport source, String message) {
+    protected ConfigJMXNotification(final NotificationType type,
+                                    final NotificationBroadcasterSupport source, final String message) {
         super(type.toString(), source, sequenceNumber++, System.nanoTime(), message);
         this.type = type;
     }
@@ -49,16 +49,13 @@ public abstract class ConfigJMXNotification extends Notification {
      * Creates notification about successful commit execution.
      *
      * Intended for config-persister.
-     *
-     * @param transactionName
-     * @param cfgSnapshot
      */
-    public static CommitJMXNotification afterCommit(NotificationBroadcasterSupport source, String messages) {
+    public static CommitJMXNotification afterCommit(final NotificationBroadcasterSupport source, final String messages) {
         return new CommitJMXNotification(source, messages);
     }
 
     enum NotificationType {
-        COMMIT;
+        COMMIT
     }
 
 }