Remove explicit default super-constructor calls 52/64452/1
authorDavid Suarez <david.suarez.fuentes@gmail.com>
Wed, 18 Oct 2017 13:53:23 +0000 (15:53 +0200)
committerDavid Suarez <david.suarez.fuentes@gmail.com>
Wed, 18 Oct 2017 13:53:23 +0000 (15:53 +0200)
The default constructor is called by default (hence its name), no need
to call it explicitly.

Change-Id: I7ea6f1ab540b424f4812b8cfdea048a43a73f469
Signed-off-by: David Suarez <david.suarez.fuentes@gmail.com>
35 files changed:
netconf/tools/netconf-cli/src/test/java/org/opendaylight/netconf/cli/ConsoleIOTestImpl.java
netconf/tools/netconf-testtool/src/main/java/org/opendaylight/netconf/test/tool/ScaleUtil.java
restconf/restconf-common/src/main/java/org/opendaylight/restconf/common/util/IdentityValuesDTO.java
restconf/restconf-nb-bierman02/src/main/java/org/opendaylight/netconf/sal/rest/impl/UnsupportedFormatException.java
restconf/restconf-nb-bierman02/src/main/java/org/opendaylight/netconf/sal/streams/listeners/ListenerAdapter.java
restconf/restconf-nb-bierman02/src/main/java/org/opendaylight/netconf/sal/streams/listeners/NotificationListenerAdapter.java
restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/rest/impl/test/providers/TestJsonBodyReader.java
restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/rest/impl/test/providers/TestJsonBodyReaderMountPoint.java
restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/rest/impl/test/providers/TestJsonBodyWriter.java
restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/rest/impl/test/providers/TestJsonPatchBodyReader.java
restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/rest/impl/test/providers/TestJsonPatchBodyReaderMountPoint.java
restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/rest/impl/test/providers/TestXmlBodyReader.java
restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/rest/impl/test/providers/TestXmlBodyReaderMountPoint.java
restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/rest/impl/test/providers/TestXmlBodyWriter.java
restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/rest/impl/test/providers/TestXmlPatchBodyReader.java
restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/rest/impl/test/providers/TestXmlPatchBodyReaderMountPoint.java
restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/restconf/impl/json/to/nn/test/JsonIdentityrefToNnTest.java
restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/restconf/impl/json/to/nn/test/JsonLeafrefToNnTest.java
restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/restconf/impl/json/to/nn/test/JsonToNnTest.java
restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/restconf/impl/nn/to/json/test/NnJsonChoiceCaseTest.java
restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/restconf/impl/nn/to/json/test/NnToJsonLeafrefType.java
restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/restconf/impl/nn/to/json/test/NnToJsonWithAugmentTest.java
restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/restconf/impl/nn/to/xml/test/NnInstanceIdentifierToXmlTest.java
restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/restconf/impl/nn/to/xml/test/NnToXmlTest.java
restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/restconf/impl/nn/to/xml/test/NnToXmlWithChoiceTest.java
restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/restconf/impl/nn/to/xml/test/NnToXmlWithDataFromSeveralModulesTest.java
restconf/restconf-nb-rfc8040/src/main/java/org/opendaylight/restconf/nb/rfc8040/streams/listeners/ListenerAdapter.java
restconf/restconf-nb-rfc8040/src/main/java/org/opendaylight/restconf/nb/rfc8040/streams/listeners/NotificationListenerAdapter.java
restconf/restconf-nb-rfc8040/src/test/java/org/opendaylight/restconf/nb/rfc8040/jersey/providers/XmlBodyReaderMountPointTest.java
restconf/restconf-nb-rfc8040/src/test/java/org/opendaylight/restconf/nb/rfc8040/jersey/providers/patch/JsonPatchBodyReaderMountPointTest.java
restconf/restconf-nb-rfc8040/src/test/java/org/opendaylight/restconf/nb/rfc8040/jersey/providers/patch/JsonPatchBodyReaderTest.java
restconf/restconf-nb-rfc8040/src/test/java/org/opendaylight/restconf/nb/rfc8040/jersey/providers/patch/XmlPatchBodyReaderMountPointTest.java
restconf/restconf-nb-rfc8040/src/test/java/org/opendaylight/restconf/nb/rfc8040/jersey/providers/patch/XmlPatchBodyReaderTest.java
restconf/restconf-nb-rfc8040/src/test/java/org/opendaylight/restconf/nb/rfc8040/jersey/providers/test/JsonBodyReaderTest.java
restconf/restconf-nb-rfc8040/src/test/java/org/opendaylight/restconf/nb/rfc8040/jersey/providers/test/XmlBodyReaderTest.java

