- unused suppresswarnings
- missing serialVersionUuid
- missing generic arguments
Change-Id: Ie741e88bfe161a9e4613b4076892cbcabdd0375c
Signed-off-by: Robert Varga <rovarga@cisco.com>
@Override
public final <T extends RpcService> T getRpcService(Class<T> type) {
@Override
public final <T extends RpcService> T getRpcService(Class<T> type) {
- @SuppressWarnings("unchecked")
T potentialProxy = (T) publicProxies.get(type);
if (potentialProxy != null) {
return potentialProxy;
T potentialProxy = (T) publicProxies.get(type);
if (potentialProxy != null) {
return potentialProxy;
- private void notifyListenersRoutedCreated(RpcRouter router) {
+ private void notifyListenersRoutedCreated(RpcRouter<?> router) {
for (ListenerRegistration<RouterInstantiationListener> listener : routerInstantiationListener) {
try {
for (ListenerRegistration<RouterInstantiationListener> listener : routerInstantiationListener) {
try {
import org.opendaylight.yangtools.yang.binding.Identifier;
public class ReferencableObjectKey implements Identifier<ReferencableObject> {
import org.opendaylight.yangtools.yang.binding.Identifier;
public class ReferencableObjectKey implements Identifier<ReferencableObject> {
+ private static final long serialVersionUID = 1L;
public ReferencableObjectKey(Integer _value) {
this.value = _value;
}
public ReferencableObjectKey(Integer _value) {
this.value = _value;
}
public String toString() {
return "ReferencableObjectKey [value=" + value + "]";
}
public String toString() {
return "ReferencableObjectKey [value=" + value + "]";
}
}
private static class RpcResultTO<T> implements RpcResult<T>, Serializable, Immutable {
}
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;
private final Collection<RpcError> errors;
private final T result;
private final boolean successful;