diff options
author | Elliott Hughes <enh@google.com> | 2011-03-17 14:40:05 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2011-03-17 14:40:05 -0700 |
commit | 32c2297a959b72abdb18743f0519e1d8b7c7ea88 (patch) | |
tree | 1ef50a0777ba07044be705f89398161660023ed5 | |
parent | 52724d3ebd4ccaaa4b9f5576e329d4272cde8ea9 (diff) | |
download | libcore-32c2297a959b72abdb18743f0519e1d8b7c7ea88.zip libcore-32c2297a959b72abdb18743f0519e1d8b7c7ea88.tar.gz libcore-32c2297a959b72abdb18743f0519e1d8b7c7ea88.tar.bz2 |
Remove bogus "super()" calls.
I've left one in java.util.concurrent, since we have an upstream there.
Change-Id: I60945e48a41433fc7eaef6086433ec4bf434097f
237 files changed, 21 insertions, 296 deletions
diff --git a/luni/src/main/java/java/io/ByteArrayOutputStream.java b/luni/src/main/java/java/io/ByteArrayOutputStream.java index 6c6c8f5..3ab2c20 100644 --- a/luni/src/main/java/java/io/ByteArrayOutputStream.java +++ b/luni/src/main/java/java/io/ByteArrayOutputStream.java @@ -44,7 +44,6 @@ public class ByteArrayOutputStream extends OutputStream { * array will expand. */ public ByteArrayOutputStream() { - super(); buf = new byte[32]; } @@ -60,7 +59,6 @@ public class ByteArrayOutputStream extends OutputStream { * if {@code size} < 0. */ public ByteArrayOutputStream(int size) { - super(); if (size >= 0) { buf = new byte[size]; } else { diff --git a/luni/src/main/java/java/io/CharArrayWriter.java b/luni/src/main/java/java/io/CharArrayWriter.java index eda56f7..0c98a7c 100644 --- a/luni/src/main/java/java/io/CharArrayWriter.java +++ b/luni/src/main/java/java/io/CharArrayWriter.java @@ -45,7 +45,6 @@ public class CharArrayWriter extends Writer { * {@code lock} to synchronize access to this writer. */ public CharArrayWriter() { - super(); buf = new char[32]; lock = buf; } @@ -61,7 +60,6 @@ public class CharArrayWriter extends Writer { * if {@code initialSize < 0}. */ public CharArrayWriter(int initialSize) { - super(); if (initialSize < 0) { throw new IllegalArgumentException("size < 0"); } diff --git a/luni/src/main/java/java/io/CharConversionException.java b/luni/src/main/java/java/io/CharConversionException.java index 97dc186..f3822c4 100644 --- a/luni/src/main/java/java/io/CharConversionException.java +++ b/luni/src/main/java/java/io/CharConversionException.java @@ -29,7 +29,6 @@ public class CharConversionException extends IOException { * filled in. */ public CharConversionException() { - super(); } /** diff --git a/luni/src/main/java/java/io/EOFException.java b/luni/src/main/java/java/io/EOFException.java index 0103469..3496d14 100644 --- a/luni/src/main/java/java/io/EOFException.java +++ b/luni/src/main/java/java/io/EOFException.java @@ -29,7 +29,6 @@ public class EOFException extends IOException { * Constructs a new {@code EOFException} with its stack trace filled in. */ public EOFException() { - super(); } /** diff --git a/luni/src/main/java/java/io/EmulatedFields.java b/luni/src/main/java/java/io/EmulatedFields.java index 7d71643..23efaef 100644 --- a/luni/src/main/java/java/io/EmulatedFields.java +++ b/luni/src/main/java/java/io/EmulatedFields.java @@ -77,7 +77,6 @@ class EmulatedFields { * fields. */ public EmulatedFields(ObjectStreamField[] fields, ObjectStreamField[] declared) { - super(); // We assume the slots are already sorted in the right shape for dumping buildSlots(fields); declaredFields = declared; diff --git a/luni/src/main/java/java/io/EmulatedFieldsForLoading.java b/luni/src/main/java/java/io/EmulatedFieldsForLoading.java index d92f650..9044c60 100644 --- a/luni/src/main/java/java/io/EmulatedFieldsForLoading.java +++ b/luni/src/main/java/java/io/EmulatedFieldsForLoading.java @@ -41,10 +41,8 @@ class EmulatedFieldsForLoading extends ObjectInputStream.GetField { * fields. */ EmulatedFieldsForLoading(ObjectStreamClass streamClass) { - super(); this.streamClass = streamClass; - emulatedFields = new EmulatedFields(streamClass.getLoadFields(), - streamClass.fields()); + emulatedFields = new EmulatedFields(streamClass.getLoadFields(), streamClass.fields()); } /** diff --git a/luni/src/main/java/java/io/FileDescriptor.java b/luni/src/main/java/java/io/FileDescriptor.java index 538ad5a..1211d3b 100644 --- a/luni/src/main/java/java/io/FileDescriptor.java +++ b/luni/src/main/java/java/io/FileDescriptor.java @@ -74,7 +74,6 @@ public final class FileDescriptor { * contained handle is usually modified by native code at a later point. */ public FileDescriptor() { - super(); } /** diff --git a/luni/src/main/java/java/io/FileNotFoundException.java b/luni/src/main/java/java/io/FileNotFoundException.java index 970e972..a71af6e 100644 --- a/luni/src/main/java/java/io/FileNotFoundException.java +++ b/luni/src/main/java/java/io/FileNotFoundException.java @@ -29,7 +29,6 @@ public class FileNotFoundException extends IOException { * filled in. */ public FileNotFoundException() { - super(); } /** diff --git a/luni/src/main/java/java/io/FilePermissionCollection.java b/luni/src/main/java/java/io/FilePermissionCollection.java index fb36855..9db656b 100644 --- a/luni/src/main/java/java/io/FilePermissionCollection.java +++ b/luni/src/main/java/java/io/FilePermissionCollection.java @@ -37,7 +37,6 @@ final class FilePermissionCollection extends PermissionCollection implements * Construct a new FilePermissionCollection */ public FilePermissionCollection() { - super(); } /** diff --git a/luni/src/main/java/java/io/FilterInputStream.java b/luni/src/main/java/java/io/FilterInputStream.java index 99fe132..2bf13e2 100644 --- a/luni/src/main/java/java/io/FilterInputStream.java +++ b/luni/src/main/java/java/io/FilterInputStream.java @@ -45,7 +45,6 @@ public class FilterInputStream extends InputStream { * @param in the input stream to filter reads on. */ protected FilterInputStream(InputStream in) { - super(); this.in = in; } diff --git a/luni/src/main/java/java/io/IOException.java b/luni/src/main/java/java/io/IOException.java index f8ea130..ceb4d49 100644 --- a/luni/src/main/java/java/io/IOException.java +++ b/luni/src/main/java/java/io/IOException.java @@ -31,7 +31,6 @@ public class IOException extends Exception { * Constructs a new {@code IOException} with its stack trace filled in. */ public IOException() { - super(); } /** diff --git a/luni/src/main/java/java/io/InterruptedIOException.java b/luni/src/main/java/java/io/InterruptedIOException.java index c5dabb1..8d79ba5 100644 --- a/luni/src/main/java/java/io/InterruptedIOException.java +++ b/luni/src/main/java/java/io/InterruptedIOException.java @@ -36,7 +36,6 @@ public class InterruptedIOException extends IOException { * filled in. */ public InterruptedIOException() { - super(); } /** diff --git a/luni/src/main/java/java/io/NotActiveException.java b/luni/src/main/java/java/io/NotActiveException.java index 63f286c..8e6600d 100644 --- a/luni/src/main/java/java/io/NotActiveException.java +++ b/luni/src/main/java/java/io/NotActiveException.java @@ -39,7 +39,6 @@ public class NotActiveException extends ObjectStreamException { * in. */ public NotActiveException() { - super(); } /** diff --git a/luni/src/main/java/java/io/NotSerializableException.java b/luni/src/main/java/java/io/NotSerializableException.java index 3bbe736..442d988 100644 --- a/luni/src/main/java/java/io/NotSerializableException.java +++ b/luni/src/main/java/java/io/NotSerializableException.java @@ -36,7 +36,6 @@ public class NotSerializableException extends ObjectStreamException { * filled in. */ public NotSerializableException() { - super(); } /** diff --git a/luni/src/main/java/java/io/ObjectInputStream.java b/luni/src/main/java/java/io/ObjectInputStream.java index 7c9dc0f..d3af278 100644 --- a/luni/src/main/java/java/io/ObjectInputStream.java +++ b/luni/src/main/java/java/io/ObjectInputStream.java @@ -340,7 +340,6 @@ public class ObjectInputStream extends InputStream implements ObjectInput, Objec * if an error occurs when creating this stream. */ protected ObjectInputStream() throws IOException { - super(); // WARNING - we should throw IOException if not called from a subclass // according to the JavaDoc. Add the test. this.subclassOverridingImplementation = true; diff --git a/luni/src/main/java/java/io/ObjectOutputStream.java b/luni/src/main/java/java/io/ObjectOutputStream.java index b60c3f5..5ab3547 100644 --- a/luni/src/main/java/java/io/ObjectOutputStream.java +++ b/luni/src/main/java/java/io/ObjectOutputStream.java @@ -245,7 +245,6 @@ public class ObjectOutputStream extends OutputStream implements ObjectOutput, Ob * if an error occurs when creating this stream. */ protected ObjectOutputStream() throws IOException { - super(); /* * WARNING - we should throw IOException if not called from a subclass * according to the JavaDoc. Add the test. diff --git a/luni/src/main/java/java/io/ObjectStreamClass.java b/luni/src/main/java/java/io/ObjectStreamClass.java index b81fa4a..386cfb0 100644 --- a/luni/src/main/java/java/io/ObjectStreamClass.java +++ b/luni/src/main/java/java/io/ObjectStreamClass.java @@ -219,7 +219,6 @@ public class ObjectStreamClass implements Serializable { * Constructs a new instance of this class. */ ObjectStreamClass() { - super(); } /** diff --git a/luni/src/main/java/java/io/ObjectStreamException.java b/luni/src/main/java/java/io/ObjectStreamException.java index 996ee5e..f54d304 100644 --- a/luni/src/main/java/java/io/ObjectStreamException.java +++ b/luni/src/main/java/java/io/ObjectStreamException.java @@ -38,7 +38,6 @@ public abstract class ObjectStreamException extends IOException { * filled in. */ protected ObjectStreamException() { - super(); } /** diff --git a/luni/src/main/java/java/io/OptionalDataException.java b/luni/src/main/java/java/io/OptionalDataException.java index c99c5cc..292d0bd 100644 --- a/luni/src/main/java/java/io/OptionalDataException.java +++ b/luni/src/main/java/java/io/OptionalDataException.java @@ -46,7 +46,6 @@ public class OptionalDataException extends ObjectStreamException { * filled in. */ OptionalDataException() { - super(); } /** diff --git a/luni/src/main/java/java/io/OutputStream.java b/luni/src/main/java/java/io/OutputStream.java index 851afb9..67c2b7b 100644 --- a/luni/src/main/java/java/io/OutputStream.java +++ b/luni/src/main/java/java/io/OutputStream.java @@ -41,7 +41,6 @@ public abstract class OutputStream implements Closeable, Flushable { * Default constructor. */ public OutputStream() { - super(); } /** diff --git a/luni/src/main/java/java/io/PipedOutputStream.java b/luni/src/main/java/java/io/PipedOutputStream.java index 4fa70fa..a674bb3 100644 --- a/luni/src/main/java/java/io/PipedOutputStream.java +++ b/luni/src/main/java/java/io/PipedOutputStream.java @@ -37,7 +37,6 @@ public class PipedOutputStream extends OutputStream { * written to it. */ public PipedOutputStream() { - super(); } /** @@ -51,7 +50,6 @@ public class PipedOutputStream extends OutputStream { * if this stream or {@code target} are already connected. */ public PipedOutputStream(PipedInputStream target) throws IOException { - super(); connect(target); } diff --git a/luni/src/main/java/java/io/PipedWriter.java b/luni/src/main/java/java/io/PipedWriter.java index adb1733..ece899a 100644 --- a/luni/src/main/java/java/io/PipedWriter.java +++ b/luni/src/main/java/java/io/PipedWriter.java @@ -39,7 +39,6 @@ public class PipedWriter extends Writer { * @see PipedReader */ public PipedWriter() { - super(); } /** diff --git a/luni/src/main/java/java/io/Reader.java b/luni/src/main/java/java/io/Reader.java index 8c37436..310a57c 100644 --- a/luni/src/main/java/java/io/Reader.java +++ b/luni/src/main/java/java/io/Reader.java @@ -47,7 +47,6 @@ public abstract class Reader implements Readable, Closeable { * synchronize critical sections. */ protected Reader() { - super(); lock = this; } diff --git a/luni/src/main/java/java/io/StreamCorruptedException.java b/luni/src/main/java/java/io/StreamCorruptedException.java index a92b1bb..5768a89 100644 --- a/luni/src/main/java/java/io/StreamCorruptedException.java +++ b/luni/src/main/java/java/io/StreamCorruptedException.java @@ -35,7 +35,6 @@ public class StreamCorruptedException extends ObjectStreamException { * filled in. */ public StreamCorruptedException() { - super(); } /** diff --git a/luni/src/main/java/java/io/StringReader.java b/luni/src/main/java/java/io/StringReader.java index 635686e..9f8ff13 100644 --- a/luni/src/main/java/java/io/StringReader.java +++ b/luni/src/main/java/java/io/StringReader.java @@ -43,7 +43,6 @@ public class StringReader extends Reader { * the source string for this reader. */ public StringReader(String str) { - super(); this.str = str; this.count = str.length(); } diff --git a/luni/src/main/java/java/io/StringWriter.java b/luni/src/main/java/java/io/StringWriter.java index 7a74eea..f0b1d18 100644 --- a/luni/src/main/java/java/io/StringWriter.java +++ b/luni/src/main/java/java/io/StringWriter.java @@ -38,7 +38,6 @@ public class StringWriter extends Writer { * writer. */ public StringWriter() { - super(); buf = new StringBuffer(16); lock = buf; } diff --git a/luni/src/main/java/java/io/UTFDataFormatException.java b/luni/src/main/java/java/io/UTFDataFormatException.java index 9fb7518..df56acd 100644 --- a/luni/src/main/java/java/io/UTFDataFormatException.java +++ b/luni/src/main/java/java/io/UTFDataFormatException.java @@ -32,7 +32,6 @@ public class UTFDataFormatException extends IOException { * filled in. */ public UTFDataFormatException() { - super(); } /** diff --git a/luni/src/main/java/java/io/UnsupportedEncodingException.java b/luni/src/main/java/java/io/UnsupportedEncodingException.java index dea0947..f24826b 100644 --- a/luni/src/main/java/java/io/UnsupportedEncodingException.java +++ b/luni/src/main/java/java/io/UnsupportedEncodingException.java @@ -30,7 +30,6 @@ public class UnsupportedEncodingException extends IOException { * trace filled in. */ public UnsupportedEncodingException() { - super(); } /** diff --git a/luni/src/main/java/java/io/Writer.java b/luni/src/main/java/java/io/Writer.java index a766137..2e28b80 100644 --- a/luni/src/main/java/java/io/Writer.java +++ b/luni/src/main/java/java/io/Writer.java @@ -45,7 +45,6 @@ public abstract class Writer implements Appendable, Closeable, Flushable { * synchronize critical sections. */ protected Writer() { - super(); lock = this; } diff --git a/luni/src/main/java/java/lang/AbstractMethodError.java b/luni/src/main/java/java/lang/AbstractMethodError.java index a005270..a212508 100644 --- a/luni/src/main/java/java/lang/AbstractMethodError.java +++ b/luni/src/main/java/java/lang/AbstractMethodError.java @@ -32,7 +32,6 @@ public class AbstractMethodError extends IncompatibleClassChangeError { * stack trace. */ public AbstractMethodError() { - super(); } /** diff --git a/luni/src/main/java/java/lang/ArithmeticException.java b/luni/src/main/java/java/lang/ArithmeticException.java index a6ab2a0..b9c748a 100644 --- a/luni/src/main/java/java/lang/ArithmeticException.java +++ b/luni/src/main/java/java/lang/ArithmeticException.java @@ -29,7 +29,6 @@ public class ArithmeticException extends RuntimeException { * stack trace. */ public ArithmeticException() { - super(); } /** diff --git a/luni/src/main/java/java/lang/ArrayIndexOutOfBoundsException.java b/luni/src/main/java/java/lang/ArrayIndexOutOfBoundsException.java index 53a59d3..87a15e5 100644 --- a/luni/src/main/java/java/lang/ArrayIndexOutOfBoundsException.java +++ b/luni/src/main/java/java/lang/ArrayIndexOutOfBoundsException.java @@ -30,7 +30,6 @@ public class ArrayIndexOutOfBoundsException extends IndexOutOfBoundsException { * current stack trace. */ public ArrayIndexOutOfBoundsException() { - super(); } /** diff --git a/luni/src/main/java/java/lang/ArrayStoreException.java b/luni/src/main/java/java/lang/ArrayStoreException.java index 6cb9c8f..b597a10 100644 --- a/luni/src/main/java/java/lang/ArrayStoreException.java +++ b/luni/src/main/java/java/lang/ArrayStoreException.java @@ -30,7 +30,6 @@ public class ArrayStoreException extends RuntimeException { * stack trace. */ public ArrayStoreException() { - super(); } /** diff --git a/luni/src/main/java/java/lang/AssertionError.java b/luni/src/main/java/java/lang/AssertionError.java index bdf88bd..3d0d2a4 100644 --- a/luni/src/main/java/java/lang/AssertionError.java +++ b/luni/src/main/java/java/lang/AssertionError.java @@ -30,7 +30,6 @@ public class AssertionError extends Error { * Constructs a new {@code AssertionError} with no message. */ public AssertionError() { - super(); } /** diff --git a/luni/src/main/java/java/lang/ClassCastException.java b/luni/src/main/java/java/lang/ClassCastException.java index 676f1b2..e016d70 100644 --- a/luni/src/main/java/java/lang/ClassCastException.java +++ b/luni/src/main/java/java/lang/ClassCastException.java @@ -29,7 +29,6 @@ public class ClassCastException extends RuntimeException { * stack trace. */ public ClassCastException() { - super(); } /** diff --git a/luni/src/main/java/java/lang/ClassCircularityError.java b/luni/src/main/java/java/lang/ClassCircularityError.java index aeee098..5b9a345 100644 --- a/luni/src/main/java/java/lang/ClassCircularityError.java +++ b/luni/src/main/java/java/lang/ClassCircularityError.java @@ -34,7 +34,6 @@ public class ClassCircularityError extends LinkageError { * stack trace. */ public ClassCircularityError() { - super(); } /** diff --git a/luni/src/main/java/java/lang/ClassFormatError.java b/luni/src/main/java/java/lang/ClassFormatError.java index 009f44a..8d537a8 100644 --- a/luni/src/main/java/java/lang/ClassFormatError.java +++ b/luni/src/main/java/java/lang/ClassFormatError.java @@ -30,7 +30,6 @@ public class ClassFormatError extends LinkageError { * trace. */ public ClassFormatError() { - super(); } /** diff --git a/luni/src/main/java/java/lang/CloneNotSupportedException.java b/luni/src/main/java/java/lang/CloneNotSupportedException.java index 2f4f11c..da78b7c 100644 --- a/luni/src/main/java/java/lang/CloneNotSupportedException.java +++ b/luni/src/main/java/java/lang/CloneNotSupportedException.java @@ -32,7 +32,6 @@ public class CloneNotSupportedException extends Exception { * current stack trace. */ public CloneNotSupportedException() { - super(); } /** diff --git a/luni/src/main/java/java/lang/Error.java b/luni/src/main/java/java/lang/Error.java index 790c563..00017fd 100644 --- a/luni/src/main/java/java/lang/Error.java +++ b/luni/src/main/java/java/lang/Error.java @@ -35,7 +35,6 @@ public class Error extends Throwable { * Constructs a new {@code Error} that includes the current stack trace. */ public Error() { - super(); } /** diff --git a/luni/src/main/java/java/lang/Exception.java b/luni/src/main/java/java/lang/Exception.java index a3cd1c3..1901895 100644 --- a/luni/src/main/java/java/lang/Exception.java +++ b/luni/src/main/java/java/lang/Exception.java @@ -34,7 +34,6 @@ public class Exception extends Throwable { * Constructs a new {@code Exception} that includes the current stack trace. */ public Exception() { - super(); } /** diff --git a/luni/src/main/java/java/lang/ExceptionInInitializerError.java b/luni/src/main/java/java/lang/ExceptionInInitializerError.java index 61f651d..e2eb757 100644 --- a/luni/src/main/java/java/lang/ExceptionInInitializerError.java +++ b/luni/src/main/java/java/lang/ExceptionInInitializerError.java @@ -31,7 +31,6 @@ public class ExceptionInInitializerError extends LinkageError { * current stack trace. */ public ExceptionInInitializerError() { - super(); initCause(null); } @@ -56,7 +55,6 @@ public class ExceptionInInitializerError extends LinkageError { * the exception that caused this error. */ public ExceptionInInitializerError(Throwable exception) { - super(); this.exception = exception; initCause(exception); } diff --git a/luni/src/main/java/java/lang/IllegalAccessError.java b/luni/src/main/java/java/lang/IllegalAccessError.java index 02e6646..3f7cf86 100644 --- a/luni/src/main/java/java/lang/IllegalAccessError.java +++ b/luni/src/main/java/java/lang/IllegalAccessError.java @@ -32,7 +32,6 @@ public class IllegalAccessError extends IncompatibleClassChangeError { * stack trace. */ public IllegalAccessError() { - super(); } /** diff --git a/luni/src/main/java/java/lang/IllegalAccessException.java b/luni/src/main/java/java/lang/IllegalAccessException.java index 0a25fda..4625395 100644 --- a/luni/src/main/java/java/lang/IllegalAccessException.java +++ b/luni/src/main/java/java/lang/IllegalAccessException.java @@ -30,7 +30,6 @@ public class IllegalAccessException extends Exception { * stack trace. */ public IllegalAccessException() { - super(); } /** diff --git a/luni/src/main/java/java/lang/IllegalArgumentException.java b/luni/src/main/java/java/lang/IllegalArgumentException.java index c447791..f6548fc 100644 --- a/luni/src/main/java/java/lang/IllegalArgumentException.java +++ b/luni/src/main/java/java/lang/IllegalArgumentException.java @@ -30,7 +30,6 @@ public class IllegalArgumentException extends RuntimeException { * current stack trace. */ public IllegalArgumentException() { - super(); } /** diff --git a/luni/src/main/java/java/lang/IllegalMonitorStateException.java b/luni/src/main/java/java/lang/IllegalMonitorStateException.java index 413b224..eb8cd3d 100644 --- a/luni/src/main/java/java/lang/IllegalMonitorStateException.java +++ b/luni/src/main/java/java/lang/IllegalMonitorStateException.java @@ -31,7 +31,6 @@ public class IllegalMonitorStateException extends RuntimeException { * current stack trace. */ public IllegalMonitorStateException() { - super(); } /** diff --git a/luni/src/main/java/java/lang/IllegalStateException.java b/luni/src/main/java/java/lang/IllegalStateException.java index 5af4243..1493843 100644 --- a/luni/src/main/java/java/lang/IllegalStateException.java +++ b/luni/src/main/java/java/lang/IllegalStateException.java @@ -30,7 +30,6 @@ public class IllegalStateException extends RuntimeException { * stack trace. */ public IllegalStateException() { - super(); } /** diff --git a/luni/src/main/java/java/lang/IllegalThreadStateException.java b/luni/src/main/java/java/lang/IllegalThreadStateException.java index a8229f5..3e6807f 100644 --- a/luni/src/main/java/java/lang/IllegalThreadStateException.java +++ b/luni/src/main/java/java/lang/IllegalThreadStateException.java @@ -30,7 +30,6 @@ public class IllegalThreadStateException extends IllegalArgumentException { * current stack trace. */ public IllegalThreadStateException() { - super(); } /** diff --git a/luni/src/main/java/java/lang/IncompatibleClassChangeError.java b/luni/src/main/java/java/lang/IncompatibleClassChangeError.java index 50ce387..4e439cd 100644 --- a/luni/src/main/java/java/lang/IncompatibleClassChangeError.java +++ b/luni/src/main/java/java/lang/IncompatibleClassChangeError.java @@ -34,7 +34,6 @@ public class IncompatibleClassChangeError extends LinkageError { * current stack trace. */ public IncompatibleClassChangeError() { - super(); } /** diff --git a/luni/src/main/java/java/lang/IndexOutOfBoundsException.java b/luni/src/main/java/java/lang/IndexOutOfBoundsException.java index 1a61222..1f400ae 100644 --- a/luni/src/main/java/java/lang/IndexOutOfBoundsException.java +++ b/luni/src/main/java/java/lang/IndexOutOfBoundsException.java @@ -30,7 +30,6 @@ public class IndexOutOfBoundsException extends RuntimeException { * current stack trace. */ public IndexOutOfBoundsException() { - super(); } /** diff --git a/luni/src/main/java/java/lang/InheritableThreadLocal.java b/luni/src/main/java/java/lang/InheritableThreadLocal.java index 772c61b..ab6b589 100644 --- a/luni/src/main/java/java/lang/InheritableThreadLocal.java +++ b/luni/src/main/java/java/lang/InheritableThreadLocal.java @@ -35,7 +35,6 @@ public class InheritableThreadLocal<T> extends ThreadLocal<T> { * Creates a new inheritable thread-local variable. */ public InheritableThreadLocal() { - super(); } /** diff --git a/luni/src/main/java/java/lang/InstantiationError.java b/luni/src/main/java/java/lang/InstantiationError.java index a467d39..3bc9065 100644 --- a/luni/src/main/java/java/lang/InstantiationError.java +++ b/luni/src/main/java/java/lang/InstantiationError.java @@ -32,7 +32,6 @@ public class InstantiationError extends IncompatibleClassChangeError { * stack trace. */ public InstantiationError() { - super(); } /** diff --git a/luni/src/main/java/java/lang/InstantiationException.java b/luni/src/main/java/java/lang/InstantiationException.java index ac0733b..a5f288b 100644 --- a/luni/src/main/java/java/lang/InstantiationException.java +++ b/luni/src/main/java/java/lang/InstantiationException.java @@ -29,7 +29,6 @@ public class InstantiationException extends Exception { * stack trace. */ public InstantiationException() { - super(); } /** diff --git a/luni/src/main/java/java/lang/InternalError.java b/luni/src/main/java/java/lang/InternalError.java index 188bf36..fd1e058 100644 --- a/luni/src/main/java/java/lang/InternalError.java +++ b/luni/src/main/java/java/lang/InternalError.java @@ -29,7 +29,6 @@ public class InternalError extends VirtualMachineError { * trace. */ public InternalError() { - super(); } /** diff --git a/luni/src/main/java/java/lang/InterruptedException.java b/luni/src/main/java/java/lang/InterruptedException.java index 63ed4f3..b878938 100644 --- a/luni/src/main/java/java/lang/InterruptedException.java +++ b/luni/src/main/java/java/lang/InterruptedException.java @@ -30,7 +30,6 @@ public class InterruptedException extends Exception { * stack trace. */ public InterruptedException() { - super(); } /** diff --git a/luni/src/main/java/java/lang/LinkageError.java b/luni/src/main/java/java/lang/LinkageError.java index 4cae1cf..0bd0a53 100644 --- a/luni/src/main/java/java/lang/LinkageError.java +++ b/luni/src/main/java/java/lang/LinkageError.java @@ -33,7 +33,6 @@ public class LinkageError extends Error { * trace. */ public LinkageError() { - super(); } /** diff --git a/luni/src/main/java/java/lang/NegativeArraySizeException.java b/luni/src/main/java/java/lang/NegativeArraySizeException.java index aa3eb2f..9f5ec03 100644 --- a/luni/src/main/java/java/lang/NegativeArraySizeException.java +++ b/luni/src/main/java/java/lang/NegativeArraySizeException.java @@ -30,7 +30,6 @@ public class NegativeArraySizeException extends RuntimeException { * current stack trace. */ public NegativeArraySizeException() { - super(); } /** diff --git a/luni/src/main/java/java/lang/NoClassDefFoundError.java b/luni/src/main/java/java/lang/NoClassDefFoundError.java index e11392f..b796711 100644 --- a/luni/src/main/java/java/lang/NoClassDefFoundError.java +++ b/luni/src/main/java/java/lang/NoClassDefFoundError.java @@ -30,7 +30,6 @@ public class NoClassDefFoundError extends LinkageError { * stack trace. */ public NoClassDefFoundError() { - super(); } /** diff --git a/luni/src/main/java/java/lang/NoSuchFieldError.java b/luni/src/main/java/java/lang/NoSuchFieldError.java index d8ab9d8..bc2c4ab 100644 --- a/luni/src/main/java/java/lang/NoSuchFieldError.java +++ b/luni/src/main/java/java/lang/NoSuchFieldError.java @@ -32,7 +32,6 @@ public class NoSuchFieldError extends IncompatibleClassChangeError { * trace. */ public NoSuchFieldError() { - super(); } /** diff --git a/luni/src/main/java/java/lang/NoSuchFieldException.java b/luni/src/main/java/java/lang/NoSuchFieldException.java index 5e5ddd9..bea6ecb 100644 --- a/luni/src/main/java/java/lang/NoSuchFieldException.java +++ b/luni/src/main/java/java/lang/NoSuchFieldException.java @@ -30,7 +30,6 @@ public class NoSuchFieldException extends Exception { * stack trace. */ public NoSuchFieldException() { - super(); } /** diff --git a/luni/src/main/java/java/lang/NoSuchMethodError.java b/luni/src/main/java/java/lang/NoSuchMethodError.java index 968de73..67d5598 100644 --- a/luni/src/main/java/java/lang/NoSuchMethodError.java +++ b/luni/src/main/java/java/lang/NoSuchMethodError.java @@ -30,7 +30,6 @@ public class NoSuchMethodError extends IncompatibleClassChangeError { * stack trace. */ public NoSuchMethodError() { - super(); } /** diff --git a/luni/src/main/java/java/lang/NoSuchMethodException.java b/luni/src/main/java/java/lang/NoSuchMethodException.java index e10dee3..7cae49b 100644 --- a/luni/src/main/java/java/lang/NoSuchMethodException.java +++ b/luni/src/main/java/java/lang/NoSuchMethodException.java @@ -30,7 +30,6 @@ public class NoSuchMethodException extends Exception { * stack trace. */ public NoSuchMethodException() { - super(); } /** diff --git a/luni/src/main/java/java/lang/NullPointerException.java b/luni/src/main/java/java/lang/NullPointerException.java index 77bba3e..f9f1030 100644 --- a/luni/src/main/java/java/lang/NullPointerException.java +++ b/luni/src/main/java/java/lang/NullPointerException.java @@ -33,7 +33,6 @@ public class NullPointerException extends RuntimeException { * stack trace. */ public NullPointerException() { - super(); } /** diff --git a/luni/src/main/java/java/lang/NumberFormatException.java b/luni/src/main/java/java/lang/NumberFormatException.java index 650200e..8608180 100644 --- a/luni/src/main/java/java/lang/NumberFormatException.java +++ b/luni/src/main/java/java/lang/NumberFormatException.java @@ -30,7 +30,6 @@ public class NumberFormatException extends IllegalArgumentException { * stack trace. */ public NumberFormatException() { - super(); } /** diff --git a/luni/src/main/java/java/lang/OutOfMemoryError.java b/luni/src/main/java/java/lang/OutOfMemoryError.java index 3a929af..feb88c3 100644 --- a/luni/src/main/java/java/lang/OutOfMemoryError.java +++ b/luni/src/main/java/java/lang/OutOfMemoryError.java @@ -31,7 +31,6 @@ public class OutOfMemoryError extends VirtualMachineError { * trace. */ public OutOfMemoryError() { - super(); } /** diff --git a/luni/src/main/java/java/lang/ProcessBuilder.java b/luni/src/main/java/java/lang/ProcessBuilder.java index 7b8c0c4..5b7efdc 100644 --- a/luni/src/main/java/java/lang/ProcessBuilder.java +++ b/luni/src/main/java/java/lang/ProcessBuilder.java @@ -58,7 +58,6 @@ public final class ProcessBuilder { * if {@code command} is {@code null}. */ public ProcessBuilder(List<String> command) { - super(); if (command == null) { throw new NullPointerException(); } diff --git a/luni/src/main/java/java/lang/RuntimeException.java b/luni/src/main/java/java/lang/RuntimeException.java index 41890e9..b25905d 100644 --- a/luni/src/main/java/java/lang/RuntimeException.java +++ b/luni/src/main/java/java/lang/RuntimeException.java @@ -33,7 +33,6 @@ public class RuntimeException extends Exception { * trace. */ public RuntimeException() { - super(); } /** diff --git a/luni/src/main/java/java/lang/SecurityException.java b/luni/src/main/java/java/lang/SecurityException.java index 1474b97..42d64a8 100644 --- a/luni/src/main/java/java/lang/SecurityException.java +++ b/luni/src/main/java/java/lang/SecurityException.java @@ -29,7 +29,6 @@ public class SecurityException extends RuntimeException { * stack trace. */ public SecurityException() { - super(); } /** diff --git a/luni/src/main/java/java/lang/StackOverflowError.java b/luni/src/main/java/java/lang/StackOverflowError.java index b18949b..8af7dee 100644 --- a/luni/src/main/java/java/lang/StackOverflowError.java +++ b/luni/src/main/java/java/lang/StackOverflowError.java @@ -32,7 +32,6 @@ public class StackOverflowError extends VirtualMachineError { * stack trace. */ public StackOverflowError() { - super(); } /** diff --git a/luni/src/main/java/java/lang/StackTraceElement.java b/luni/src/main/java/java/lang/StackTraceElement.java index 78579f8..b83120c 100644 --- a/luni/src/main/java/java/lang/StackTraceElement.java +++ b/luni/src/main/java/java/lang/StackTraceElement.java @@ -58,7 +58,6 @@ public final class StackTraceElement implements Serializable { * if {@code cls} or {@code method} is {@code null}. */ public StackTraceElement(String cls, String method, String file, int line) { - super(); if (cls == null || method == null) { throw new NullPointerException(); } @@ -74,7 +73,6 @@ public final class StackTraceElement implements Serializable { * </p> */ private StackTraceElement() { - super(); } /** diff --git a/luni/src/main/java/java/lang/String.java b/luni/src/main/java/java/lang/String.java index d4c9a07..56b99f4 100644 --- a/luni/src/main/java/java/lang/String.java +++ b/luni/src/main/java/java/lang/String.java @@ -522,7 +522,6 @@ outer: * @since 1.5 */ public String(int[] codePoints, int offset, int count) { - super(); if (codePoints == null) { throw new NullPointerException(); } diff --git a/luni/src/main/java/java/lang/StringBuffer.java b/luni/src/main/java/java/lang/StringBuffer.java index d5280d2..c50b722 100644 --- a/luni/src/main/java/java/lang/StringBuffer.java +++ b/luni/src/main/java/java/lang/StringBuffer.java @@ -57,7 +57,6 @@ public final class StringBuffer extends AbstractStringBuilder implements * Constructs a new StringBuffer using the default capacity which is 16. */ public StringBuffer() { - super(); } /** diff --git a/luni/src/main/java/java/lang/StringBuilder.java b/luni/src/main/java/java/lang/StringBuilder.java index 8aea930..d886100 100644 --- a/luni/src/main/java/java/lang/StringBuilder.java +++ b/luni/src/main/java/java/lang/StringBuilder.java @@ -52,7 +52,6 @@ public final class StringBuilder extends AbstractStringBuilder implements * @see #capacity() */ public StringBuilder() { - super(); } /** diff --git a/luni/src/main/java/java/lang/StringIndexOutOfBoundsException.java b/luni/src/main/java/java/lang/StringIndexOutOfBoundsException.java index fcb83bf..3930cd0 100644 --- a/luni/src/main/java/java/lang/StringIndexOutOfBoundsException.java +++ b/luni/src/main/java/java/lang/StringIndexOutOfBoundsException.java @@ -30,7 +30,6 @@ public class StringIndexOutOfBoundsException extends IndexOutOfBoundsException { * the current stack trace. */ public StringIndexOutOfBoundsException() { - super(); } /** diff --git a/luni/src/main/java/java/lang/Throwable.java b/luni/src/main/java/java/lang/Throwable.java index 13631eb..05cb1d1 100644 --- a/luni/src/main/java/java/lang/Throwable.java +++ b/luni/src/main/java/java/lang/Throwable.java @@ -70,7 +70,6 @@ public class Throwable implements java.io.Serializable { * Constructs a new {@code Throwable} that includes the current stack trace. */ public Throwable() { - super(); fillInStackTrace(); } diff --git a/luni/src/main/java/java/lang/UnknownError.java b/luni/src/main/java/java/lang/UnknownError.java index 4f4ec40..91bfe50 100644 --- a/luni/src/main/java/java/lang/UnknownError.java +++ b/luni/src/main/java/java/lang/UnknownError.java @@ -30,7 +30,6 @@ public class UnknownError extends VirtualMachineError { * trace. */ public UnknownError() { - super(); } /** diff --git a/luni/src/main/java/java/lang/UnsatisfiedLinkError.java b/luni/src/main/java/java/lang/UnsatisfiedLinkError.java index 1ff0ba6..b05c26d 100644 --- a/luni/src/main/java/java/lang/UnsatisfiedLinkError.java +++ b/luni/src/main/java/java/lang/UnsatisfiedLinkError.java @@ -30,7 +30,6 @@ public class UnsatisfiedLinkError extends LinkageError { * stack trace. */ public UnsatisfiedLinkError() { - super(); } /** diff --git a/luni/src/main/java/java/lang/UnsupportedClassVersionError.java b/luni/src/main/java/java/lang/UnsupportedClassVersionError.java index d718e28..5c6a6cf 100644 --- a/luni/src/main/java/java/lang/UnsupportedClassVersionError.java +++ b/luni/src/main/java/java/lang/UnsupportedClassVersionError.java @@ -30,7 +30,6 @@ public class UnsupportedClassVersionError extends ClassFormatError { * current stack trace. */ public UnsupportedClassVersionError() { - super(); } /** diff --git a/luni/src/main/java/java/lang/VerifyError.java b/luni/src/main/java/java/lang/VerifyError.java index 2555c3a..05bbaf6 100644 --- a/luni/src/main/java/java/lang/VerifyError.java +++ b/luni/src/main/java/java/lang/VerifyError.java @@ -30,7 +30,6 @@ public class VerifyError extends LinkageError { * trace. */ public VerifyError() { - super(); } /** diff --git a/luni/src/main/java/java/lang/VirtualMachineError.java b/luni/src/main/java/java/lang/VirtualMachineError.java index fc08d3c..7ef1eea 100644 --- a/luni/src/main/java/java/lang/VirtualMachineError.java +++ b/luni/src/main/java/java/lang/VirtualMachineError.java @@ -33,7 +33,6 @@ public abstract class VirtualMachineError extends Error { * stack trace. */ public VirtualMachineError() { - super(); } /** diff --git a/luni/src/main/java/java/lang/ref/Reference.java b/luni/src/main/java/java/lang/ref/Reference.java index fd215d5..ef4a7e0 100644 --- a/luni/src/main/java/java/lang/ref/Reference.java +++ b/luni/src/main/java/java/lang/ref/Reference.java @@ -78,11 +78,9 @@ public abstract class Reference<T> { * Constructs a new instance of this class. */ Reference() { - super(); } Reference(T r, ReferenceQueue q) { - super(); referent = r; queue = q; } diff --git a/luni/src/main/java/java/lang/ref/ReferenceQueue.java b/luni/src/main/java/java/lang/ref/ReferenceQueue.java index b59d4f5..3f02a59 100644 --- a/luni/src/main/java/java/lang/ref/ReferenceQueue.java +++ b/luni/src/main/java/java/lang/ref/ReferenceQueue.java @@ -32,7 +32,6 @@ public class ReferenceQueue<T> { * Constructs a new instance of this class. */ public ReferenceQueue() { - super(); } /** diff --git a/luni/src/main/java/java/lang/reflect/AccessibleObject.java b/luni/src/main/java/java/lang/reflect/AccessibleObject.java index a5ae2c3..61658df 100644 --- a/luni/src/main/java/java/lang/reflect/AccessibleObject.java +++ b/luni/src/main/java/java/lang/reflect/AccessibleObject.java @@ -101,7 +101,6 @@ public class AccessibleObject implements AnnotatedElement { * machine. */ protected AccessibleObject() { - super(); } /** diff --git a/luni/src/main/java/java/lang/reflect/GenericSignatureFormatError.java b/luni/src/main/java/java/lang/reflect/GenericSignatureFormatError.java index d9363c0..cf44af4 100644 --- a/luni/src/main/java/java/lang/reflect/GenericSignatureFormatError.java +++ b/luni/src/main/java/java/lang/reflect/GenericSignatureFormatError.java @@ -31,6 +31,5 @@ public class GenericSignatureFormatError extends ClassFormatError { * Constructs a new {@code GenericSignatureFormatError} instance. */ public GenericSignatureFormatError() { - super(); } } diff --git a/luni/src/main/java/java/lang/reflect/MalformedParameterizedTypeException.java b/luni/src/main/java/java/lang/reflect/MalformedParameterizedTypeException.java index 952db94..cedf150 100644 --- a/luni/src/main/java/java/lang/reflect/MalformedParameterizedTypeException.java +++ b/luni/src/main/java/java/lang/reflect/MalformedParameterizedTypeException.java @@ -31,6 +31,5 @@ public class MalformedParameterizedTypeException extends RuntimeException { * Constructs a new {@code MalformedParameterizedTypeException} instance. */ public MalformedParameterizedTypeException() { - super(); } } diff --git a/luni/src/main/java/java/lang/reflect/UndeclaredThrowableException.java b/luni/src/main/java/java/lang/reflect/UndeclaredThrowableException.java index 4b545bb..25eed16 100644 --- a/luni/src/main/java/java/lang/reflect/UndeclaredThrowableException.java +++ b/luni/src/main/java/java/lang/reflect/UndeclaredThrowableException.java @@ -37,7 +37,6 @@ public class UndeclaredThrowableException extends RuntimeException { * the undeclared, checked exception that occurred */ public UndeclaredThrowableException(Throwable exception) { - super(); this.undeclaredThrowable = exception; initCause(exception); } diff --git a/luni/src/main/java/java/net/BindException.java b/luni/src/main/java/java/net/BindException.java index 8a84914..3c5151a 100644 --- a/luni/src/main/java/java/net/BindException.java +++ b/luni/src/main/java/java/net/BindException.java @@ -29,7 +29,6 @@ public class BindException extends SocketException { * Constructs a new instance with its walkback filled in. */ public BindException() { - super(); } /** diff --git a/luni/src/main/java/java/net/CacheRequest.java b/luni/src/main/java/java/net/CacheRequest.java index e7a7815..9a663dd 100644 --- a/luni/src/main/java/java/net/CacheRequest.java +++ b/luni/src/main/java/java/net/CacheRequest.java @@ -36,7 +36,6 @@ public abstract class CacheRequest { * This implementation does nothing. */ public CacheRequest() { - super(); } /** diff --git a/luni/src/main/java/java/net/ConnectException.java b/luni/src/main/java/java/net/ConnectException.java index 84cd2bb..554316f 100644 --- a/luni/src/main/java/java/net/ConnectException.java +++ b/luni/src/main/java/java/net/ConnectException.java @@ -29,7 +29,6 @@ public class ConnectException extends SocketException { * This implementation does nothing. */ public ConnectException() { - super(); } /** diff --git a/luni/src/main/java/java/net/DatagramPacket.java b/luni/src/main/java/java/net/DatagramPacket.java index 8e7d6fa..663585c 100644 --- a/luni/src/main/java/java/net/DatagramPacket.java +++ b/luni/src/main/java/java/net/DatagramPacket.java @@ -72,7 +72,6 @@ public final class DatagramPacket { * the length of the data. */ public DatagramPacket(byte[] data, int offset, int length) { - super(); setData(data, offset, length); } diff --git a/luni/src/main/java/java/net/DatagramSocket.java b/luni/src/main/java/java/net/DatagramSocket.java index b8f3402..2304d13 100644 --- a/luni/src/main/java/java/net/DatagramSocket.java +++ b/luni/src/main/java/java/net/DatagramSocket.java @@ -68,7 +68,6 @@ public class DatagramSocket { * if an error occurs while creating or binding the socket. */ public DatagramSocket(int aPort) throws SocketException { - super(); checkListen(aPort); createSocket(aPort, Inet4Address.ANY); } @@ -86,7 +85,6 @@ public class DatagramSocket { * if an error occurs while creating or binding the socket. */ public DatagramSocket(int aPort, InetAddress addr) throws SocketException { - super(); checkListen(aPort); createSocket(aPort, (addr == null) ? Inet4Address.ANY : addr); } diff --git a/luni/src/main/java/java/net/MalformedURLException.java b/luni/src/main/java/java/net/MalformedURLException.java index 2c6dbd9..66bbb54 100644 --- a/luni/src/main/java/java/net/MalformedURLException.java +++ b/luni/src/main/java/java/net/MalformedURLException.java @@ -33,7 +33,6 @@ public class MalformedURLException extends IOException { * Constructs a new instance of this class with its walkback filled in. */ public MalformedURLException() { - super(); } /** diff --git a/luni/src/main/java/java/net/MulticastSocket.java b/luni/src/main/java/java/net/MulticastSocket.java index 268b543..a04960f 100644 --- a/luni/src/main/java/java/net/MulticastSocket.java +++ b/luni/src/main/java/java/net/MulticastSocket.java @@ -40,7 +40,6 @@ public class MulticastSocket extends DatagramSocket { * if an error occurs creating or binding the socket. */ public MulticastSocket() throws IOException { - super(); setReuseAddress(true); } diff --git a/luni/src/main/java/java/net/NoRouteToHostException.java b/luni/src/main/java/java/net/NoRouteToHostException.java index 3a9309c..64b20b1 100644 --- a/luni/src/main/java/java/net/NoRouteToHostException.java +++ b/luni/src/main/java/java/net/NoRouteToHostException.java @@ -30,7 +30,6 @@ public class NoRouteToHostException extends SocketException { * Constructs a new instance of this exception with its walkback filled in. */ public NoRouteToHostException() { - super(); } /** diff --git a/luni/src/main/java/java/net/PlainDatagramSocketImpl.java b/luni/src/main/java/java/net/PlainDatagramSocketImpl.java index 1109a0e..e090f06 100644 --- a/luni/src/main/java/java/net/PlainDatagramSocketImpl.java +++ b/luni/src/main/java/java/net/PlainDatagramSocketImpl.java @@ -57,7 +57,6 @@ public class PlainDatagramSocketImpl extends DatagramSocketImpl { private int connectedPort = -1; public PlainDatagramSocketImpl(FileDescriptor fd, int localPort) { - super(); this.fd = fd; this.localPort = localPort; if (fd.valid()) { @@ -66,7 +65,6 @@ public class PlainDatagramSocketImpl extends DatagramSocketImpl { } public PlainDatagramSocketImpl() { - super(); fd = new FileDescriptor(); } diff --git a/luni/src/main/java/java/net/PlainSocketImpl.java b/luni/src/main/java/java/net/PlainSocketImpl.java index c549513..681f9ef 100644 --- a/luni/src/main/java/java/net/PlainSocketImpl.java +++ b/luni/src/main/java/java/net/PlainSocketImpl.java @@ -73,7 +73,6 @@ public class PlainSocketImpl extends SocketImpl { } public PlainSocketImpl(FileDescriptor fd, int localport, InetAddress addr, int port) { - super(); this.fd = fd; this.localport = localport; this.address = addr; diff --git a/luni/src/main/java/java/net/ProtocolException.java b/luni/src/main/java/java/net/ProtocolException.java index 1be76ec..4d7dd35 100644 --- a/luni/src/main/java/java/net/ProtocolException.java +++ b/luni/src/main/java/java/net/ProtocolException.java @@ -30,7 +30,6 @@ public class ProtocolException extends java.io.IOException { * Constructs a new instance of this class with its walkback filled in. */ public ProtocolException() { - super(); } /** diff --git a/luni/src/main/java/java/net/SecureCacheResponse.java b/luni/src/main/java/java/net/SecureCacheResponse.java index ece02ac..60e44b2 100644 --- a/luni/src/main/java/java/net/SecureCacheResponse.java +++ b/luni/src/main/java/java/net/SecureCacheResponse.java @@ -33,7 +33,6 @@ public abstract class SecureCacheResponse extends CacheResponse { * Creates a new instance of this class. */ public SecureCacheResponse() { - super(); } /** diff --git a/luni/src/main/java/java/net/ServerSocket.java b/luni/src/main/java/java/net/ServerSocket.java index 45d6637..663cddf 100644 --- a/luni/src/main/java/java/net/ServerSocket.java +++ b/luni/src/main/java/java/net/ServerSocket.java @@ -107,9 +107,7 @@ public class ServerSocket { * @throws IOException * if an error occurs while creating the server socket. */ - public ServerSocket(int aport, int backlog, InetAddress localAddr) - throws IOException { - super(); + public ServerSocket(int aport, int backlog, InetAddress localAddr) throws IOException { checkListen(aport); impl = factory != null ? factory.createSocketImpl() : new PlainServerSocketImpl(); diff --git a/luni/src/main/java/java/net/SocketAddress.java b/luni/src/main/java/java/net/SocketAddress.java index e84ebfd..70d26da 100644 --- a/luni/src/main/java/java/net/SocketAddress.java +++ b/luni/src/main/java/java/net/SocketAddress.java @@ -32,6 +32,5 @@ public abstract class SocketAddress implements Serializable { * Creates a new {@code SocketAddress} instance. */ public SocketAddress() { - super(); } } diff --git a/luni/src/main/java/java/net/SocketException.java b/luni/src/main/java/java/net/SocketException.java index 4a24692..0f930e0 100644 --- a/luni/src/main/java/java/net/SocketException.java +++ b/luni/src/main/java/java/net/SocketException.java @@ -32,7 +32,6 @@ public class SocketException extends IOException { * filled in. */ public SocketException() { - super(); } /** diff --git a/luni/src/main/java/java/net/SocketPermissionCollection.java b/luni/src/main/java/java/net/SocketPermissionCollection.java index 60bb831..545782b 100644 --- a/luni/src/main/java/java/net/SocketPermissionCollection.java +++ b/luni/src/main/java/java/net/SocketPermissionCollection.java @@ -35,7 +35,6 @@ final class SocketPermissionCollection extends PermissionCollection { // Constructs a new instance of this class. public SocketPermissionCollection() { - super(); } // Adds the argument to the collection. diff --git a/luni/src/main/java/java/net/SocketTimeoutException.java b/luni/src/main/java/java/net/SocketTimeoutException.java index 9d5943f..8ce324a 100644 --- a/luni/src/main/java/java/net/SocketTimeoutException.java +++ b/luni/src/main/java/java/net/SocketTimeoutException.java @@ -32,7 +32,6 @@ public class SocketTimeoutException extends InterruptedIOException { * filled in. */ public SocketTimeoutException() { - super(); } /** diff --git a/luni/src/main/java/java/net/Socks4Message.java b/luni/src/main/java/java/net/Socks4Message.java index 7595348..c193520 100644 --- a/luni/src/main/java/java/net/Socks4Message.java +++ b/luni/src/main/java/java/net/Socks4Message.java @@ -55,7 +55,6 @@ class Socks4Message { protected byte[] buffer; public Socks4Message() { - super(); buffer = new byte[BUFFER_LENGTH]; setVersionNumber(SOCKS_VERSION); } diff --git a/luni/src/main/java/java/net/UnknownHostException.java b/luni/src/main/java/java/net/UnknownHostException.java index 876593b..6c4873e 100644 --- a/luni/src/main/java/java/net/UnknownHostException.java +++ b/luni/src/main/java/java/net/UnknownHostException.java @@ -31,7 +31,6 @@ public class UnknownHostException extends IOException { * Callers should usually supply a detail message. */ public UnknownHostException() { - super(); } /** diff --git a/luni/src/main/java/java/net/UnknownServiceException.java b/luni/src/main/java/java/net/UnknownServiceException.java index c67c178..5daec4b 100644 --- a/luni/src/main/java/java/net/UnknownServiceException.java +++ b/luni/src/main/java/java/net/UnknownServiceException.java @@ -34,7 +34,6 @@ public class UnknownServiceException extends IOException { * walkback filled in. */ public UnknownServiceException() { - super(); } /** diff --git a/luni/src/main/java/java/nio/BufferOverflowException.java b/luni/src/main/java/java/nio/BufferOverflowException.java index 0a0bf23..628fced 100644 --- a/luni/src/main/java/java/nio/BufferOverflowException.java +++ b/luni/src/main/java/java/nio/BufferOverflowException.java @@ -28,6 +28,5 @@ public class BufferOverflowException extends RuntimeException { * Constructs a <code>BufferOverflowException</code>. */ public BufferOverflowException() { - super(); } } diff --git a/luni/src/main/java/java/nio/BufferUnderflowException.java b/luni/src/main/java/java/nio/BufferUnderflowException.java index 4665461..0818ae1 100644 --- a/luni/src/main/java/java/nio/BufferUnderflowException.java +++ b/luni/src/main/java/java/nio/BufferUnderflowException.java @@ -28,6 +28,5 @@ public class BufferUnderflowException extends RuntimeException { * Constructs a <code>BufferUnderflowException</code>. */ public BufferUnderflowException() { - super(); } } diff --git a/luni/src/main/java/java/nio/InvalidMarkException.java b/luni/src/main/java/java/nio/InvalidMarkException.java index f19f503..cb1050e 100644 --- a/luni/src/main/java/java/nio/InvalidMarkException.java +++ b/luni/src/main/java/java/nio/InvalidMarkException.java @@ -28,6 +28,5 @@ public class InvalidMarkException extends IllegalStateException { * Constructs an {@code InvalidMarkException}. */ public InvalidMarkException() { - super(); } } diff --git a/luni/src/main/java/java/nio/ReadOnlyBufferException.java b/luni/src/main/java/java/nio/ReadOnlyBufferException.java index 7c2a5a0..ae310f9 100644 --- a/luni/src/main/java/java/nio/ReadOnlyBufferException.java +++ b/luni/src/main/java/java/nio/ReadOnlyBufferException.java @@ -28,6 +28,5 @@ public class ReadOnlyBufferException extends UnsupportedOperationException { * Constructs a {@code ReadOnlyBufferException}. */ public ReadOnlyBufferException() { - super(); } } diff --git a/luni/src/main/java/java/nio/channels/AlreadyConnectedException.java b/luni/src/main/java/java/nio/channels/AlreadyConnectedException.java index 95b776a..4fa5af8 100644 --- a/luni/src/main/java/java/nio/channels/AlreadyConnectedException.java +++ b/luni/src/main/java/java/nio/channels/AlreadyConnectedException.java @@ -28,6 +28,5 @@ public class AlreadyConnectedException extends IllegalStateException { * Constructs an {@code AlreadyConnectedException}. */ public AlreadyConnectedException() { - super(); } } diff --git a/luni/src/main/java/java/nio/channels/AsynchronousCloseException.java b/luni/src/main/java/java/nio/channels/AsynchronousCloseException.java index 59938ce..66aae0b 100644 --- a/luni/src/main/java/java/nio/channels/AsynchronousCloseException.java +++ b/luni/src/main/java/java/nio/channels/AsynchronousCloseException.java @@ -28,6 +28,5 @@ public class AsynchronousCloseException extends ClosedChannelException { * Constructs an {@code AsynchronousCloseException}. */ public AsynchronousCloseException() { - super(); } } diff --git a/luni/src/main/java/java/nio/channels/CancelledKeyException.java b/luni/src/main/java/java/nio/channels/CancelledKeyException.java index 7938e48..0ca2d94 100644 --- a/luni/src/main/java/java/nio/channels/CancelledKeyException.java +++ b/luni/src/main/java/java/nio/channels/CancelledKeyException.java @@ -31,6 +31,5 @@ public class CancelledKeyException extends IllegalStateException { * Constructs a {@code CancelledKeyException}. */ public CancelledKeyException() { - super(); } } diff --git a/luni/src/main/java/java/nio/channels/ClosedByInterruptException.java b/luni/src/main/java/java/nio/channels/ClosedByInterruptException.java index ee4875f..bd6596b 100644 --- a/luni/src/main/java/java/nio/channels/ClosedByInterruptException.java +++ b/luni/src/main/java/java/nio/channels/ClosedByInterruptException.java @@ -32,6 +32,5 @@ public class ClosedByInterruptException extends AsynchronousCloseException { * Constructs a {@code ClosedByInterruptException}. */ public ClosedByInterruptException() { - super(); } } diff --git a/luni/src/main/java/java/nio/channels/ClosedChannelException.java b/luni/src/main/java/java/nio/channels/ClosedChannelException.java index 897bc6a..2d7cd19 100644 --- a/luni/src/main/java/java/nio/channels/ClosedChannelException.java +++ b/luni/src/main/java/java/nio/channels/ClosedChannelException.java @@ -30,6 +30,5 @@ public class ClosedChannelException extends IOException { * Constructs a {@code ClosedChannelException}. */ public ClosedChannelException() { - super(); } } diff --git a/luni/src/main/java/java/nio/channels/ClosedSelectorException.java b/luni/src/main/java/java/nio/channels/ClosedSelectorException.java index 82e03e8..a92e3af 100644 --- a/luni/src/main/java/java/nio/channels/ClosedSelectorException.java +++ b/luni/src/main/java/java/nio/channels/ClosedSelectorException.java @@ -28,6 +28,5 @@ public class ClosedSelectorException extends IllegalStateException { * Constructs a {@code ClosedSelectorException}. */ public ClosedSelectorException() { - super(); } } diff --git a/luni/src/main/java/java/nio/channels/ConnectionPendingException.java b/luni/src/main/java/java/nio/channels/ConnectionPendingException.java index bc509d0..1f68585 100644 --- a/luni/src/main/java/java/nio/channels/ConnectionPendingException.java +++ b/luni/src/main/java/java/nio/channels/ConnectionPendingException.java @@ -29,6 +29,5 @@ public class ConnectionPendingException extends IllegalStateException { * Constructs a {@code ConnectionPendingException}. */ public ConnectionPendingException() { - super(); } } diff --git a/luni/src/main/java/java/nio/channels/FileChannel.java b/luni/src/main/java/java/nio/channels/FileChannel.java index 04c9659..298ea8b 100644 --- a/luni/src/main/java/java/nio/channels/FileChannel.java +++ b/luni/src/main/java/java/nio/channels/FileChannel.java @@ -105,7 +105,6 @@ public abstract class FileChannel extends AbstractInterruptibleChannel * Private constructor prevents others creating new modes. */ private MapMode(String displayName) { - super(); this.displayName = displayName; } @@ -124,7 +123,6 @@ public abstract class FileChannel extends AbstractInterruptibleChannel * Protected default constructor. */ protected FileChannel() { - super(); } /** diff --git a/luni/src/main/java/java/nio/channels/FileLock.java b/luni/src/main/java/java/nio/channels/FileLock.java index aed2d0a..9862097 100644 --- a/luni/src/main/java/java/nio/channels/FileLock.java +++ b/luni/src/main/java/java/nio/channels/FileLock.java @@ -98,7 +98,6 @@ public abstract class FileLock { */ protected FileLock(FileChannel channel, long position, long size, boolean shared) { - super(); if (position < 0 || size < 0 || position + size < 0) { throw new IllegalArgumentException(); } diff --git a/luni/src/main/java/java/nio/channels/FileLockInterruptionException.java b/luni/src/main/java/java/nio/channels/FileLockInterruptionException.java index 7203fe1..aa40977 100644 --- a/luni/src/main/java/java/nio/channels/FileLockInterruptionException.java +++ b/luni/src/main/java/java/nio/channels/FileLockInterruptionException.java @@ -32,6 +32,5 @@ public class FileLockInterruptionException extends IOException { * Constructs a {@code FileLockInterruptionException}. */ public FileLockInterruptionException() { - super(); } } diff --git a/luni/src/main/java/java/nio/channels/IllegalBlockingModeException.java b/luni/src/main/java/java/nio/channels/IllegalBlockingModeException.java index 8a73ca7..554df53 100644 --- a/luni/src/main/java/java/nio/channels/IllegalBlockingModeException.java +++ b/luni/src/main/java/java/nio/channels/IllegalBlockingModeException.java @@ -29,6 +29,5 @@ public class IllegalBlockingModeException extends IllegalStateException { * Constructs a {@code IllegalBlockingModeException}. */ public IllegalBlockingModeException() { - super(); } } diff --git a/luni/src/main/java/java/nio/channels/IllegalSelectorException.java b/luni/src/main/java/java/nio/channels/IllegalSelectorException.java index 0fece43..2fb690d 100644 --- a/luni/src/main/java/java/nio/channels/IllegalSelectorException.java +++ b/luni/src/main/java/java/nio/channels/IllegalSelectorException.java @@ -28,6 +28,5 @@ public class IllegalSelectorException extends IllegalArgumentException { * Constructs a {@code IllegalSelectorException}. */ public IllegalSelectorException() { - super(); } } diff --git a/luni/src/main/java/java/nio/channels/NoConnectionPendingException.java b/luni/src/main/java/java/nio/channels/NoConnectionPendingException.java index d12137d..8ab18a5 100644 --- a/luni/src/main/java/java/nio/channels/NoConnectionPendingException.java +++ b/luni/src/main/java/java/nio/channels/NoConnectionPendingException.java @@ -31,6 +31,5 @@ public class NoConnectionPendingException extends IllegalStateException { * Constructs a {@code NoConnectionPendingException}. */ public NoConnectionPendingException() { - super(); } } diff --git a/luni/src/main/java/java/nio/channels/NonReadableChannelException.java b/luni/src/main/java/java/nio/channels/NonReadableChannelException.java index 9cda997..4d63486 100644 --- a/luni/src/main/java/java/nio/channels/NonReadableChannelException.java +++ b/luni/src/main/java/java/nio/channels/NonReadableChannelException.java @@ -28,6 +28,5 @@ public class NonReadableChannelException extends IllegalStateException { * Constructs a {@code NonReadableChannelException}. */ public NonReadableChannelException() { - super(); } } diff --git a/luni/src/main/java/java/nio/channels/NonWritableChannelException.java b/luni/src/main/java/java/nio/channels/NonWritableChannelException.java index ce8da06..8d543dc 100644 --- a/luni/src/main/java/java/nio/channels/NonWritableChannelException.java +++ b/luni/src/main/java/java/nio/channels/NonWritableChannelException.java @@ -28,6 +28,5 @@ public class NonWritableChannelException extends IllegalStateException { * Constructs a {@code NonWritableChannelException}. */ public NonWritableChannelException() { - super(); } } diff --git a/luni/src/main/java/java/nio/channels/NotYetBoundException.java b/luni/src/main/java/java/nio/channels/NotYetBoundException.java index 93052d2..57254c4 100644 --- a/luni/src/main/java/java/nio/channels/NotYetBoundException.java +++ b/luni/src/main/java/java/nio/channels/NotYetBoundException.java @@ -28,6 +28,5 @@ public class NotYetBoundException extends IllegalStateException { * Constructs a {@code NotYetBoundException}. */ public NotYetBoundException() { - super(); } } diff --git a/luni/src/main/java/java/nio/channels/NotYetConnectedException.java b/luni/src/main/java/java/nio/channels/NotYetConnectedException.java index 008fae8..ca76ef1 100644 --- a/luni/src/main/java/java/nio/channels/NotYetConnectedException.java +++ b/luni/src/main/java/java/nio/channels/NotYetConnectedException.java @@ -28,6 +28,5 @@ public class NotYetConnectedException extends IllegalStateException { * Constructs a {@code NotYetConnectedException}. */ public NotYetConnectedException() { - super(); } } diff --git a/luni/src/main/java/java/nio/channels/OverlappingFileLockException.java b/luni/src/main/java/java/nio/channels/OverlappingFileLockException.java index 7c1fac6..3419461 100644 --- a/luni/src/main/java/java/nio/channels/OverlappingFileLockException.java +++ b/luni/src/main/java/java/nio/channels/OverlappingFileLockException.java @@ -28,6 +28,5 @@ public class OverlappingFileLockException extends IllegalStateException { * Constructs a {@code OverlappingFileLockException}. */ public OverlappingFileLockException() { - super(); } } diff --git a/luni/src/main/java/java/nio/channels/Pipe.java b/luni/src/main/java/java/nio/channels/Pipe.java index c28c138..8d56a0b 100644 --- a/luni/src/main/java/java/nio/channels/Pipe.java +++ b/luni/src/main/java/java/nio/channels/Pipe.java @@ -93,7 +93,6 @@ public abstract class Pipe { * The protected default constructor. */ protected Pipe() { - super(); } /** diff --git a/luni/src/main/java/java/nio/channels/SelectableChannel.java b/luni/src/main/java/java/nio/channels/SelectableChannel.java index 5a72147..aef46f5 100644 --- a/luni/src/main/java/java/nio/channels/SelectableChannel.java +++ b/luni/src/main/java/java/nio/channels/SelectableChannel.java @@ -38,7 +38,6 @@ public abstract class SelectableChannel extends AbstractInterruptibleChannel * Constructs a new {@code SelectableChannel}. */ protected SelectableChannel() { - super(); } /** diff --git a/luni/src/main/java/java/nio/channels/SelectionKey.java b/luni/src/main/java/java/nio/channels/SelectionKey.java index 90e396a..6d3926d 100644 --- a/luni/src/main/java/java/nio/channels/SelectionKey.java +++ b/luni/src/main/java/java/nio/channels/SelectionKey.java @@ -59,7 +59,6 @@ public abstract class SelectionKey { * Constructs a new {@code SelectionKey}. */ protected SelectionKey() { - super(); } /** diff --git a/luni/src/main/java/java/nio/channels/Selector.java b/luni/src/main/java/java/nio/channels/Selector.java index caa01bb..1aac14b 100644 --- a/luni/src/main/java/java/nio/channels/Selector.java +++ b/luni/src/main/java/java/nio/channels/Selector.java @@ -50,7 +50,6 @@ public abstract class Selector { * Constructs a new {@code Selector}. */ protected Selector() { - super(); } /** diff --git a/luni/src/main/java/java/nio/channels/UnresolvedAddressException.java b/luni/src/main/java/java/nio/channels/UnresolvedAddressException.java index b740447..3356faf 100644 --- a/luni/src/main/java/java/nio/channels/UnresolvedAddressException.java +++ b/luni/src/main/java/java/nio/channels/UnresolvedAddressException.java @@ -28,6 +28,5 @@ public class UnresolvedAddressException extends IllegalArgumentException { * Constructs an {@code UnresolvedAddressException}. */ public UnresolvedAddressException() { - super(); } } diff --git a/luni/src/main/java/java/nio/channels/UnsupportedAddressTypeException.java b/luni/src/main/java/java/nio/channels/UnsupportedAddressTypeException.java index f494f4a..7bca401 100644 --- a/luni/src/main/java/java/nio/channels/UnsupportedAddressTypeException.java +++ b/luni/src/main/java/java/nio/channels/UnsupportedAddressTypeException.java @@ -28,6 +28,5 @@ public class UnsupportedAddressTypeException extends IllegalArgumentException { * Constructs an {@code UnsupportedAddressTypeException}. */ public UnsupportedAddressTypeException() { - super(); } } diff --git a/luni/src/main/java/java/nio/channels/spi/AbstractInterruptibleChannel.java b/luni/src/main/java/java/nio/channels/spi/AbstractInterruptibleChannel.java index 8befb1b..d24fd73 100644 --- a/luni/src/main/java/java/nio/channels/spi/AbstractInterruptibleChannel.java +++ b/luni/src/main/java/java/nio/channels/spi/AbstractInterruptibleChannel.java @@ -54,7 +54,6 @@ public abstract class AbstractInterruptibleChannel implements Channel, Interrupt * Default constructor. */ protected AbstractInterruptibleChannel() { - super(); } /** diff --git a/luni/src/main/java/java/nio/channels/spi/AbstractSelectableChannel.java b/luni/src/main/java/java/nio/channels/spi/AbstractSelectableChannel.java index ff44c11..8104f22 100644 --- a/luni/src/main/java/java/nio/channels/spi/AbstractSelectableChannel.java +++ b/luni/src/main/java/java/nio/channels/spi/AbstractSelectableChannel.java @@ -53,7 +53,6 @@ public abstract class AbstractSelectableChannel extends SelectableChannel { * the selector provider that creates this channel. */ protected AbstractSelectableChannel(SelectorProvider selectorProvider) { - super(); provider = selectorProvider; } diff --git a/luni/src/main/java/java/nio/channels/spi/AbstractSelectionKey.java b/luni/src/main/java/java/nio/channels/spi/AbstractSelectionKey.java index 3e27cab..2e76412 100644 --- a/luni/src/main/java/java/nio/channels/spi/AbstractSelectionKey.java +++ b/luni/src/main/java/java/nio/channels/spi/AbstractSelectionKey.java @@ -33,7 +33,6 @@ public abstract class AbstractSelectionKey extends SelectionKey { * Constructs a new {@code AbstractSelectionKey}. */ protected AbstractSelectionKey() { - super(); } /** diff --git a/luni/src/main/java/java/nio/channels/spi/SelectorProvider.java b/luni/src/main/java/java/nio/channels/spi/SelectorProvider.java index a5099fb..b62a911 100644 --- a/luni/src/main/java/java/nio/channels/spi/SelectorProvider.java +++ b/luni/src/main/java/java/nio/channels/spi/SelectorProvider.java @@ -44,7 +44,6 @@ public abstract class SelectorProvider { * Constructs a new {@code SelectorProvider}. */ protected SelectorProvider() { - super(); } /** diff --git a/luni/src/main/java/java/nio/charset/CharacterCodingException.java b/luni/src/main/java/java/nio/charset/CharacterCodingException.java index eee01f7..0d4a138 100644 --- a/luni/src/main/java/java/nio/charset/CharacterCodingException.java +++ b/luni/src/main/java/java/nio/charset/CharacterCodingException.java @@ -35,6 +35,5 @@ public class CharacterCodingException extends IOException { * Constructs a new {@code CharacterCodingException}. */ public CharacterCodingException() { - super(); } } diff --git a/luni/src/main/java/java/nio/charset/CoderResult.java b/luni/src/main/java/java/nio/charset/CoderResult.java index b2595f0..221cb32 100644 --- a/luni/src/main/java/java/nio/charset/CoderResult.java +++ b/luni/src/main/java/java/nio/charset/CoderResult.java @@ -93,7 +93,6 @@ public class CoderResult { * the length of the erroneous input */ private CoderResult(int type, int length) { - super(); this.type = type; this.length = length; } diff --git a/luni/src/main/java/java/security/IdentityScope.java b/luni/src/main/java/java/security/IdentityScope.java index a590db2..1e344fd 100644 --- a/luni/src/main/java/java/security/IdentityScope.java +++ b/luni/src/main/java/java/security/IdentityScope.java @@ -39,7 +39,6 @@ public abstract class IdentityScope extends Identity { * Constructs a new instance of {@code IdentityScope}. */ protected IdentityScope() { - super(); } /** diff --git a/luni/src/main/java/java/security/KeyStore.java b/luni/src/main/java/java/security/KeyStore.java index 7e91083..4619879 100644 --- a/luni/src/main/java/java/security/KeyStore.java +++ b/luni/src/main/java/java/security/KeyStore.java @@ -910,7 +910,6 @@ public class KeyStore { */ BuilderImpl(KeyStore ks, ProtectionParameter pp, File file, String type, Provider provider) { - super(); keyStore = ks; protParameter = pp; fileForLoad = file; diff --git a/luni/src/main/java/java/security/SecureClassLoader.java b/luni/src/main/java/java/security/SecureClassLoader.java index f0be669..c39a430 100644 --- a/luni/src/main/java/java/security/SecureClassLoader.java +++ b/luni/src/main/java/java/security/SecureClassLoader.java @@ -35,7 +35,6 @@ public class SecureClassLoader extends ClassLoader { * parent {@code ClassLoader} is used. */ protected SecureClassLoader() { - super(); } /** diff --git a/luni/src/main/java/java/security/Signer.java b/luni/src/main/java/java/security/Signer.java index 9981ae0..1e4412a 100644 --- a/luni/src/main/java/java/security/Signer.java +++ b/luni/src/main/java/java/security/Signer.java @@ -36,7 +36,6 @@ public abstract class Signer extends Identity { * Constructs a new instance of {@code Signer}. */ protected Signer() { - super(); } /** diff --git a/luni/src/main/java/java/sql/BatchUpdateException.java b/luni/src/main/java/java/sql/BatchUpdateException.java index a068b66..352ab6a 100644 --- a/luni/src/main/java/java/sql/BatchUpdateException.java +++ b/luni/src/main/java/java/sql/BatchUpdateException.java @@ -50,7 +50,6 @@ public class BatchUpdateException extends SQLException implements Serializable { * null} and the <i>vendor code</i> set to 0. */ public BatchUpdateException() { - super(); } /** @@ -139,7 +138,6 @@ public class BatchUpdateException extends SQLException implements Serializable { * in the batch that was attempted. */ public BatchUpdateException(int[] updateCounts) { - super(); this.updateCounts = updateCounts; } diff --git a/luni/src/main/java/java/sql/DriverManager.java b/luni/src/main/java/java/sql/DriverManager.java index 3dc0ed3..fa4b7f2 100644 --- a/luni/src/main/java/java/sql/DriverManager.java +++ b/luni/src/main/java/java/sql/DriverManager.java @@ -95,7 +95,6 @@ public class DriverManager { * A private constructor to prevent allocation */ private DriverManager() { - super(); } /** diff --git a/luni/src/main/java/java/sql/SQLDataException.java b/luni/src/main/java/java/sql/SQLDataException.java index fe329b8..eafab25 100644 --- a/luni/src/main/java/java/sql/SQLDataException.java +++ b/luni/src/main/java/java/sql/SQLDataException.java @@ -31,7 +31,6 @@ public class SQLDataException extends SQLNonTransientException { * SQLState string is set to null and the Error Code is set to 0. */ public SQLDataException() { - super(); } /** @@ -142,4 +141,4 @@ public class SQLDataException extends SQLNonTransientException { Throwable cause) { super(reason, sqlState, vendorCode, cause); } -}
\ No newline at end of file +} diff --git a/luni/src/main/java/java/sql/SQLException.java b/luni/src/main/java/java/sql/SQLException.java index cc96cc5..2b650da 100644 --- a/luni/src/main/java/java/sql/SQLException.java +++ b/luni/src/main/java/java/sql/SQLException.java @@ -53,7 +53,6 @@ public class SQLException extends Exception implements Serializable, Iterable<Th * error code is set to 0. */ public SQLException() { - super(); } /** diff --git a/luni/src/main/java/java/sql/SQLFeatureNotSupportedException.java b/luni/src/main/java/java/sql/SQLFeatureNotSupportedException.java index 2f8145e..e5f4fe4 100644 --- a/luni/src/main/java/java/sql/SQLFeatureNotSupportedException.java +++ b/luni/src/main/java/java/sql/SQLFeatureNotSupportedException.java @@ -31,7 +31,6 @@ public class SQLFeatureNotSupportedException extends SQLNonTransientException { * to 0. */ public SQLFeatureNotSupportedException() { - super(); } /** @@ -145,4 +144,4 @@ public class SQLFeatureNotSupportedException extends SQLNonTransientException { int vendorCode, Throwable cause) { super(reason, sqlState, vendorCode, cause); } -}
\ No newline at end of file +} diff --git a/luni/src/main/java/java/sql/SQLIntegrityConstraintViolationException.java b/luni/src/main/java/java/sql/SQLIntegrityConstraintViolationException.java index 7fd3e0f..3ebdcb5 100644 --- a/luni/src/main/java/java/sql/SQLIntegrityConstraintViolationException.java +++ b/luni/src/main/java/java/sql/SQLIntegrityConstraintViolationException.java @@ -33,7 +33,6 @@ public class SQLIntegrityConstraintViolationException extends * Code is set to 0. */ public SQLIntegrityConstraintViolationException() { - super(); } /** @@ -151,4 +150,4 @@ public class SQLIntegrityConstraintViolationException extends String sqlState, int vendorCode, Throwable cause) { super(reason, sqlState, vendorCode, cause); } -}
\ No newline at end of file +} diff --git a/luni/src/main/java/java/sql/SQLInvalidAuthorizationSpecException.java b/luni/src/main/java/java/sql/SQLInvalidAuthorizationSpecException.java index 43899b1..4de4a9d 100644 --- a/luni/src/main/java/java/sql/SQLInvalidAuthorizationSpecException.java +++ b/luni/src/main/java/java/sql/SQLInvalidAuthorizationSpecException.java @@ -33,7 +33,6 @@ public class SQLInvalidAuthorizationSpecException extends * set to 0. */ public SQLInvalidAuthorizationSpecException() { - super(); } /** @@ -149,4 +148,4 @@ public class SQLInvalidAuthorizationSpecException extends int vendorCode, Throwable cause) { super(reason, sqlState, vendorCode, cause); } -}
\ No newline at end of file +} diff --git a/luni/src/main/java/java/sql/SQLNonTransientConnectionException.java b/luni/src/main/java/java/sql/SQLNonTransientConnectionException.java index efdbd4a..0797065 100644 --- a/luni/src/main/java/java/sql/SQLNonTransientConnectionException.java +++ b/luni/src/main/java/java/sql/SQLNonTransientConnectionException.java @@ -33,7 +33,6 @@ public class SQLNonTransientConnectionException extends * set to 0. */ public SQLNonTransientConnectionException() { - super(); } /** @@ -149,4 +148,4 @@ public class SQLNonTransientConnectionException extends int vendorCode, Throwable cause) { super(reason, sqlState, vendorCode, cause); } -}
\ No newline at end of file +} diff --git a/luni/src/main/java/java/sql/SQLNonTransientException.java b/luni/src/main/java/java/sql/SQLNonTransientException.java index dc25ff7..79dfbcb 100644 --- a/luni/src/main/java/java/sql/SQLNonTransientException.java +++ b/luni/src/main/java/java/sql/SQLNonTransientException.java @@ -26,7 +26,6 @@ public class SQLNonTransientException extends SQLException { * null, the SQLState string is set to null and the Error Code is set to 0. */ public SQLNonTransientException() { - super(); } /** @@ -139,4 +138,4 @@ public class SQLNonTransientException extends SQLException { int vendorCode, Throwable cause) { super(reason, sqlState, vendorCode, cause); } -}
\ No newline at end of file +} diff --git a/luni/src/main/java/java/sql/SQLRecoverableException.java b/luni/src/main/java/java/sql/SQLRecoverableException.java index 1d0fc45..485e3a6 100644 --- a/luni/src/main/java/java/sql/SQLRecoverableException.java +++ b/luni/src/main/java/java/sql/SQLRecoverableException.java @@ -26,7 +26,6 @@ public class SQLRecoverableException extends SQLException { * null, the SQLState string is set to null and the Error Code is set to 0. */ public SQLRecoverableException() { - super(); } /** @@ -139,4 +138,4 @@ public class SQLRecoverableException extends SQLException { int vendorCode, Throwable cause) { super(reason, sqlState, vendorCode, cause); } -}
\ No newline at end of file +} diff --git a/luni/src/main/java/java/sql/SQLSyntaxErrorException.java b/luni/src/main/java/java/sql/SQLSyntaxErrorException.java index be1d951..125e521 100644 --- a/luni/src/main/java/java/sql/SQLSyntaxErrorException.java +++ b/luni/src/main/java/java/sql/SQLSyntaxErrorException.java @@ -26,7 +26,6 @@ public class SQLSyntaxErrorException extends SQLNonTransientException { * null, the SQLState string is set to null and the Error Code is set to 0. */ public SQLSyntaxErrorException() { - super(); } /** @@ -139,4 +138,4 @@ public class SQLSyntaxErrorException extends SQLNonTransientException { int vendorCode, Throwable cause) { super(reason, sqlState, vendorCode, cause); } -}
\ No newline at end of file +} diff --git a/luni/src/main/java/java/sql/SQLTimeoutException.java b/luni/src/main/java/java/sql/SQLTimeoutException.java index 8915bb2..a31c70e 100644 --- a/luni/src/main/java/java/sql/SQLTimeoutException.java +++ b/luni/src/main/java/java/sql/SQLTimeoutException.java @@ -26,7 +26,6 @@ public class SQLTimeoutException extends SQLTransientException { * the SQLState string is set to null and the Error Code is set to 0. */ public SQLTimeoutException() { - super(); } /** @@ -137,4 +136,4 @@ public class SQLTimeoutException extends SQLTransientException { Throwable cause) { super(reason, sqlState, vendorCode, cause); } -}
\ No newline at end of file +} diff --git a/luni/src/main/java/java/sql/SQLTransactionRollbackException.java b/luni/src/main/java/java/sql/SQLTransactionRollbackException.java index 4dfbf6d..c525cf9 100644 --- a/luni/src/main/java/java/sql/SQLTransactionRollbackException.java +++ b/luni/src/main/java/java/sql/SQLTransactionRollbackException.java @@ -27,7 +27,6 @@ public class SQLTransactionRollbackException extends SQLTransientException { * to 0. */ public SQLTransactionRollbackException() { - super(); } /** @@ -141,4 +140,4 @@ public class SQLTransactionRollbackException extends SQLTransientException { int vendorCode, Throwable cause) { super(reason, sqlState, vendorCode, cause); } -}
\ No newline at end of file +} diff --git a/luni/src/main/java/java/sql/SQLTransientConnectionException.java b/luni/src/main/java/java/sql/SQLTransientConnectionException.java index 9331aa4..d818f95 100644 --- a/luni/src/main/java/java/sql/SQLTransientConnectionException.java +++ b/luni/src/main/java/java/sql/SQLTransientConnectionException.java @@ -27,7 +27,6 @@ public class SQLTransientConnectionException extends SQLTransientException { * to 0. */ public SQLTransientConnectionException() { - super(); } /** @@ -126,7 +125,7 @@ public class SQLTransientConnectionException extends SQLTransientException { * SQLState string , the Error Code is set to the given error code value, * and the cause Throwable object is set to the given cause Throwable * object. - * + * * @param reason * the string to use as the Reason string * @param sqlState @@ -141,4 +140,4 @@ public class SQLTransientConnectionException extends SQLTransientException { int vendorCode, Throwable cause) { super(reason, sqlState, vendorCode, cause); } -}
\ No newline at end of file +} diff --git a/luni/src/main/java/java/sql/SQLTransientException.java b/luni/src/main/java/java/sql/SQLTransientException.java index a3b6d46..e0aec17 100644 --- a/luni/src/main/java/java/sql/SQLTransientException.java +++ b/luni/src/main/java/java/sql/SQLTransientException.java @@ -26,7 +26,6 @@ public class SQLTransientException extends SQLException { * null, the SQLState string is set to null and the Error Code is set to 0. */ public SQLTransientException() { - super(); } /** @@ -137,4 +136,4 @@ public class SQLTransientException extends SQLException { int vendorCode, Throwable cause) { super(reason, sqlState, vendorCode, cause); } -}
\ No newline at end of file +} diff --git a/luni/src/main/java/java/sql/SQLWarning.java b/luni/src/main/java/java/sql/SQLWarning.java index 0fa8503..cad5d1f 100644 --- a/luni/src/main/java/java/sql/SQLWarning.java +++ b/luni/src/main/java/java/sql/SQLWarning.java @@ -32,7 +32,6 @@ public class SQLWarning extends SQLException implements Serializable { * code is set to 0. */ public SQLWarning() { - super(); } /** diff --git a/luni/src/main/java/java/sql/Types.java b/luni/src/main/java/java/sql/Types.java index 768feb3..353fe67 100644 --- a/luni/src/main/java/java/sql/Types.java +++ b/luni/src/main/java/java/sql/Types.java @@ -28,7 +28,6 @@ public class Types { * Private constructor to prevent instantiation. */ private Types() { - super(); } /** diff --git a/luni/src/main/java/java/text/BreakIterator.java b/luni/src/main/java/java/text/BreakIterator.java index 4d10b51..13f7443 100644 --- a/luni/src/main/java/java/text/BreakIterator.java +++ b/luni/src/main/java/java/text/BreakIterator.java @@ -237,7 +237,6 @@ public abstract class BreakIterator implements Cloneable { * Default constructor, for use by subclasses. */ protected BreakIterator() { - super(); } /* diff --git a/luni/src/main/java/java/util/AbstractCollection.java b/luni/src/main/java/java/util/AbstractCollection.java index 5c836eb..7cbdcc0 100644 --- a/luni/src/main/java/java/util/AbstractCollection.java +++ b/luni/src/main/java/java/util/AbstractCollection.java @@ -34,7 +34,6 @@ public abstract class AbstractCollection<E> implements Collection<E> { * Constructs a new instance of this AbstractCollection. */ protected AbstractCollection() { - super(); } public boolean add(E object) { diff --git a/luni/src/main/java/java/util/AbstractList.java b/luni/src/main/java/java/util/AbstractList.java index fe83125..f6e5903 100644 --- a/luni/src/main/java/java/util/AbstractList.java +++ b/luni/src/main/java/java/util/AbstractList.java @@ -43,7 +43,6 @@ public abstract class AbstractList<E> extends AbstractCollection<E> implements int lastPosition = -1; SimpleListIterator() { - super(); expectedModCount = modCount; } @@ -87,10 +86,8 @@ public abstract class AbstractList<E> extends AbstractCollection<E> implements } } - private final class FullListIterator extends SimpleListIterator implements - ListIterator<E> { + private final class FullListIterator extends SimpleListIterator implements ListIterator<E> { FullListIterator(int start) { - super(); if (start >= 0 && start <= size()) { pos = start - 1; } else { @@ -180,7 +177,6 @@ public abstract class AbstractList<E> extends AbstractCollection<E> implements SubAbstractListIterator(ListIterator<E> it, SubAbstractList<E> list, int offset, int length) { - super(); iterator = it; subList = list; start = offset; @@ -239,7 +235,6 @@ public abstract class AbstractList<E> extends AbstractCollection<E> implements } SubAbstractList(AbstractList<E> list, int start, int end) { - super(); fullList = list; modCount = fullList.modCount; offset = start; @@ -380,7 +375,6 @@ public abstract class AbstractList<E> extends AbstractCollection<E> implements * Constructs a new instance of this AbstractList. */ protected AbstractList() { - super(); } /** diff --git a/luni/src/main/java/java/util/AbstractMap.java b/luni/src/main/java/java/util/AbstractMap.java index 4789b14..ccfaefe 100644 --- a/luni/src/main/java/java/util/AbstractMap.java +++ b/luni/src/main/java/java/util/AbstractMap.java @@ -169,7 +169,6 @@ public abstract class AbstractMap<K, V> implements Map<K, V> { } protected AbstractMap() { - super(); } /** @@ -504,4 +503,4 @@ public abstract class AbstractMap<K, V> implements Map<K, V> { result.valuesCollection = null; return result; } -}
\ No newline at end of file +} diff --git a/luni/src/main/java/java/util/AbstractSequentialList.java b/luni/src/main/java/java/util/AbstractSequentialList.java index dcdecaa..3386a5d 100644 --- a/luni/src/main/java/java/util/AbstractSequentialList.java +++ b/luni/src/main/java/java/util/AbstractSequentialList.java @@ -30,7 +30,6 @@ public abstract class AbstractSequentialList<E> extends AbstractList<E> { * Constructs a new instance of this AbstractSequentialList. */ protected AbstractSequentialList() { - super(); } @Override diff --git a/luni/src/main/java/java/util/AbstractSet.java b/luni/src/main/java/java/util/AbstractSet.java index b71b05b..a2480ef 100644 --- a/luni/src/main/java/java/util/AbstractSet.java +++ b/luni/src/main/java/java/util/AbstractSet.java @@ -31,7 +31,6 @@ public abstract class AbstractSet<E> extends AbstractCollection<E> implements * Constructs a new instance of this AbstractSet. */ protected AbstractSet() { - super(); } /** diff --git a/luni/src/main/java/java/util/Collections.java b/luni/src/main/java/java/util/Collections.java index 9a0a384..b6729b4 100644 --- a/luni/src/main/java/java/util/Collections.java +++ b/luni/src/main/java/java/util/Collections.java @@ -2669,7 +2669,6 @@ public class Collections { private transient Set<E> backingSet; SetFromMap(final Map<E, Boolean> map) { - super(); m = map; backingSet = map.keySet(); } @@ -2739,15 +2738,13 @@ public class Collections { } } - private static class AsLIFOQueue<E> extends AbstractQueue<E> implements - Serializable { + private static class AsLIFOQueue<E> extends AbstractQueue<E> implements Serializable { private static final long serialVersionUID = 1802017725587941708L; // must named as it, to pass serialization compatibility test. private final Deque<E> q; AsLIFOQueue(final Deque<E> deque) { - super(); this.q = deque; } diff --git a/luni/src/main/java/java/util/Dictionary.java b/luni/src/main/java/java/util/Dictionary.java index 1895fa1..8182b2b 100644 --- a/luni/src/main/java/java/util/Dictionary.java +++ b/luni/src/main/java/java/util/Dictionary.java @@ -32,7 +32,6 @@ public abstract class Dictionary<K, V> { * Constructs a new instance of this class. */ public Dictionary() { - super(); } /** diff --git a/luni/src/main/java/java/util/EmptyStackException.java b/luni/src/main/java/java/util/EmptyStackException.java index d8a48cc..41e1eec 100644 --- a/luni/src/main/java/java/util/EmptyStackException.java +++ b/luni/src/main/java/java/util/EmptyStackException.java @@ -33,6 +33,5 @@ public class EmptyStackException extends RuntimeException { * in. */ public EmptyStackException() { - super(); } } diff --git a/luni/src/main/java/java/util/EventListenerProxy.java b/luni/src/main/java/java/util/EventListenerProxy.java index adf822a..c4b50ba 100644 --- a/luni/src/main/java/java/util/EventListenerProxy.java +++ b/luni/src/main/java/java/util/EventListenerProxy.java @@ -32,7 +32,6 @@ public abstract class EventListenerProxy implements EventListener { * the listener wrapped by this proxy. */ public EventListenerProxy(EventListener listener) { - super(); this.listener = listener; } diff --git a/luni/src/main/java/java/util/InputMismatchException.java b/luni/src/main/java/java/util/InputMismatchException.java index 60616d2..3aa7d30 100644 --- a/luni/src/main/java/java/util/InputMismatchException.java +++ b/luni/src/main/java/java/util/InputMismatchException.java @@ -35,7 +35,6 @@ public class InputMismatchException extends NoSuchElementException implements * trace filled in. */ public InputMismatchException() { - super(); } /** diff --git a/luni/src/main/java/java/util/LinkedHashMap.java b/luni/src/main/java/java/util/LinkedHashMap.java index 10fc37c..d8fc02d 100644 --- a/luni/src/main/java/java/util/LinkedHashMap.java +++ b/luni/src/main/java/java/util/LinkedHashMap.java @@ -64,7 +64,6 @@ public class LinkedHashMap<K, V> extends HashMap<K, V> { * Constructs a new empty {@code LinkedHashMap} instance. */ public LinkedHashMap() { - super(); init(); accessOrder = false; } diff --git a/luni/src/main/java/java/util/LinkedList.java b/luni/src/main/java/java/util/LinkedList.java index e54438a..a1dc8d8 100644 --- a/luni/src/main/java/java/util/LinkedList.java +++ b/luni/src/main/java/java/util/LinkedList.java @@ -195,7 +195,6 @@ public class LinkedList<E> extends AbstractSequentialList<E> implements private boolean canRemove; ReverseLinkIterator(LinkedList<ET> linkedList) { - super(); list = linkedList; expectedModCount = list.modCount; link = list.voidLink; diff --git a/luni/src/main/java/java/util/ListResourceBundle.java b/luni/src/main/java/java/util/ListResourceBundle.java index e49c9e3..1508b93 100644 --- a/luni/src/main/java/java/util/ListResourceBundle.java +++ b/luni/src/main/java/java/util/ListResourceBundle.java @@ -32,7 +32,6 @@ public abstract class ListResourceBundle extends ResourceBundle { * Constructs a new instance of this class. */ public ListResourceBundle() { - super(); } /** diff --git a/luni/src/main/java/java/util/NoSuchElementException.java b/luni/src/main/java/java/util/NoSuchElementException.java index ed9476a..4c72ea3 100644 --- a/luni/src/main/java/java/util/NoSuchElementException.java +++ b/luni/src/main/java/java/util/NoSuchElementException.java @@ -31,7 +31,6 @@ public class NoSuchElementException extends RuntimeException { * trace filled in. */ public NoSuchElementException() { - super(); } /** diff --git a/luni/src/main/java/java/util/Observable.java b/luni/src/main/java/java/util/Observable.java index 5ed4563..2c2877e 100644 --- a/luni/src/main/java/java/util/Observable.java +++ b/luni/src/main/java/java/util/Observable.java @@ -38,7 +38,6 @@ public class Observable { * Constructs a new {@code Observable} object. */ public Observable() { - super(); } /** diff --git a/luni/src/main/java/java/util/Properties.java b/luni/src/main/java/java/util/Properties.java index 70294ec..1731ad8 100644 --- a/luni/src/main/java/java/util/Properties.java +++ b/luni/src/main/java/java/util/Properties.java @@ -90,7 +90,6 @@ public class Properties extends Hashtable<Object, Object> { * Constructs a new {@code Properties} object. */ public Properties() { - super(); } /** diff --git a/luni/src/main/java/java/util/ResourceBundle.java b/luni/src/main/java/java/util/ResourceBundle.java index cbbfa1a..a34b34a 100644 --- a/luni/src/main/java/java/util/ResourceBundle.java +++ b/luni/src/main/java/java/util/ResourceBundle.java @@ -652,14 +652,12 @@ public abstract class ResourceBundle { listDefault); public NoFallbackControl(String format) { - super(); listClass = new ArrayList<String>(); listClass.add(format); super.format = Collections.unmodifiableList(listClass); } public NoFallbackControl(List<String> list) { - super(); super.format = list; } @@ -674,7 +672,6 @@ public abstract class ResourceBundle { private static class SimpleControl extends Control { public SimpleControl(String format) { - super(); listClass = new ArrayList<String>(); listClass.add(format); super.format = Collections.unmodifiableList(listClass); @@ -749,7 +746,6 @@ public abstract class ResourceBundle { * */ protected Control() { - super(); listClass = new ArrayList<String>(); listClass.add(JAVACLASS); listClass.add(JAVAPROPERTIES); diff --git a/luni/src/main/java/java/util/Stack.java b/luni/src/main/java/java/util/Stack.java index eb24a56..8e51bee 100644 --- a/luni/src/main/java/java/util/Stack.java +++ b/luni/src/main/java/java/util/Stack.java @@ -30,7 +30,6 @@ public class Stack<E> extends Vector<E> { * Constructs a stack with the default size of {@code Vector}. */ public Stack() { - super(); } /** diff --git a/luni/src/main/java/java/util/Timer.java b/luni/src/main/java/java/util/Timer.java index bf8a3a0..beeeb1a 100644 --- a/luni/src/main/java/java/util/Timer.java +++ b/luni/src/main/java/java/util/Timer.java @@ -324,7 +324,6 @@ public class Timer { private final TimerImpl impl; FinalizerHelper(TimerImpl impl) { - super(); this.impl = impl; } @@ -362,8 +361,7 @@ public class Timer { * @throws NullPointerException is {@code name} is {@code null} */ public Timer(String name, boolean isDaemon) { - super(); - if (name == null){ + if (name == null) { throw new NullPointerException("name is null"); } this.impl = new TimerImpl(name, isDaemon); diff --git a/luni/src/main/java/java/util/TimerTask.java b/luni/src/main/java/java/util/TimerTask.java index b3c0f6a..6b12168 100644 --- a/luni/src/main/java/java/util/TimerTask.java +++ b/luni/src/main/java/java/util/TimerTask.java @@ -78,7 +78,6 @@ public abstract class TimerTask implements Runnable { * Creates a new {@code TimerTask}. */ protected TimerTask() { - super(); } /** diff --git a/luni/src/main/java/java/util/TooManyListenersException.java b/luni/src/main/java/java/util/TooManyListenersException.java index d05c3ce..f211467 100644 --- a/luni/src/main/java/java/util/TooManyListenersException.java +++ b/luni/src/main/java/java/util/TooManyListenersException.java @@ -32,7 +32,6 @@ public class TooManyListenersException extends Exception { * trace filled in. */ public TooManyListenersException() { - super(); } /** diff --git a/luni/src/main/java/java/util/UUID.java b/luni/src/main/java/java/util/UUID.java index a4aee32..a932bb2 100644 --- a/luni/src/main/java/java/util/UUID.java +++ b/luni/src/main/java/java/util/UUID.java @@ -64,7 +64,6 @@ public final class UUID implements Serializable, Comparable<UUID> { * The 64 least significant bits of the UUID. */ public UUID(long mostSigBits, long leastSigBits) { - super(); this.mostSigBits = mostSigBits; this.leastSigBits = leastSigBits; init(); diff --git a/luni/src/main/java/java/util/jar/JarException.java b/luni/src/main/java/java/util/jar/JarException.java index 92f61f3..384fdd8 100644 --- a/luni/src/main/java/java/util/jar/JarException.java +++ b/luni/src/main/java/java/util/jar/JarException.java @@ -31,7 +31,6 @@ public class JarException extends ZipException { * Constructs a new {@code JarException} instance. */ public JarException() { - super(); } /** diff --git a/luni/src/main/java/java/util/jar/Manifest.java b/luni/src/main/java/java/util/jar/Manifest.java index 0a660f7..c1c96a1 100644 --- a/luni/src/main/java/java/util/jar/Manifest.java +++ b/luni/src/main/java/java/util/jar/Manifest.java @@ -84,7 +84,6 @@ public class Manifest implements Cloneable { * Creates a new {@code Manifest} instance. */ public Manifest() { - super(); } /** @@ -97,7 +96,6 @@ public class Manifest implements Cloneable { * if an IO error occurs while creating this {@code Manifest} */ public Manifest(InputStream is) throws IOException { - super(); read(is); } diff --git a/luni/src/main/java/java/util/logging/ErrorManager.java b/luni/src/main/java/java/util/logging/ErrorManager.java index 10f44c2..877be0b 100644 --- a/luni/src/main/java/java/util/logging/ErrorManager.java +++ b/luni/src/main/java/java/util/logging/ErrorManager.java @@ -70,7 +70,6 @@ public class ErrorManager { * Constructs an instance of {@code ErrorManager}. */ public ErrorManager() { - super(); } /** diff --git a/luni/src/main/java/java/util/logging/Formatter.java b/luni/src/main/java/java/util/logging/Formatter.java index 5e8d98e..b18c2e9 100644 --- a/luni/src/main/java/java/util/logging/Formatter.java +++ b/luni/src/main/java/java/util/logging/Formatter.java @@ -32,7 +32,6 @@ public abstract class Formatter { * Constructs a {@code Formatter} object. */ protected Formatter() { - super(); } /** diff --git a/luni/src/main/java/java/util/logging/MemoryHandler.java b/luni/src/main/java/java/util/logging/MemoryHandler.java index 607fcc4..285c254 100644 --- a/luni/src/main/java/java/util/logging/MemoryHandler.java +++ b/luni/src/main/java/java/util/logging/MemoryHandler.java @@ -84,7 +84,6 @@ public class MemoryHandler extends Handler { * used. */ public MemoryHandler() { - super(); String className = this.getClass().getName(); // init target final String targetName = manager.getProperty(className + ".target"); diff --git a/luni/src/main/java/java/util/logging/SimpleFormatter.java b/luni/src/main/java/java/util/logging/SimpleFormatter.java index ba830d2..22527e0 100644 --- a/luni/src/main/java/java/util/logging/SimpleFormatter.java +++ b/luni/src/main/java/java/util/logging/SimpleFormatter.java @@ -32,7 +32,6 @@ public class SimpleFormatter extends Formatter { * Constructs a new {@code SimpleFormatter}. */ public SimpleFormatter() { - super(); } /** diff --git a/luni/src/main/java/java/util/logging/XMLFormatter.java b/luni/src/main/java/java/util/logging/XMLFormatter.java index 6159037..0d80b3e 100644 --- a/luni/src/main/java/java/util/logging/XMLFormatter.java +++ b/luni/src/main/java/java/util/logging/XMLFormatter.java @@ -36,7 +36,6 @@ public class XMLFormatter extends Formatter { * Constructs a new {@code XMLFormatter}. */ public XMLFormatter() { - super(); } /** diff --git a/luni/src/main/java/java/util/prefs/FilePreferencesFactoryImpl.java b/luni/src/main/java/java/util/prefs/FilePreferencesFactoryImpl.java index a7b138a..8f2d0aa 100644 --- a/luni/src/main/java/java/util/prefs/FilePreferencesFactoryImpl.java +++ b/luni/src/main/java/java/util/prefs/FilePreferencesFactoryImpl.java @@ -30,7 +30,6 @@ class FilePreferencesFactoryImpl implements PreferencesFactory { private static final Preferences SYSTEM_ROOT = new FilePreferencesImpl(false); public FilePreferencesFactoryImpl() { - super(); } public Preferences userRoot() { diff --git a/luni/src/main/java/java/util/prefs/Preferences.java b/luni/src/main/java/java/util/prefs/Preferences.java index df9c0bc..fad7d7a 100644 --- a/luni/src/main/java/java/util/prefs/Preferences.java +++ b/luni/src/main/java/java/util/prefs/Preferences.java @@ -119,7 +119,6 @@ public abstract class Preferences { * Default constructor, for use by subclasses only. */ protected Preferences() { - super(); } /** diff --git a/luni/src/main/java/java/util/zip/DataFormatException.java b/luni/src/main/java/java/util/zip/DataFormatException.java index ec4e867..811c4c5 100644 --- a/luni/src/main/java/java/util/zip/DataFormatException.java +++ b/luni/src/main/java/java/util/zip/DataFormatException.java @@ -29,7 +29,6 @@ public class DataFormatException extends Exception { * Constructs a new {@code DataFormatException} instance. */ public DataFormatException() { - super(); } /** diff --git a/luni/src/main/java/java/util/zip/Deflater.java b/luni/src/main/java/java/util/zip/Deflater.java index ac21afb..044b976 100644 --- a/luni/src/main/java/java/util/zip/Deflater.java +++ b/luni/src/main/java/java/util/zip/Deflater.java @@ -184,7 +184,6 @@ public class Deflater { * {@code true} indicates that no ZLIB header should be written. */ public Deflater(int level, boolean noHeader) { - super(); if (level < DEFAULT_COMPRESSION || level > BEST_COMPRESSION) { throw new IllegalArgumentException(); } diff --git a/luni/src/main/java/java/util/zip/ZipException.java b/luni/src/main/java/java/util/zip/ZipException.java index ad68714..b77943e 100644 --- a/luni/src/main/java/java/util/zip/ZipException.java +++ b/luni/src/main/java/java/util/zip/ZipException.java @@ -34,7 +34,6 @@ public class ZipException extends IOException { * Constructs a new {@code ZipException} instance. */ public ZipException() { - super(); } /** diff --git a/luni/src/main/java/javax/net/DefaultSocketFactory.java b/luni/src/main/java/javax/net/DefaultSocketFactory.java index 010c720..4d28d37 100644 --- a/luni/src/main/java/javax/net/DefaultSocketFactory.java +++ b/luni/src/main/java/javax/net/DefaultSocketFactory.java @@ -28,7 +28,6 @@ import java.net.UnknownHostException; final class DefaultSocketFactory extends SocketFactory { DefaultSocketFactory() { - super(); } @Override diff --git a/luni/src/main/java/javax/net/ServerSocketFactory.java b/luni/src/main/java/javax/net/ServerSocketFactory.java index 15ab773..7f9dacb 100644 --- a/luni/src/main/java/javax/net/ServerSocketFactory.java +++ b/luni/src/main/java/javax/net/ServerSocketFactory.java @@ -46,7 +46,6 @@ public abstract class ServerSocketFactory { * Creates a new {@code ServerSocketFactory} instance. */ protected ServerSocketFactory() { - super(); } /** diff --git a/luni/src/main/java/javax/net/SocketFactory.java b/luni/src/main/java/javax/net/SocketFactory.java index eb0cfcb..cfdde41 100644 --- a/luni/src/main/java/javax/net/SocketFactory.java +++ b/luni/src/main/java/javax/net/SocketFactory.java @@ -48,7 +48,6 @@ public abstract class SocketFactory { * Creates a new {@code SocketFactory} instance. */ protected SocketFactory() { - super(); } /** diff --git a/luni/src/main/java/javax/net/ssl/KeyManagerFactorySpi.java b/luni/src/main/java/javax/net/ssl/KeyManagerFactorySpi.java index cc66d9b..a56c99c 100644 --- a/luni/src/main/java/javax/net/ssl/KeyManagerFactorySpi.java +++ b/luni/src/main/java/javax/net/ssl/KeyManagerFactorySpi.java @@ -33,7 +33,6 @@ public abstract class KeyManagerFactorySpi { * Creates a new {@code KeyManagerFactorySpi} instance. */ public KeyManagerFactorySpi() { - super(); } /** diff --git a/luni/src/main/java/javax/net/ssl/SSLContextSpi.java b/luni/src/main/java/javax/net/ssl/SSLContextSpi.java index c619920..ee2e73e 100644 --- a/luni/src/main/java/javax/net/ssl/SSLContextSpi.java +++ b/luni/src/main/java/javax/net/ssl/SSLContextSpi.java @@ -30,7 +30,6 @@ public abstract class SSLContextSpi { * Creates a new {@code SSLContextSpi} instance. */ public SSLContextSpi() { - super(); } /** diff --git a/luni/src/main/java/javax/net/ssl/SSLEngine.java b/luni/src/main/java/javax/net/ssl/SSLEngine.java index f737e98..a6c9946 100644 --- a/luni/src/main/java/javax/net/ssl/SSLEngine.java +++ b/luni/src/main/java/javax/net/ssl/SSLEngine.java @@ -34,7 +34,6 @@ public abstract class SSLEngine { * Creates a new {@code SSLEngine} instance. */ protected SSLEngine() { - super(); peerHost = null; peerPort = -1; } @@ -49,7 +48,6 @@ public abstract class SSLEngine { * the port of the host. */ protected SSLEngine(String host, int port) { - super(); this.peerHost = host; this.peerPort = port; } diff --git a/luni/src/main/java/javax/net/ssl/SSLServerSocket.java b/luni/src/main/java/javax/net/ssl/SSLServerSocket.java index 8bd8918..0109170 100644 --- a/luni/src/main/java/javax/net/ssl/SSLServerSocket.java +++ b/luni/src/main/java/javax/net/ssl/SSLServerSocket.java @@ -36,7 +36,6 @@ public abstract class SSLServerSocket extends ServerSocket { * if creating the socket fails. */ protected SSLServerSocket() throws IOException { - super(); } /** diff --git a/luni/src/main/java/javax/net/ssl/SSLServerSocketFactory.java b/luni/src/main/java/javax/net/ssl/SSLServerSocketFactory.java index 5cb3163..cce72cd 100644 --- a/luni/src/main/java/javax/net/ssl/SSLServerSocketFactory.java +++ b/luni/src/main/java/javax/net/ssl/SSLServerSocketFactory.java @@ -80,7 +80,6 @@ public abstract class SSLServerSocketFactory extends ServerSocketFactory { * Creates a new {@code SSLServerSocketFactory} instance. */ protected SSLServerSocketFactory() { - super(); } /** diff --git a/luni/src/main/java/javax/net/ssl/SSLSocket.java b/luni/src/main/java/javax/net/ssl/SSLSocket.java index 4539c3b..3de91b2 100644 --- a/luni/src/main/java/javax/net/ssl/SSLSocket.java +++ b/luni/src/main/java/javax/net/ssl/SSLSocket.java @@ -34,7 +34,6 @@ public abstract class SSLSocket extends Socket { * Creates a TCP socket. */ protected SSLSocket() { - super(); } /** diff --git a/luni/src/main/java/javax/net/ssl/SSLSocketFactory.java b/luni/src/main/java/javax/net/ssl/SSLSocketFactory.java index 817f52f..b07d0fd 100644 --- a/luni/src/main/java/javax/net/ssl/SSLSocketFactory.java +++ b/luni/src/main/java/javax/net/ssl/SSLSocketFactory.java @@ -82,7 +82,6 @@ public abstract class SSLSocketFactory extends SocketFactory { * Creates a new {@code SSLSocketFactory}. */ public SSLSocketFactory() { - super(); } /** diff --git a/luni/src/main/java/javax/net/ssl/TrustManagerFactorySpi.java b/luni/src/main/java/javax/net/ssl/TrustManagerFactorySpi.java index 1b04c5b..70033e9 100644 --- a/luni/src/main/java/javax/net/ssl/TrustManagerFactorySpi.java +++ b/luni/src/main/java/javax/net/ssl/TrustManagerFactorySpi.java @@ -31,7 +31,6 @@ public abstract class TrustManagerFactorySpi { * Creates a new {@code TrustManagerFactorySpi} instance. */ public TrustManagerFactorySpi() { - super(); } /** diff --git a/luni/src/main/java/javax/net/ssl/X509ExtendedKeyManager.java b/luni/src/main/java/javax/net/ssl/X509ExtendedKeyManager.java index 3298d8e..5877f87 100644 --- a/luni/src/main/java/javax/net/ssl/X509ExtendedKeyManager.java +++ b/luni/src/main/java/javax/net/ssl/X509ExtendedKeyManager.java @@ -30,7 +30,6 @@ public abstract class X509ExtendedKeyManager implements X509KeyManager { * Creates a new {@code X509ExtendedKeyManager} instance. */ protected X509ExtendedKeyManager() { - super(); } /** diff --git a/luni/src/main/java/javax/security/auth/DestroyFailedException.java b/luni/src/main/java/javax/security/auth/DestroyFailedException.java index 27d4dfd..bb4c403 100644 --- a/luni/src/main/java/javax/security/auth/DestroyFailedException.java +++ b/luni/src/main/java/javax/security/auth/DestroyFailedException.java @@ -28,7 +28,6 @@ public class DestroyFailedException extends Exception { * Creates an exception of type {@code DestroyFailedException}. */ public DestroyFailedException() { - super(); } /** diff --git a/luni/src/main/java/javax/security/auth/PrivateCredentialPermission.java b/luni/src/main/java/javax/security/auth/PrivateCredentialPermission.java index f524eb3..f86b2fa 100644 --- a/luni/src/main/java/javax/security/auth/PrivateCredentialPermission.java +++ b/luni/src/main/java/javax/security/auth/PrivateCredentialPermission.java @@ -342,7 +342,6 @@ public final class PrivateCredentialPermission extends Permission { // Creates a new CredOwner with the specified Principal Class and Principal Name CredOwner(String principalClass, String principalName) { - super(); if ("*".equals(principalClass)) { isClassWildcard = true; } diff --git a/luni/src/main/java/javax/security/auth/Subject.java b/luni/src/main/java/javax/security/auth/Subject.java index adb0e44..a958484 100644 --- a/luni/src/main/java/javax/security/auth/Subject.java +++ b/luni/src/main/java/javax/security/auth/Subject.java @@ -89,7 +89,6 @@ public final class Subject implements Serializable { * credentials and principals with the empty set. */ public Subject() { - super(); principals = new SecureSet<Principal>(_PRINCIPALS); publicCredentials = new SecureSet<Object>(_PUBLIC_CREDENTIALS); privateCredentials = new SecureSet<Object>(_PRIVATE_CREDENTIALS); diff --git a/luni/src/main/java/javax/security/auth/SubjectDomainCombiner.java b/luni/src/main/java/javax/security/auth/SubjectDomainCombiner.java index e7cc971..7b36470 100644 --- a/luni/src/main/java/javax/security/auth/SubjectDomainCombiner.java +++ b/luni/src/main/java/javax/security/auth/SubjectDomainCombiner.java @@ -42,7 +42,6 @@ public class SubjectDomainCombiner implements DomainCombiner { * the entity to which this domain combiner is associated. */ public SubjectDomainCombiner(Subject subject) { - super(); if (subject == null) { throw new NullPointerException(); } diff --git a/luni/src/main/java/javax/security/auth/callback/PasswordCallback.java b/luni/src/main/java/javax/security/auth/callback/PasswordCallback.java index 5f18c7e..13f833e 100644 --- a/luni/src/main/java/javax/security/auth/callback/PasswordCallback.java +++ b/luni/src/main/java/javax/security/auth/callback/PasswordCallback.java @@ -50,7 +50,6 @@ public class PasswordCallback implements Callback, Serializable { * determines whether the user input should be echoed */ public PasswordCallback(String prompt, boolean echoOn) { - super(); setPrompt(prompt); this.echoOn = echoOn; } diff --git a/luni/src/main/java/javax/security/auth/callback/UnsupportedCallbackException.java b/luni/src/main/java/javax/security/auth/callback/UnsupportedCallbackException.java index bee7bd3..4c5b5e4 100644 --- a/luni/src/main/java/javax/security/auth/callback/UnsupportedCallbackException.java +++ b/luni/src/main/java/javax/security/auth/callback/UnsupportedCallbackException.java @@ -35,7 +35,6 @@ public class UnsupportedCallbackException extends Exception { * the {@code Callback} */ public UnsupportedCallbackException(Callback callback) { - super(); this.callback = callback; } diff --git a/luni/src/main/java/javax/security/auth/login/LoginException.java b/luni/src/main/java/javax/security/auth/login/LoginException.java index 9433c43..17ca2f5 100644 --- a/luni/src/main/java/javax/security/auth/login/LoginException.java +++ b/luni/src/main/java/javax/security/auth/login/LoginException.java @@ -30,7 +30,6 @@ public class LoginException extends GeneralSecurityException { * Creates a new exception instance and initializes it with default values. */ public LoginException() { - super(); } /** diff --git a/luni/src/main/java/javax/security/cert/X509Certificate.java b/luni/src/main/java/javax/security/cert/X509Certificate.java index 1854692..e85a556 100644 --- a/luni/src/main/java/javax/security/cert/X509Certificate.java +++ b/luni/src/main/java/javax/security/cert/X509Certificate.java @@ -59,7 +59,6 @@ public abstract class X509Certificate extends Certificate { * Creates a new {@code X509Certificate}. */ public X509Certificate() { - super(); } /** diff --git a/luni/src/main/java/javax/xml/datatype/DatatypeConfigurationException.java b/luni/src/main/java/javax/xml/datatype/DatatypeConfigurationException.java index 3be4265..f0d3fe5 100644 --- a/luni/src/main/java/javax/xml/datatype/DatatypeConfigurationException.java +++ b/luni/src/main/java/javax/xml/datatype/DatatypeConfigurationException.java @@ -50,7 +50,6 @@ public class DatatypeConfigurationException extends Exception { */ public DatatypeConfigurationException() { - super(); } /** diff --git a/luni/src/main/java/javax/xml/parsers/FactoryConfigurationError.java b/luni/src/main/java/javax/xml/parsers/FactoryConfigurationError.java index 40d7fe5..745559a 100644 --- a/luni/src/main/java/javax/xml/parsers/FactoryConfigurationError.java +++ b/luni/src/main/java/javax/xml/parsers/FactoryConfigurationError.java @@ -42,7 +42,6 @@ public class FactoryConfigurationError extends Error { */ public FactoryConfigurationError() { - super(); this.exception = null; } diff --git a/luni/src/main/java/javax/xml/parsers/ParserConfigurationException.java b/luni/src/main/java/javax/xml/parsers/ParserConfigurationException.java index 8374b6e..6929ab7 100644 --- a/luni/src/main/java/javax/xml/parsers/ParserConfigurationException.java +++ b/luni/src/main/java/javax/xml/parsers/ParserConfigurationException.java @@ -35,7 +35,6 @@ public class ParserConfigurationException extends Exception { */ public ParserConfigurationException() { - super(); } /** @@ -50,4 +49,3 @@ public class ParserConfigurationException extends Exception { } } - diff --git a/luni/src/main/java/javax/xml/transform/TransformerFactoryConfigurationError.java b/luni/src/main/java/javax/xml/transform/TransformerFactoryConfigurationError.java index b738a7c..8a4fee6 100644 --- a/luni/src/main/java/javax/xml/transform/TransformerFactoryConfigurationError.java +++ b/luni/src/main/java/javax/xml/transform/TransformerFactoryConfigurationError.java @@ -38,9 +38,6 @@ public class TransformerFactoryConfigurationError extends Error { * detail message. */ public TransformerFactoryConfigurationError() { - - super(); - this.exception = null; } diff --git a/luni/src/main/java/org/apache/harmony/luni/util/TwoKeyHashMap.java b/luni/src/main/java/org/apache/harmony/luni/util/TwoKeyHashMap.java index 086d561..35e6c62 100644 --- a/luni/src/main/java/org/apache/harmony/luni/util/TwoKeyHashMap.java +++ b/luni/src/main/java/org/apache/harmony/luni/util/TwoKeyHashMap.java @@ -548,7 +548,6 @@ public class TwoKeyHashMap<E, K, V> extends AbstractMap<String, V> { private EntryIteratorImpl itr; ValueIteratorImpl() { - super(); this.itr = new EntryIteratorImpl(); } diff --git a/luni/src/main/java/org/apache/harmony/security/SystemScope.java b/luni/src/main/java/org/apache/harmony/security/SystemScope.java index 842e4a6..89cf56b 100644 --- a/luni/src/main/java/org/apache/harmony/security/SystemScope.java +++ b/luni/src/main/java/org/apache/harmony/security/SystemScope.java @@ -50,7 +50,6 @@ public class SystemScope extends IdentityScope { * @see java.security.IdentityScope#IdentityScope() */ public SystemScope() { - super(); } /** diff --git a/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/EndOfBufferException.java b/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/EndOfBufferException.java index 1dcdd20..7fe2d7f 100644 --- a/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/EndOfBufferException.java +++ b/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/EndOfBufferException.java @@ -28,8 +28,6 @@ public class EndOfBufferException extends IOException { private static final long serialVersionUID = 1838636631255369519L; public EndOfBufferException() { - super(); } } - diff --git a/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/EndOfSourceException.java b/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/EndOfSourceException.java index 631679a..3874709 100644 --- a/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/EndOfSourceException.java +++ b/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/EndOfSourceException.java @@ -28,7 +28,6 @@ public class EndOfSourceException extends IOException { private static final long serialVersionUID = -4673611435974054413L; public EndOfSourceException() { - super(); } } diff --git a/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/KeyManagerImpl.java b/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/KeyManagerImpl.java index 830fd77..8ccf687 100644 --- a/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/KeyManagerImpl.java +++ b/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/KeyManagerImpl.java @@ -59,7 +59,6 @@ public class KeyManagerImpl extends X509ExtendedKeyManager { * @param pwd */ public KeyManagerImpl(KeyStore keyStore, char[] pwd) { - super(); this.hash = new Hashtable<String, PrivateKeyEntry>(); final Enumeration<String> aliases; try { diff --git a/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/OpenSSLServerSocketFactoryImpl.java b/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/OpenSSLServerSocketFactoryImpl.java index 1a837c5..c3cdaad 100644 --- a/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/OpenSSLServerSocketFactoryImpl.java +++ b/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/OpenSSLServerSocketFactoryImpl.java @@ -27,7 +27,6 @@ public class OpenSSLServerSocketFactoryImpl extends javax.net.ssl.SSLServerSocke private IOException instantiationException; public OpenSSLServerSocketFactoryImpl() { - super(); try { this.sslParameters = SSLParametersImpl.getDefault(); this.sslParameters.setUseClientMode(false); diff --git a/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/OpenSSLServerSocketImpl.java b/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/OpenSSLServerSocketImpl.java index 1900d04..20219e0 100644 --- a/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/OpenSSLServerSocketImpl.java +++ b/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/OpenSSLServerSocketImpl.java @@ -37,9 +37,7 @@ public class OpenSSLServerSocketImpl extends javax.net.ssl.SSLServerSocket { private String[] enabledCipherSuites = NativeCrypto.getDefaultCipherSuites(); private String[] enabledCompressionMethods = NativeCrypto.getDefaultCompressionMethods(); - protected OpenSSLServerSocketImpl(SSLParametersImpl sslParameters) - throws IOException { - super(); + protected OpenSSLServerSocketImpl(SSLParametersImpl sslParameters) throws IOException { this.sslParameters = sslParameters; } diff --git a/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/OpenSSLSocketImpl.java b/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/OpenSSLSocketImpl.java index 2f0cbae..84da7e3 100644 --- a/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/OpenSSLSocketImpl.java +++ b/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/OpenSSLSocketImpl.java @@ -112,7 +112,6 @@ public class OpenSSLSocketImpl * @throws IOException if network fails */ protected OpenSSLSocketImpl(SSLParametersImpl sslParameters) throws IOException { - super(); this.socket = this; this.fd = NativeCrypto.getFileDescriptor(socket); init(sslParameters); @@ -129,7 +128,6 @@ public class OpenSSLSocketImpl String[] enabledProtocols, String[] enabledCipherSuites, String[] enabledCompressionMethods) throws IOException { - super(); this.socket = this; this.fd = NativeCrypto.getFileDescriptor(socket); init(sslParameters, enabledProtocols, enabledCipherSuites, enabledCompressionMethods); @@ -204,7 +202,6 @@ public class OpenSSLSocketImpl */ protected OpenSSLSocketImpl(Socket socket, String host, int port, boolean autoClose, SSLParametersImpl sslParameters) throws IOException { - super(); this.socket = socket; this.fd = NativeCrypto.getFileDescriptor(socket); this.wrappedHost = host; diff --git a/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/SSLEngineImpl.java b/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/SSLEngineImpl.java index be8fb08..af03325 100644 --- a/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/SSLEngineImpl.java +++ b/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/SSLEngineImpl.java @@ -81,7 +81,6 @@ public class SSLEngineImpl extends SSLEngine { private Logger.Stream logger = Logger.getStream("engine"); protected SSLEngineImpl(SSLParametersImpl sslParameters) { - super(); this.sslParameters = sslParameters; } @@ -753,4 +752,3 @@ public class SSLEngineImpl extends SSLEngine { : SSLEngineResult.Status.OK; } } - diff --git a/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/SSLServerSocketFactoryImpl.java b/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/SSLServerSocketFactoryImpl.java index fa001b2..22872f8 100644 --- a/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/SSLServerSocketFactoryImpl.java +++ b/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/SSLServerSocketFactoryImpl.java @@ -36,7 +36,6 @@ public class SSLServerSocketFactoryImpl extends SSLServerSocketFactory { * Constructor. */ public SSLServerSocketFactoryImpl() { - super(); try { this.sslParameters = SSLParametersImpl.getDefault(); this.sslParameters.setUseClientMode(false); @@ -51,7 +50,6 @@ public class SSLServerSocketFactoryImpl extends SSLServerSocketFactory { * Constructor. */ protected SSLServerSocketFactoryImpl(SSLParametersImpl sslParameters) { - super(); this.sslParameters = (SSLParametersImpl) sslParameters.clone(); this.sslParameters.setUseClientMode(false); } diff --git a/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/SSLServerSocketImpl.java b/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/SSLServerSocketImpl.java index 4999ea4..477d03d 100644 --- a/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/SSLServerSocketImpl.java +++ b/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/SSLServerSocketImpl.java @@ -44,9 +44,7 @@ public class SSLServerSocketImpl extends SSLServerSocket { * @param sslParameters: SSLParameters * @throws IOException */ - protected SSLServerSocketImpl(SSLParametersImpl sslParameters) - throws IOException { - super(); + protected SSLServerSocketImpl(SSLParametersImpl sslParameters) throws IOException { this.sslParameters = sslParameters; } diff --git a/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/SSLSessionImpl.java b/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/SSLSessionImpl.java index 65b8fce..deb0399 100644 --- a/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/SSLSessionImpl.java +++ b/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/SSLSessionImpl.java @@ -57,7 +57,6 @@ public class SSLSessionImpl implements SSLSession, Cloneable { final AccessControlContext acc; ValueKey(String name) { - super(); this.name = name; this.acc = AccessController.getContext(); } diff --git a/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/SSLSocketImpl.java b/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/SSLSocketImpl.java index 5b9ecd8..0357d1b 100644 --- a/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/SSLSocketImpl.java +++ b/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/SSLSocketImpl.java @@ -82,7 +82,6 @@ public class SSLSocketImpl extends SSLSocket { * for more information. */ protected SSLSocketImpl(SSLParametersImpl sslParameters) { - super(); this.sslParameters = sslParameters; // init should be called after creation! } diff --git a/luni/src/main/java/org/xml/sax/SAXException.java b/luni/src/main/java/org/xml/sax/SAXException.java index d4c02b3..b8d0a9b 100644 --- a/luni/src/main/java/org/xml/sax/SAXException.java +++ b/luni/src/main/java/org/xml/sax/SAXException.java @@ -42,7 +42,6 @@ public class SAXException extends Exception { */ public SAXException () { - super(); this.exception = null; } @@ -69,7 +68,6 @@ public class SAXException extends Exception { */ public SAXException (Exception e) { - super(); this.exception = e; } diff --git a/luni/src/main/java/org/xml/sax/SAXNotRecognizedException.java b/luni/src/main/java/org/xml/sax/SAXNotRecognizedException.java index 69ba807..d6bb88d 100644 --- a/luni/src/main/java/org/xml/sax/SAXNotRecognizedException.java +++ b/luni/src/main/java/org/xml/sax/SAXNotRecognizedException.java @@ -34,7 +34,6 @@ public class SAXNotRecognizedException extends SAXException */ public SAXNotRecognizedException () { - super(); } diff --git a/luni/src/main/java/org/xml/sax/SAXNotSupportedException.java b/luni/src/main/java/org/xml/sax/SAXNotSupportedException.java index 3b51da6..9da85ea 100644 --- a/luni/src/main/java/org/xml/sax/SAXNotSupportedException.java +++ b/luni/src/main/java/org/xml/sax/SAXNotSupportedException.java @@ -34,7 +34,6 @@ public class SAXNotSupportedException extends SAXException */ public SAXNotSupportedException () { - super(); } diff --git a/luni/src/main/java/org/xml/sax/helpers/ParserAdapter.java b/luni/src/main/java/org/xml/sax/helpers/ParserAdapter.java index 8e6129a..9d1c683 100644 --- a/luni/src/main/java/org/xml/sax/helpers/ParserAdapter.java +++ b/luni/src/main/java/org/xml/sax/helpers/ParserAdapter.java @@ -74,7 +74,6 @@ public class ParserAdapter implements XMLReader, DocumentHandler public ParserAdapter () throws SAXException { - super(); String driver = System.getProperty("org.xml.sax.parser"); @@ -119,7 +118,6 @@ public class ParserAdapter implements XMLReader, DocumentHandler */ public ParserAdapter (Parser parser) { - super(); setup(parser); } diff --git a/luni/src/main/java/org/xml/sax/helpers/XMLFilterImpl.java b/luni/src/main/java/org/xml/sax/helpers/XMLFilterImpl.java index 7614b85..4b4dd71 100644 --- a/luni/src/main/java/org/xml/sax/helpers/XMLFilterImpl.java +++ b/luni/src/main/java/org/xml/sax/helpers/XMLFilterImpl.java @@ -73,7 +73,6 @@ public class XMLFilterImpl */ public XMLFilterImpl () { - super(); } @@ -87,7 +86,6 @@ public class XMLFilterImpl */ public XMLFilterImpl (XMLReader parent) { - super(); setParent(parent); } |