index 1e4c018571e466bb465b25595ab49300d38fa03e..ee8f6468158924ef88ea40444d9ac6d5498a0922 100644 (file)
@@ -22,7 +22,6 @@ public class ConsoleIOTestImpl extends ConsoleIOImpl {
 
     public ConsoleIOTestImpl(final Map<String, Deque<String>> inputValues,
                              final List<ValueForMessage> valuesForMessages) throws IOException {
-        super();
         this.inputValues = inputValues;
         this.valuesForMessages = valuesForMessages;
     }
index 36e336ad69435fc3b05d283f0d2369578ed59eef..78f5b85434d7833034076069df8599f5e5e95d35 100644 (file)
@@ -37,7 +37,7 @@ import org.opendaylight.netconf.test.tool.config.ConfigurationBuilder;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
-public class ScaleUtil {
+public final class ScaleUtil {
     private static final ScheduledExecutorService EXECUTOR = new LoggingWrapperExecutor(4);
     private static final Semaphore SEMAPHORE = new Semaphore(0);
     private static final Stopwatch STOPWATCH = Stopwatch.createUnstarted();
@@ -49,6 +49,9 @@ public class ScaleUtil {
     private static ch.qos.logback.classic.Logger root;
     private static Logger resultsLog;
 
+    private ScaleUtil() {
+    }
+
     @SuppressWarnings("checkstyle:illegalCatch")
     public static void main(final String[] args) {
         final TesttoolParameters params = TesttoolParameters.parseArgs(args, TesttoolParameters.getParser());
@@ -288,7 +291,6 @@ public class ScaleUtil {
             private Callable theCallable;
 
             LogOnExceptionCallable(Callable theCallable) {
-                super();
                 this.theCallable = theCallable;
             }
 
index 8b9841dc4aa496e255b7ba981fb274cffb5d312d..3c206598b0621d9a2ef23e3fc2bb2a2297cf4254 100644 (file)
@@ -109,7 +109,6 @@ public final class IdentityValuesDTO {
         private final String value;
 
         public Predicate(final IdentityValue name, final String value) {
-            super();
             this.name = name;
             this.value = value;
         }
index 2e5cdf48e7c9e2488ce8b88a95f4247b3d453e41..9e21659895f2ec06a34d5549bac5b64be783ac48 100644 (file)
@@ -12,7 +12,6 @@ public class UnsupportedFormatException extends Exception {
     private static final long serialVersionUID = -1741388894406313402L;
 
     public UnsupportedFormatException() {
-        super();
     }
 
     public UnsupportedFormatException(String message, Throwable cause) {
index d88f4e5b61612b3c440db213f9303ce4d58a3ceb..6355769336a213b8d4b927fd9112f38d2ce091a8 100644 (file)
@@ -67,7 +67,6 @@ public class ListenerAdapter extends AbstractCommonSubscriber implements Cluster
      */
     ListenerAdapter(final YangInstanceIdentifier path, final String streamName,
             final NotificationOutputType outputType) {
-        super();
         register(this);
         this.outputType = Preconditions.checkNotNull(outputType);
         this.path = Preconditions.checkNotNull(path);
index eda5b84f94091c68406652977abba8747e2084fd..54e25a7c189b27863f042d3123940795e57fe56a 100644 (file)
@@ -66,7 +66,6 @@ public class NotificationListenerAdapter extends AbstractCommonSubscriber implem
      *             type of output on notification (JSON, XML)
      */
     NotificationListenerAdapter(final SchemaPath path, final String streamName, final String outputType) {
-        super();
         register(this);
         this.outputType = Preconditions.checkNotNull(outputType);
         this.path = Preconditions.checkNotNull(path);
index bbe455cc3d5e511665b34d86978d77d13b4fad6c..e9c772018ee4c9923d3639440b7538cd3e5eade1 100644 (file)
@@ -58,7 +58,6 @@ public class TestJsonBodyReader extends AbstractBodyReaderTest {
 
 
     public TestJsonBodyReader() throws NoSuchFieldException, SecurityException {
-        super();
         this.jsonBodyReader = new JsonNormalizedNodeBodyReader();
     }
 
index 8e667128add26153bad604470a726a82c6521936..9190a49cad3eaba546ab8165a0ec1833d3e454a9 100644 (file)
@@ -60,7 +60,6 @@ public class TestJsonBodyReaderMountPoint extends AbstractBodyReaderTest {
 
     public TestJsonBodyReaderMountPoint() throws NoSuchFieldException,
             SecurityException {
-        super();
         this.jsonBodyReader = new JsonNormalizedNodeBodyReader();
     }
 
index c952e9d65ecaa8ccbdc348b2450b4b1e1da38d7b..c145c5b895b0c89f2865da887a1894f5252ff63c 100644 (file)
@@ -32,7 +32,6 @@ public class TestJsonBodyWriter extends AbstractBodyReaderTest {
     private static SchemaContext schemaContext;
 
     public TestJsonBodyWriter() throws NoSuchFieldException, SecurityException {
-        super();
         this.jsonBodyWriter = new NormalizedNodeJsonBodyWriter();
         this.jsonBodyReader = new JsonNormalizedNodeBodyReader();
     }
index 4f6c7e9b072b656288c717543b1c41909e096776..aec82f69dc13531a13df48ebe27ec2ea67784721 100644 (file)
@@ -27,7 +27,6 @@ public class TestJsonPatchBodyReader extends AbstractBodyReaderTest {
     private static SchemaContext schemaContext;
 
     public TestJsonPatchBodyReader() throws NoSuchFieldException, SecurityException {
-        super();
         jsonToPatchBodyReader = new JsonToPatchBodyReader();
     }
 
index de3c0a0891b42a240e2c132d036145182d1e3462..8567d67b5acbb940a478bc05421f0cb63abf036e 100644 (file)
@@ -35,7 +35,6 @@ public class TestJsonPatchBodyReaderMountPoint extends AbstractBodyReaderTest {
     private static final String MOUNT_POINT = "instance-identifier-module:cont/yang-ext:mount";
 
     public TestJsonPatchBodyReaderMountPoint() throws NoSuchFieldException, SecurityException {
-        super();
         jsonToPatchBodyReader = new JsonToPatchBodyReader();
     }
 
index 64bc27aab84b1a3092ad56ac8990b508c6cdc8b4..7b6bda935237e93fe9aa97613ebcece76460ed11 100644 (file)
@@ -60,7 +60,6 @@ public class TestXmlBodyReader extends AbstractBodyReaderTest {
     }
 
     public TestXmlBodyReader() throws Exception {
-        super();
         this.xmlBodyReader = new XmlNormalizedNodeBodyReader();
     }
 
index 88050a138d996a9b93a8dac03cc57dba621e8c32..9ab3a2ce5f8eb60a7fda253515b9b5912280bb9f 100644 (file)
@@ -62,7 +62,6 @@ public class TestXmlBodyReaderMountPoint extends AbstractBodyReaderTest {
     }
 
     public TestXmlBodyReaderMountPoint() throws Exception {
-        super();
         this.xmlBodyReader = new XmlNormalizedNodeBodyReader();
     }
 
index 055929a3ab170b5880afc2f6c066460364989b9d..a1b8777b0cc839139575169e485e8ee3500007da 100644 (file)
@@ -29,7 +29,6 @@ public class TestXmlBodyWriter extends AbstractBodyReaderTest {
     private static SchemaContext schemaContext;
 
     public TestXmlBodyWriter() throws NoSuchFieldException, SecurityException {
-        super();
         this.xmlBodyWriter = new NormalizedNodeXmlBodyWriter();
     }
 
index fea1b6f017135b64d84d0ce1cc4ea0521d27382f..1bdbab9519a476c4967b77e5304fccdf53520d20 100644 (file)
@@ -26,7 +26,6 @@ public class TestXmlPatchBodyReader extends AbstractBodyReaderTest {
     private static SchemaContext schemaContext;
 
     public TestXmlPatchBodyReader() throws NoSuchFieldException, SecurityException {
-        super();
         xmlToPatchBodyReader = new XmlToPatchBodyReader();
     }
 
index 6da8154b19dfeabb1737b3d53e67607e8d886ea0..b9fd057ea28f136da530c7af77ff3b4352a262b3 100644 (file)
@@ -34,7 +34,6 @@ public class TestXmlPatchBodyReaderMountPoint extends AbstractBodyReaderTest {
     private static final String MOUNT_POINT = "instance-identifier-module:cont/yang-ext:mount";
 
     public TestXmlPatchBodyReaderMountPoint() throws NoSuchFieldException, SecurityException {
-        super();
         xmlToPatchBodyReader = new XmlToPatchBodyReader();
     }
 
index 061c177f1bdac554d5f82b302dd14105b39e6632..0345beab950ab9f0c08ccb26744c61376f4195e3 100644 (file)
@@ -27,7 +27,6 @@ public class JsonIdentityrefToNnTest extends AbstractBodyReaderTest {
 
     public JsonIdentityrefToNnTest() throws NoSuchFieldException,
             SecurityException {
-        super();
         this.jsonBodyReader = new JsonNormalizedNodeBodyReader();
     }
 
index 6b7953be6e344b8129c78df9beed5e2293036a5c..f0bfa63d348670a532f5afdbba7da4873b022b8d 100644 (file)
@@ -26,7 +26,6 @@ public class JsonLeafrefToNnTest extends AbstractBodyReaderTest {
     private static SchemaContext schemaContext;
 
     public JsonLeafrefToNnTest() throws NoSuchFieldException, SecurityException {
-        super();
         this.jsonBodyReader = new JsonNormalizedNodeBodyReader();
     }
 
index 7bb72762775df9b88e70ecf5807076ab3ea1daae..ff7cd5703d8bfe7d6bc1ecad39e4b6137869a473 100644 (file)
@@ -35,7 +35,6 @@ public class JsonToNnTest extends AbstractBodyReaderTest {
     private SchemaContext schemaContext;
 
     public JsonToNnTest() throws NoSuchFieldException, SecurityException {
-        super();
     }
 
     public static void initialize(final String path, SchemaContext schemaContext) {
index 2345451bbbac6022c621dad9d48c5914db76c60b..c83261e0285d1e8ba91f85e2cbed39fd7ffcd55a 100644 (file)
@@ -28,7 +28,6 @@ public class NnJsonChoiceCaseTest extends AbstractBodyReaderTest {
 
     public NnJsonChoiceCaseTest() throws NoSuchFieldException,
             SecurityException {
-        super();
         jsonBodyWriter = new NormalizedNodeJsonBodyWriter();
     }
 
index 14afbb3fa937ee1fd06363204b99c78c75d5067d..c5d77133285d4dc90fb4c3a51c37a6f7f2aeb291 100644 (file)
@@ -29,7 +29,6 @@ public class NnToJsonLeafrefType extends AbstractBodyReaderTest {
     private final NormalizedNodeJsonBodyWriter jsonBodyWriter;
 
     public NnToJsonLeafrefType() throws NoSuchFieldException, SecurityException {
-        super();
         jsonBodyWriter = new NormalizedNodeJsonBodyWriter();
     }
 
index f09899c44d6942277ad51e270bd8ab0214acb680..0aadde5a78e5ebce0143ada85b5a12e77b95e881 100644 (file)
@@ -31,7 +31,6 @@ public class NnToJsonWithAugmentTest extends AbstractBodyReaderTest {
 
     public NnToJsonWithAugmentTest() throws NoSuchFieldException,
             SecurityException {
-        super();
         xmlBodyWriter = new NormalizedNodeJsonBodyWriter();
     }
 
index 32c2b63ef93a4cd69a94733449ebbd8f6f2b84b3..501c6eff5a19fe28902217bc88c887b9f69d7ee8 100644 (file)
@@ -50,7 +50,6 @@ public class NnInstanceIdentifierToXmlTest extends AbstractBodyReaderTest {
 
     public NnInstanceIdentifierToXmlTest() throws NoSuchFieldException,
             SecurityException {
-        super();
         xmlBodyWriter = new NormalizedNodeXmlBodyWriter();
     }
 
index e4649e52127ae7321ce1692c45ddaa40b5eddbef..03a6279965363acf90b4daa4620960a72abe9a03 100644 (file)
@@ -53,7 +53,6 @@ public class NnToXmlTest extends AbstractBodyReaderTest {
     private static SchemaContext schemaContext;
 
     public NnToXmlTest() throws NoSuchFieldException, SecurityException {
-        super();
         this.xmlBodyWriter = new NormalizedNodeXmlBodyWriter();
     }
 
index 180d04f6d39c187fd879e8f2512a5aed1866c9ed..01830d816c4e48842ec9d20bbea1b8eba94ca36d 100644 (file)
@@ -42,7 +42,6 @@ public class NnToXmlWithChoiceTest extends AbstractBodyReaderTest {
 
     public NnToXmlWithChoiceTest() throws NoSuchFieldException,
             SecurityException {
-        super();
         xmlBodyWriter = new NormalizedNodeXmlBodyWriter();
     }
 
index 8034d7401098619c4f732e9d8e32ba8fabdcaf1a..0791b8ab1201c35355d3865404d90c56a0425d8c 100644 (file)
@@ -44,7 +44,6 @@ public class NnToXmlWithDataFromSeveralModulesTest extends
 
     public NnToXmlWithDataFromSeveralModulesTest() throws NoSuchFieldException,
             SecurityException {
-        super();
         xmlBodyWriter = new NormalizedNodeXmlBodyWriter();
     }
 
index fce6b1e70c163fcd4d62aed51c471f79d0759d86..7e2d89b6ffd8056a8eddc4e8e63312828d2934b4 100644 (file)
@@ -66,7 +66,6 @@ public class ListenerAdapter extends AbstractCommonSubscriber implements DOMData
      */
     ListenerAdapter(final YangInstanceIdentifier path, final String streamName,
             final NotificationOutputType outputType) {
-        super();
         register(this);
         setLocalNameOfPath(path.getLastPathArgument().getNodeType().getLocalName());
 
index e3eb6fe971371ea46bc3ee8034dbfa01cd32a178..33e08d2e2f145722fdc95345f6f6303debfa854f 100644 (file)
@@ -65,7 +65,6 @@ public class NotificationListenerAdapter extends AbstractCommonSubscriber implem
      *             type of output on notification (JSON, XML)
      */
     NotificationListenerAdapter(final SchemaPath path, final String streamName, final String outputType) {
-        super();
         register(this);
         setLocalNameOfPath(path.getLastComponent().getLocalName());
 
index f3bd4030a970863544cc7af3d300e8da59a4376b..4378a882a5af177198b73121d5b43d99658a99a2 100644 (file)
@@ -63,7 +63,6 @@ public class XmlBodyReaderMountPointTest extends AbstractBodyReaderTest {
     }
 
     public XmlBodyReaderMountPointTest() throws Exception {
-        super();
         this.xmlBodyReader = new XmlNormalizedNodeBodyReader();
     }
 
index 42b35bfff32fd1dec477e129cd243f9bd7cb8790..b92a6cedcffe5d12622e897cf0d349d89b5cd8dd 100644 (file)
@@ -37,7 +37,6 @@ public class JsonPatchBodyReaderMountPointTest extends AbstractBodyReaderTest {
     private final JsonToPatchBodyReader jsonToPatchBodyReader;
 
     public JsonPatchBodyReaderMountPointTest() throws Exception {
-        super();
         jsonToPatchBodyReader = new JsonToPatchBodyReader();
     }
 
index 22355a8c7bd36087aa45f7d45067dc77b1df1dbf..d47534b5339e63361438354c421525798090d305 100644 (file)
@@ -32,7 +32,6 @@ public class JsonPatchBodyReaderTest extends AbstractBodyReaderTest {
     private static SchemaContext schemaContext;
 
     public JsonPatchBodyReaderTest() throws Exception {
-        super();
         jsonToPatchBodyReader = new JsonToPatchBodyReader();
     }
 
index 652d3bede4d33afc59d45507353ff3921ce32647..656dbcae494fd41568b41d5babffc91d576f1aa5 100644 (file)
@@ -36,7 +36,6 @@ public class XmlPatchBodyReaderMountPointTest extends AbstractBodyReaderTest {
     private static final String MOUNT_POINT = "instance-identifier-module:cont/yang-ext:mount/";
 
     public XmlPatchBodyReaderMountPointTest() throws Exception {
-        super();
         xmlToPatchBodyReader = new XmlToPatchBodyReader();
     }
 
index fd3a9b0a52793306345e0cb637672f31ce0dbe3e..87d9ef18a1c74c2de7463c635172c8a4ae244014 100644 (file)
@@ -31,7 +31,6 @@ public class XmlPatchBodyReaderTest extends AbstractBodyReaderTest {
     private static SchemaContext schemaContext;
 
     public XmlPatchBodyReaderTest() throws Exception {
-        super();
         xmlToPatchBodyReader = new XmlToPatchBodyReader();
     }
 
index fc29d70c3a887e13f9a3bcc5ec5c3518f096bf0a..da0e964a953f57d2b5cdbb962f140960293fb557 100644 (file)
@@ -57,7 +57,6 @@ public class JsonBodyReaderTest extends AbstractBodyReaderTest {
     }
 
     public JsonBodyReaderTest() throws Exception {
-        super();
         this.jsonBodyReader = new JsonNormalizedNodeBodyReader();
     }
 
index fa2a1d772bc82e68598798540c4f18c72be149a0..7a6fb00367a80ad1b92bb34e784deeda9ddb10b9 100644 (file)
@@ -62,7 +62,6 @@ public class XmlBodyReaderTest extends AbstractBodyReaderTest {
     }
 
     public XmlBodyReaderTest() throws Exception {
-        super();
         this.xmlBodyReader = new XmlNormalizedNodeBodyReader();
     }