BUG 6692 - Fix checkstyle problems not detected by the current version 82/55682/3
authorDavid <david.suarez.fuentes@ericsson.com>
Thu, 20 Apr 2017 00:06:20 +0000 (02:06 +0200)
committerAnil Vishnoi <vishnoianil@gmail.com>
Thu, 20 Apr 2017 21:47:54 +0000 (21:47 +0000)
This change is required for overall move to new Checkstyle version, see
https://git.opendaylight.org/gerrit/#/q/topic:bumpCheckstyle

Change-Id: If08990eaf8b849e6d826322eb1b7301996bc86c1
Signed-off-by: David <david.suarez.fuentes@ericsson.com>
library/impl/src/main/java/org/opendaylight/ovsdb/lib/jsonrpc/JsonRpcDecoder.java
southbound/southbound-impl/src/main/java/org/opendaylight/ovsdb/southbound/reconciliation/configuration/BridgeConfigReconciliationTask.java
southbound/southbound-impl/src/main/java/org/opendaylight/ovsdb/southbound/reconciliation/configuration/TerminationPointConfigReconciliationTask.java

index b8e3e29cf593d0d7beb6a3666aea84b192733d1f..9946340c4f1c26aa79e66f886c5f2e32009e094b 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2013, 2015 EBay Software Foundation and others. All rights reserved.
+ * Copyright (c) 2013, 2017 EBay Software Foundation and others. All rights reserved.
  *
  * This program and the accompanying materials are made available under the
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
@@ -8,7 +8,6 @@
 
 package org.opendaylight.ovsdb.lib.jsonrpc;
 
-
 import com.fasterxml.jackson.core.JsonEncoding;
 import com.fasterxml.jackson.core.JsonFactory;
 import com.fasterxml.jackson.core.JsonParser;
@@ -40,12 +39,12 @@ import org.slf4j.LoggerFactory;
 public class JsonRpcDecoder extends ByteToMessageDecoder {
 
     private static final Logger LOG = LoggerFactory.getLogger(JsonRpcDecoder.class);
-    private int maxFrameLength;
+    private final int maxFrameLength;
     //Indicates if the frame limit warning was issued
     private boolean maxFrameLimitWasReached = false;
-    private JsonFactory jacksonJsonFactory = new MappingJsonFactory();
+    private final JsonFactory jacksonJsonFactory = new MappingJsonFactory();
 
-    private IOContext jacksonIOContext = new IOContext(new BufferRecycler(), null, false);
+    private final IOContext jacksonIOContext = new IOContext(new BufferRecycler(), null, false);
 
     // context for the previously read incomplete records
     private int lastRecordBytes = 0;
@@ -152,5 +151,4 @@ public class JsonRpcDecoder extends ByteToMessageDecoder {
             }
         }
     }
-
 }
index e530b96e6fd9e5ddd1b89881c99c92f4f874ca27..239ef8c5beb3e4ce286bc6de1473978a5ce84c1a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2016 , NEC Corporation and others.  All rights reserved.
+ * Copyright (c) 2016, 2017 NEC Corporation and others.  All rights reserved.
  *
  * This program and the accompanying materials are made available under the
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
@@ -7,7 +7,6 @@
  */
 package org.opendaylight.ovsdb.southbound.reconciliation.configuration;
 
-
 import static org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType.CONFIGURATION;
 
 import com.google.common.base.Optional;
index e022ff62ac2cd9c98294e198749e26b883bc730b..9d53869f983ecabf371e2040990ba45e93d538d1 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2016 , NEC Corporation and others.  All rights reserved.
+ * Copyright (c) 2016, 2017 NEC Corporation and others.  All rights reserved.
  *
  * This program and the accompanying materials are made available under the
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
@@ -7,7 +7,6 @@
  */
 package org.opendaylight.ovsdb.southbound.reconciliation.configuration;
 
-
 import com.google.common.base.Optional;
 
 import java.util.Collections;