Merge "Fix a few eclipse-reported warnings"
authorEd Warnicke <eaw@cisco.com>
Mon, 10 Feb 2014 23:36:04 +0000 (23:36 +0000)
committerGerrit Code Review <gerrit@opendaylight.org>
Mon, 10 Feb 2014 23:36:04 +0000 (23:36 +0000)
1  2 
opendaylight/md-sal/sal-binding-broker/src/main/java/org/opendaylight/controller/sal/binding/impl/RpcProviderRegistryImpl.java
opendaylight/md-sal/sal-common-util/src/main/java/org/opendaylight/controller/sal/common/util/Rpcs.java

@@@ -148,10 -150,10 +147,10 @@@ public class RpcProviderRegistryImpl im
                  LOG.error("Unhandled exception during invoking listener {}", e);
              }
          }
 -        
 +
      }
  
-     private void notifyListenersRoutedCreated(RpcRouter router) {
+     private void notifyListenersRoutedCreated(RpcRouter<?> router) {
  
          for (ListenerRegistration<RouterInstantiationListener> listener : routerInstantiationListener) {
              try {
@@@ -32,9 -34,9 +32,9 @@@ public class Rpcs 
      public static <T> RpcResult<T> getRpcResult(boolean successful, Collection<RpcError> errors) {
          return new RpcResultTO<T>(successful, null, errors);
      }
 -    
 +
      private static class RpcResultTO<T> implements RpcResult<T>, Serializable, Immutable {
+         private static final long serialVersionUID = 1L;
          private final Collection<RpcError> errors;
          private final T result;
          private final boolean successful;

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.