From 01a6df747b35181b5cb7a1a8cf7bdd8ecd511ef6 Mon Sep 17 00:00:00 2001 From: David Suarez Date: Wed, 18 Oct 2017 15:53:23 +0200 Subject: [PATCH] Remove explicit default super-constructor calls The default constructor is called by default (hence its name), no need to call it explicitly. Change-Id: I7ea6f1ab540b424f4812b8cfdea048a43a73f469 Signed-off-by: David Suarez --- .../org/opendaylight/netconf/cli/ConsoleIOTestImpl.java | 1 - .../java/org/opendaylight/netconf/test/tool/ScaleUtil.java | 6 ++++-- .../restconf/common/util/IdentityValuesDTO.java | 1 - .../netconf/sal/rest/impl/UnsupportedFormatException.java | 1 - .../netconf/sal/streams/listeners/ListenerAdapter.java | 1 - .../sal/streams/listeners/NotificationListenerAdapter.java | 1 - .../sal/rest/impl/test/providers/TestJsonBodyReader.java | 1 - .../impl/test/providers/TestJsonBodyReaderMountPoint.java | 1 - .../sal/rest/impl/test/providers/TestJsonBodyWriter.java | 1 - .../rest/impl/test/providers/TestJsonPatchBodyReader.java | 1 - .../test/providers/TestJsonPatchBodyReaderMountPoint.java | 1 - .../sal/rest/impl/test/providers/TestXmlBodyReader.java | 1 - .../impl/test/providers/TestXmlBodyReaderMountPoint.java | 1 - .../sal/rest/impl/test/providers/TestXmlBodyWriter.java | 1 - .../rest/impl/test/providers/TestXmlPatchBodyReader.java | 1 - .../test/providers/TestXmlPatchBodyReaderMountPoint.java | 1 - .../impl/json/to/nn/test/JsonIdentityrefToNnTest.java | 1 - .../restconf/impl/json/to/nn/test/JsonLeafrefToNnTest.java | 1 - .../sal/restconf/impl/json/to/nn/test/JsonToNnTest.java | 1 - .../restconf/impl/nn/to/json/test/NnJsonChoiceCaseTest.java | 1 - .../restconf/impl/nn/to/json/test/NnToJsonLeafrefType.java | 1 - .../impl/nn/to/json/test/NnToJsonWithAugmentTest.java | 1 - .../impl/nn/to/xml/test/NnInstanceIdentifierToXmlTest.java | 1 - .../sal/restconf/impl/nn/to/xml/test/NnToXmlTest.java | 1 - .../restconf/impl/nn/to/xml/test/NnToXmlWithChoiceTest.java | 1 - .../to/xml/test/NnToXmlWithDataFromSeveralModulesTest.java | 1 - .../nb/rfc8040/streams/listeners/ListenerAdapter.java | 1 - .../streams/listeners/NotificationListenerAdapter.java | 1 - .../jersey/providers/XmlBodyReaderMountPointTest.java | 1 - .../providers/patch/JsonPatchBodyReaderMountPointTest.java | 1 - .../jersey/providers/patch/JsonPatchBodyReaderTest.java | 1 - .../providers/patch/XmlPatchBodyReaderMountPointTest.java | 1 - .../jersey/providers/patch/XmlPatchBodyReaderTest.java | 1 - .../rfc8040/jersey/providers/test/JsonBodyReaderTest.java | 1 - .../nb/rfc8040/jersey/providers/test/XmlBodyReaderTest.java | 1 - 35 files changed, 4 insertions(+), 36 deletions(-) diff --git a/netconf/tools/netconf-cli/src/test/java/org/opendaylight/netconf/cli/ConsoleIOTestImpl.java b/netconf/tools/netconf-cli/src/test/java/org/opendaylight/netconf/cli/ConsoleIOTestImpl.java index 1e4c018571..ee8f646815 100644 --- a/netconf/tools/netconf-cli/src/test/java/org/opendaylight/netconf/cli/ConsoleIOTestImpl.java +++ b/netconf/tools/netconf-cli/src/test/java/org/opendaylight/netconf/cli/ConsoleIOTestImpl.java @@ -22,7 +22,6 @@ public class ConsoleIOTestImpl extends ConsoleIOImpl { public ConsoleIOTestImpl(final Map> inputValues, final List valuesForMessages) throws IOException { - super(); this.inputValues = inputValues; this.valuesForMessages = valuesForMessages; } diff --git a/netconf/tools/netconf-testtool/src/main/java/org/opendaylight/netconf/test/tool/ScaleUtil.java b/netconf/tools/netconf-testtool/src/main/java/org/opendaylight/netconf/test/tool/ScaleUtil.java index 36e336ad69..78f5b85434 100644 --- a/netconf/tools/netconf-testtool/src/main/java/org/opendaylight/netconf/test/tool/ScaleUtil.java +++ b/netconf/tools/netconf-testtool/src/main/java/org/opendaylight/netconf/test/tool/ScaleUtil.java @@ -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; } diff --git a/restconf/restconf-common/src/main/java/org/opendaylight/restconf/common/util/IdentityValuesDTO.java b/restconf/restconf-common/src/main/java/org/opendaylight/restconf/common/util/IdentityValuesDTO.java index 8b9841dc4a..3c206598b0 100644 --- a/restconf/restconf-common/src/main/java/org/opendaylight/restconf/common/util/IdentityValuesDTO.java +++ b/restconf/restconf-common/src/main/java/org/opendaylight/restconf/common/util/IdentityValuesDTO.java @@ -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; } diff --git a/restconf/restconf-nb-bierman02/src/main/java/org/opendaylight/netconf/sal/rest/impl/UnsupportedFormatException.java b/restconf/restconf-nb-bierman02/src/main/java/org/opendaylight/netconf/sal/rest/impl/UnsupportedFormatException.java index 2e5cdf48e7..9e21659895 100644 --- a/restconf/restconf-nb-bierman02/src/main/java/org/opendaylight/netconf/sal/rest/impl/UnsupportedFormatException.java +++ b/restconf/restconf-nb-bierman02/src/main/java/org/opendaylight/netconf/sal/rest/impl/UnsupportedFormatException.java @@ -12,7 +12,6 @@ public class UnsupportedFormatException extends Exception { private static final long serialVersionUID = -1741388894406313402L; public UnsupportedFormatException() { - super(); } public UnsupportedFormatException(String message, Throwable cause) { diff --git a/restconf/restconf-nb-bierman02/src/main/java/org/opendaylight/netconf/sal/streams/listeners/ListenerAdapter.java b/restconf/restconf-nb-bierman02/src/main/java/org/opendaylight/netconf/sal/streams/listeners/ListenerAdapter.java index d88f4e5b61..6355769336 100644 --- a/restconf/restconf-nb-bierman02/src/main/java/org/opendaylight/netconf/sal/streams/listeners/ListenerAdapter.java +++ b/restconf/restconf-nb-bierman02/src/main/java/org/opendaylight/netconf/sal/streams/listeners/ListenerAdapter.java @@ -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); diff --git a/restconf/restconf-nb-bierman02/src/main/java/org/opendaylight/netconf/sal/streams/listeners/NotificationListenerAdapter.java b/restconf/restconf-nb-bierman02/src/main/java/org/opendaylight/netconf/sal/streams/listeners/NotificationListenerAdapter.java index eda5b84f94..54e25a7c18 100644 --- a/restconf/restconf-nb-bierman02/src/main/java/org/opendaylight/netconf/sal/streams/listeners/NotificationListenerAdapter.java +++ b/restconf/restconf-nb-bierman02/src/main/java/org/opendaylight/netconf/sal/streams/listeners/NotificationListenerAdapter.java @@ -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); diff --git a/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/rest/impl/test/providers/TestJsonBodyReader.java b/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/rest/impl/test/providers/TestJsonBodyReader.java index bbe455cc3d..e9c772018e 100644 --- a/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/rest/impl/test/providers/TestJsonBodyReader.java +++ b/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/rest/impl/test/providers/TestJsonBodyReader.java @@ -58,7 +58,6 @@ public class TestJsonBodyReader extends AbstractBodyReaderTest { public TestJsonBodyReader() throws NoSuchFieldException, SecurityException { - super(); this.jsonBodyReader = new JsonNormalizedNodeBodyReader(); } diff --git a/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/rest/impl/test/providers/TestJsonBodyReaderMountPoint.java b/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/rest/impl/test/providers/TestJsonBodyReaderMountPoint.java index 8e667128ad..9190a49cad 100644 --- a/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/rest/impl/test/providers/TestJsonBodyReaderMountPoint.java +++ b/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/rest/impl/test/providers/TestJsonBodyReaderMountPoint.java @@ -60,7 +60,6 @@ public class TestJsonBodyReaderMountPoint extends AbstractBodyReaderTest { public TestJsonBodyReaderMountPoint() throws NoSuchFieldException, SecurityException { - super(); this.jsonBodyReader = new JsonNormalizedNodeBodyReader(); } diff --git a/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/rest/impl/test/providers/TestJsonBodyWriter.java b/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/rest/impl/test/providers/TestJsonBodyWriter.java index c952e9d65e..c145c5b895 100644 --- a/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/rest/impl/test/providers/TestJsonBodyWriter.java +++ b/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/rest/impl/test/providers/TestJsonBodyWriter.java @@ -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(); } diff --git a/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/rest/impl/test/providers/TestJsonPatchBodyReader.java b/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/rest/impl/test/providers/TestJsonPatchBodyReader.java index 4f6c7e9b07..aec82f69dc 100644 --- a/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/rest/impl/test/providers/TestJsonPatchBodyReader.java +++ b/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/rest/impl/test/providers/TestJsonPatchBodyReader.java @@ -27,7 +27,6 @@ public class TestJsonPatchBodyReader extends AbstractBodyReaderTest { private static SchemaContext schemaContext; public TestJsonPatchBodyReader() throws NoSuchFieldException, SecurityException { - super(); jsonToPatchBodyReader = new JsonToPatchBodyReader(); } diff --git a/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/rest/impl/test/providers/TestJsonPatchBodyReaderMountPoint.java b/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/rest/impl/test/providers/TestJsonPatchBodyReaderMountPoint.java index de3c0a0891..8567d67b5a 100644 --- a/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/rest/impl/test/providers/TestJsonPatchBodyReaderMountPoint.java +++ b/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/rest/impl/test/providers/TestJsonPatchBodyReaderMountPoint.java @@ -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(); } diff --git a/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/rest/impl/test/providers/TestXmlBodyReader.java b/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/rest/impl/test/providers/TestXmlBodyReader.java index 64bc27aab8..7b6bda9352 100644 --- a/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/rest/impl/test/providers/TestXmlBodyReader.java +++ b/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/rest/impl/test/providers/TestXmlBodyReader.java @@ -60,7 +60,6 @@ public class TestXmlBodyReader extends AbstractBodyReaderTest { } public TestXmlBodyReader() throws Exception { - super(); this.xmlBodyReader = new XmlNormalizedNodeBodyReader(); } diff --git a/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/rest/impl/test/providers/TestXmlBodyReaderMountPoint.java b/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/rest/impl/test/providers/TestXmlBodyReaderMountPoint.java index 88050a138d..9ab3a2ce5f 100644 --- a/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/rest/impl/test/providers/TestXmlBodyReaderMountPoint.java +++ b/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/rest/impl/test/providers/TestXmlBodyReaderMountPoint.java @@ -62,7 +62,6 @@ public class TestXmlBodyReaderMountPoint extends AbstractBodyReaderTest { } public TestXmlBodyReaderMountPoint() throws Exception { - super(); this.xmlBodyReader = new XmlNormalizedNodeBodyReader(); } diff --git a/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/rest/impl/test/providers/TestXmlBodyWriter.java b/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/rest/impl/test/providers/TestXmlBodyWriter.java index 055929a3ab..a1b8777b0c 100644 --- a/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/rest/impl/test/providers/TestXmlBodyWriter.java +++ b/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/rest/impl/test/providers/TestXmlBodyWriter.java @@ -29,7 +29,6 @@ public class TestXmlBodyWriter extends AbstractBodyReaderTest { private static SchemaContext schemaContext; public TestXmlBodyWriter() throws NoSuchFieldException, SecurityException { - super(); this.xmlBodyWriter = new NormalizedNodeXmlBodyWriter(); } diff --git a/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/rest/impl/test/providers/TestXmlPatchBodyReader.java b/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/rest/impl/test/providers/TestXmlPatchBodyReader.java index fea1b6f017..1bdbab9519 100644 --- a/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/rest/impl/test/providers/TestXmlPatchBodyReader.java +++ b/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/rest/impl/test/providers/TestXmlPatchBodyReader.java @@ -26,7 +26,6 @@ public class TestXmlPatchBodyReader extends AbstractBodyReaderTest { private static SchemaContext schemaContext; public TestXmlPatchBodyReader() throws NoSuchFieldException, SecurityException { - super(); xmlToPatchBodyReader = new XmlToPatchBodyReader(); } diff --git a/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/rest/impl/test/providers/TestXmlPatchBodyReaderMountPoint.java b/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/rest/impl/test/providers/TestXmlPatchBodyReaderMountPoint.java index 6da8154b19..b9fd057ea2 100644 --- a/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/rest/impl/test/providers/TestXmlPatchBodyReaderMountPoint.java +++ b/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/rest/impl/test/providers/TestXmlPatchBodyReaderMountPoint.java @@ -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(); } diff --git a/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/restconf/impl/json/to/nn/test/JsonIdentityrefToNnTest.java b/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/restconf/impl/json/to/nn/test/JsonIdentityrefToNnTest.java index 061c177f1b..0345beab95 100644 --- a/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/restconf/impl/json/to/nn/test/JsonIdentityrefToNnTest.java +++ b/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/restconf/impl/json/to/nn/test/JsonIdentityrefToNnTest.java @@ -27,7 +27,6 @@ public class JsonIdentityrefToNnTest extends AbstractBodyReaderTest { public JsonIdentityrefToNnTest() throws NoSuchFieldException, SecurityException { - super(); this.jsonBodyReader = new JsonNormalizedNodeBodyReader(); } diff --git a/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/restconf/impl/json/to/nn/test/JsonLeafrefToNnTest.java b/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/restconf/impl/json/to/nn/test/JsonLeafrefToNnTest.java index 6b7953be6e..f0bfa63d34 100644 --- a/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/restconf/impl/json/to/nn/test/JsonLeafrefToNnTest.java +++ b/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/restconf/impl/json/to/nn/test/JsonLeafrefToNnTest.java @@ -26,7 +26,6 @@ public class JsonLeafrefToNnTest extends AbstractBodyReaderTest { private static SchemaContext schemaContext; public JsonLeafrefToNnTest() throws NoSuchFieldException, SecurityException { - super(); this.jsonBodyReader = new JsonNormalizedNodeBodyReader(); } diff --git a/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/restconf/impl/json/to/nn/test/JsonToNnTest.java b/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/restconf/impl/json/to/nn/test/JsonToNnTest.java index 7bb7276277..ff7cd5703d 100644 --- a/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/restconf/impl/json/to/nn/test/JsonToNnTest.java +++ b/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/restconf/impl/json/to/nn/test/JsonToNnTest.java @@ -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) { diff --git a/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/restconf/impl/nn/to/json/test/NnJsonChoiceCaseTest.java b/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/restconf/impl/nn/to/json/test/NnJsonChoiceCaseTest.java index 2345451bbb..c83261e028 100644 --- a/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/restconf/impl/nn/to/json/test/NnJsonChoiceCaseTest.java +++ b/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/restconf/impl/nn/to/json/test/NnJsonChoiceCaseTest.java @@ -28,7 +28,6 @@ public class NnJsonChoiceCaseTest extends AbstractBodyReaderTest { public NnJsonChoiceCaseTest() throws NoSuchFieldException, SecurityException { - super(); jsonBodyWriter = new NormalizedNodeJsonBodyWriter(); } diff --git a/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/restconf/impl/nn/to/json/test/NnToJsonLeafrefType.java b/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/restconf/impl/nn/to/json/test/NnToJsonLeafrefType.java index 14afbb3fa9..c5d7713328 100644 --- a/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/restconf/impl/nn/to/json/test/NnToJsonLeafrefType.java +++ b/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/restconf/impl/nn/to/json/test/NnToJsonLeafrefType.java @@ -29,7 +29,6 @@ public class NnToJsonLeafrefType extends AbstractBodyReaderTest { private final NormalizedNodeJsonBodyWriter jsonBodyWriter; public NnToJsonLeafrefType() throws NoSuchFieldException, SecurityException { - super(); jsonBodyWriter = new NormalizedNodeJsonBodyWriter(); } diff --git a/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/restconf/impl/nn/to/json/test/NnToJsonWithAugmentTest.java b/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/restconf/impl/nn/to/json/test/NnToJsonWithAugmentTest.java index f09899c44d..0aadde5a78 100644 --- a/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/restconf/impl/nn/to/json/test/NnToJsonWithAugmentTest.java +++ b/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/restconf/impl/nn/to/json/test/NnToJsonWithAugmentTest.java @@ -31,7 +31,6 @@ public class NnToJsonWithAugmentTest extends AbstractBodyReaderTest { public NnToJsonWithAugmentTest() throws NoSuchFieldException, SecurityException { - super(); xmlBodyWriter = new NormalizedNodeJsonBodyWriter(); } diff --git a/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/restconf/impl/nn/to/xml/test/NnInstanceIdentifierToXmlTest.java b/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/restconf/impl/nn/to/xml/test/NnInstanceIdentifierToXmlTest.java index 32c2b63ef9..501c6eff5a 100644 --- a/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/restconf/impl/nn/to/xml/test/NnInstanceIdentifierToXmlTest.java +++ b/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/restconf/impl/nn/to/xml/test/NnInstanceIdentifierToXmlTest.java @@ -50,7 +50,6 @@ public class NnInstanceIdentifierToXmlTest extends AbstractBodyReaderTest { public NnInstanceIdentifierToXmlTest() throws NoSuchFieldException, SecurityException { - super(); xmlBodyWriter = new NormalizedNodeXmlBodyWriter(); } diff --git a/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/restconf/impl/nn/to/xml/test/NnToXmlTest.java b/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/restconf/impl/nn/to/xml/test/NnToXmlTest.java index e4649e5212..03a6279965 100644 --- a/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/restconf/impl/nn/to/xml/test/NnToXmlTest.java +++ b/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/restconf/impl/nn/to/xml/test/NnToXmlTest.java @@ -53,7 +53,6 @@ public class NnToXmlTest extends AbstractBodyReaderTest { private static SchemaContext schemaContext; public NnToXmlTest() throws NoSuchFieldException, SecurityException { - super(); this.xmlBodyWriter = new NormalizedNodeXmlBodyWriter(); } diff --git a/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/restconf/impl/nn/to/xml/test/NnToXmlWithChoiceTest.java b/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/restconf/impl/nn/to/xml/test/NnToXmlWithChoiceTest.java index 180d04f6d3..01830d816c 100644 --- a/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/restconf/impl/nn/to/xml/test/NnToXmlWithChoiceTest.java +++ b/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/restconf/impl/nn/to/xml/test/NnToXmlWithChoiceTest.java @@ -42,7 +42,6 @@ public class NnToXmlWithChoiceTest extends AbstractBodyReaderTest { public NnToXmlWithChoiceTest() throws NoSuchFieldException, SecurityException { - super(); xmlBodyWriter = new NormalizedNodeXmlBodyWriter(); } diff --git a/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/restconf/impl/nn/to/xml/test/NnToXmlWithDataFromSeveralModulesTest.java b/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/restconf/impl/nn/to/xml/test/NnToXmlWithDataFromSeveralModulesTest.java index 8034d74010..0791b8ab12 100644 --- a/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/restconf/impl/nn/to/xml/test/NnToXmlWithDataFromSeveralModulesTest.java +++ b/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/restconf/impl/nn/to/xml/test/NnToXmlWithDataFromSeveralModulesTest.java @@ -44,7 +44,6 @@ public class NnToXmlWithDataFromSeveralModulesTest extends public NnToXmlWithDataFromSeveralModulesTest() throws NoSuchFieldException, SecurityException { - super(); xmlBodyWriter = new NormalizedNodeXmlBodyWriter(); } diff --git a/restconf/restconf-nb-rfc8040/src/main/java/org/opendaylight/restconf/nb/rfc8040/streams/listeners/ListenerAdapter.java b/restconf/restconf-nb-rfc8040/src/main/java/org/opendaylight/restconf/nb/rfc8040/streams/listeners/ListenerAdapter.java index fce6b1e70c..7e2d89b6ff 100644 --- a/restconf/restconf-nb-rfc8040/src/main/java/org/opendaylight/restconf/nb/rfc8040/streams/listeners/ListenerAdapter.java +++ b/restconf/restconf-nb-rfc8040/src/main/java/org/opendaylight/restconf/nb/rfc8040/streams/listeners/ListenerAdapter.java @@ -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()); diff --git a/restconf/restconf-nb-rfc8040/src/main/java/org/opendaylight/restconf/nb/rfc8040/streams/listeners/NotificationListenerAdapter.java b/restconf/restconf-nb-rfc8040/src/main/java/org/opendaylight/restconf/nb/rfc8040/streams/listeners/NotificationListenerAdapter.java index e3eb6fe971..33e08d2e2f 100644 --- a/restconf/restconf-nb-rfc8040/src/main/java/org/opendaylight/restconf/nb/rfc8040/streams/listeners/NotificationListenerAdapter.java +++ b/restconf/restconf-nb-rfc8040/src/main/java/org/opendaylight/restconf/nb/rfc8040/streams/listeners/NotificationListenerAdapter.java @@ -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()); diff --git a/restconf/restconf-nb-rfc8040/src/test/java/org/opendaylight/restconf/nb/rfc8040/jersey/providers/XmlBodyReaderMountPointTest.java b/restconf/restconf-nb-rfc8040/src/test/java/org/opendaylight/restconf/nb/rfc8040/jersey/providers/XmlBodyReaderMountPointTest.java index f3bd4030a9..4378a882a5 100644 --- a/restconf/restconf-nb-rfc8040/src/test/java/org/opendaylight/restconf/nb/rfc8040/jersey/providers/XmlBodyReaderMountPointTest.java +++ b/restconf/restconf-nb-rfc8040/src/test/java/org/opendaylight/restconf/nb/rfc8040/jersey/providers/XmlBodyReaderMountPointTest.java @@ -63,7 +63,6 @@ public class XmlBodyReaderMountPointTest extends AbstractBodyReaderTest { } public XmlBodyReaderMountPointTest() throws Exception { - super(); this.xmlBodyReader = new XmlNormalizedNodeBodyReader(); } diff --git a/restconf/restconf-nb-rfc8040/src/test/java/org/opendaylight/restconf/nb/rfc8040/jersey/providers/patch/JsonPatchBodyReaderMountPointTest.java b/restconf/restconf-nb-rfc8040/src/test/java/org/opendaylight/restconf/nb/rfc8040/jersey/providers/patch/JsonPatchBodyReaderMountPointTest.java index 42b35bfff3..b92a6cedcf 100644 --- a/restconf/restconf-nb-rfc8040/src/test/java/org/opendaylight/restconf/nb/rfc8040/jersey/providers/patch/JsonPatchBodyReaderMountPointTest.java +++ b/restconf/restconf-nb-rfc8040/src/test/java/org/opendaylight/restconf/nb/rfc8040/jersey/providers/patch/JsonPatchBodyReaderMountPointTest.java @@ -37,7 +37,6 @@ public class JsonPatchBodyReaderMountPointTest extends AbstractBodyReaderTest { private final JsonToPatchBodyReader jsonToPatchBodyReader; public JsonPatchBodyReaderMountPointTest() throws Exception { - super(); jsonToPatchBodyReader = new JsonToPatchBodyReader(); } diff --git a/restconf/restconf-nb-rfc8040/src/test/java/org/opendaylight/restconf/nb/rfc8040/jersey/providers/patch/JsonPatchBodyReaderTest.java b/restconf/restconf-nb-rfc8040/src/test/java/org/opendaylight/restconf/nb/rfc8040/jersey/providers/patch/JsonPatchBodyReaderTest.java index 22355a8c7b..d47534b533 100644 --- a/restconf/restconf-nb-rfc8040/src/test/java/org/opendaylight/restconf/nb/rfc8040/jersey/providers/patch/JsonPatchBodyReaderTest.java +++ b/restconf/restconf-nb-rfc8040/src/test/java/org/opendaylight/restconf/nb/rfc8040/jersey/providers/patch/JsonPatchBodyReaderTest.java @@ -32,7 +32,6 @@ public class JsonPatchBodyReaderTest extends AbstractBodyReaderTest { private static SchemaContext schemaContext; public JsonPatchBodyReaderTest() throws Exception { - super(); jsonToPatchBodyReader = new JsonToPatchBodyReader(); } diff --git a/restconf/restconf-nb-rfc8040/src/test/java/org/opendaylight/restconf/nb/rfc8040/jersey/providers/patch/XmlPatchBodyReaderMountPointTest.java b/restconf/restconf-nb-rfc8040/src/test/java/org/opendaylight/restconf/nb/rfc8040/jersey/providers/patch/XmlPatchBodyReaderMountPointTest.java index 652d3bede4..656dbcae49 100644 --- a/restconf/restconf-nb-rfc8040/src/test/java/org/opendaylight/restconf/nb/rfc8040/jersey/providers/patch/XmlPatchBodyReaderMountPointTest.java +++ b/restconf/restconf-nb-rfc8040/src/test/java/org/opendaylight/restconf/nb/rfc8040/jersey/providers/patch/XmlPatchBodyReaderMountPointTest.java @@ -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(); } diff --git a/restconf/restconf-nb-rfc8040/src/test/java/org/opendaylight/restconf/nb/rfc8040/jersey/providers/patch/XmlPatchBodyReaderTest.java b/restconf/restconf-nb-rfc8040/src/test/java/org/opendaylight/restconf/nb/rfc8040/jersey/providers/patch/XmlPatchBodyReaderTest.java index fd3a9b0a52..87d9ef18a1 100644 --- a/restconf/restconf-nb-rfc8040/src/test/java/org/opendaylight/restconf/nb/rfc8040/jersey/providers/patch/XmlPatchBodyReaderTest.java +++ b/restconf/restconf-nb-rfc8040/src/test/java/org/opendaylight/restconf/nb/rfc8040/jersey/providers/patch/XmlPatchBodyReaderTest.java @@ -31,7 +31,6 @@ public class XmlPatchBodyReaderTest extends AbstractBodyReaderTest { private static SchemaContext schemaContext; public XmlPatchBodyReaderTest() throws Exception { - super(); xmlToPatchBodyReader = new XmlToPatchBodyReader(); } diff --git a/restconf/restconf-nb-rfc8040/src/test/java/org/opendaylight/restconf/nb/rfc8040/jersey/providers/test/JsonBodyReaderTest.java b/restconf/restconf-nb-rfc8040/src/test/java/org/opendaylight/restconf/nb/rfc8040/jersey/providers/test/JsonBodyReaderTest.java index fc29d70c3a..da0e964a95 100644 --- a/restconf/restconf-nb-rfc8040/src/test/java/org/opendaylight/restconf/nb/rfc8040/jersey/providers/test/JsonBodyReaderTest.java +++ b/restconf/restconf-nb-rfc8040/src/test/java/org/opendaylight/restconf/nb/rfc8040/jersey/providers/test/JsonBodyReaderTest.java @@ -57,7 +57,6 @@ public class JsonBodyReaderTest extends AbstractBodyReaderTest { } public JsonBodyReaderTest() throws Exception { - super(); this.jsonBodyReader = new JsonNormalizedNodeBodyReader(); } diff --git a/restconf/restconf-nb-rfc8040/src/test/java/org/opendaylight/restconf/nb/rfc8040/jersey/providers/test/XmlBodyReaderTest.java b/restconf/restconf-nb-rfc8040/src/test/java/org/opendaylight/restconf/nb/rfc8040/jersey/providers/test/XmlBodyReaderTest.java index fa2a1d772b..7a6fb00367 100644 --- a/restconf/restconf-nb-rfc8040/src/test/java/org/opendaylight/restconf/nb/rfc8040/jersey/providers/test/XmlBodyReaderTest.java +++ b/restconf/restconf-nb-rfc8040/src/test/java/org/opendaylight/restconf/nb/rfc8040/jersey/providers/test/XmlBodyReaderTest.java @@ -62,7 +62,6 @@ public class XmlBodyReaderTest extends AbstractBodyReaderTest { } public XmlBodyReaderTest() throws Exception { - super(); this.xmlBodyReader = new XmlNormalizedNodeBodyReader(); } -- 2.36.6