Skip to content
Permalink
Browse files
Remove redundant calls to super().
  • Loading branch information
garydgregory committed Nov 20, 2020
1 parent bec9da8 commit 05c6398a051c49c546ccab1da4ce25563e4ce86d
Showing 41 changed files with 0 additions and 46 deletions.
@@ -29,7 +29,6 @@ public class WebdavFileNameParser extends HttpFileNameParser {
private static final WebdavFileNameParser INSTANCE = new WebdavFileNameParser();

public WebdavFileNameParser() {
super();
}

public static FileNameParser getInstance() {
@@ -57,8 +57,6 @@ public class WebdavFileProvider extends HttpFileProvider {
Capability.DIRECTORY_READ_CONTENT));

public WebdavFileProvider() {
super();

setFileNameParser(WebdavFileNameParser.getInstance());
}

@@ -28,7 +28,6 @@ public class Webdav4FileNameParser extends Http4FileNameParser {
private static final Webdav4FileNameParser INSTANCE = new Webdav4FileNameParser();

public Webdav4FileNameParser() {
super();
}

public static FileNameParser getInstance() {
@@ -73,8 +73,6 @@ public class Webdav4FileProvider extends Http4FileProvider {
protected static final Collection<Capability> capabilities = DEFAULT_CAPABILITIES;

public Webdav4FileProvider() {
super();

setFileNameParser(Webdav4FileNameParser.getInstance());
}

@@ -29,7 +29,6 @@ public class Webdav4sFileNameParser extends Http4sFileNameParser {
private static final Webdav4sFileNameParser INSTANCE = new Webdav4sFileNameParser();

public Webdav4sFileNameParser() {
super();
}

public static FileNameParser getInstance() {
@@ -46,8 +46,6 @@ public class Webdav4sFileProvider extends Http4sFileProvider {
protected static final Collection<Capability> capabilities = Webdav4FileProvider.DEFAULT_CAPABILITIES;

public Webdav4sFileProvider() {
super();

setFileNameParser(Webdav4sFileNameParser.getInstance());
}

@@ -40,7 +40,6 @@ public class MimeFileProvider extends AbstractLayeredFileProvider implements Fil
Capability.READ_CONTENT, Capability.URI, Capability.ATTRIBUTES));

public MimeFileProvider() {
super();
}

/**
@@ -45,7 +45,6 @@ public class SmbFileProvider extends AbstractOriginatingFileProvider implements
Capability.RANDOM_ACCESS_WRITE));

public SmbFileProvider() {
super();
setFileNameParser(SmbFileNameParser.getInstance());
}

@@ -37,7 +37,6 @@ public class DecoratedFileObject implements FileObject {
private final FileObject decoratedFileObject;

public DecoratedFileObject(final FileObject decoratedFileObject) {
super();
this.decoratedFileObject = decoratedFileObject;
}

@@ -28,7 +28,6 @@
public abstract class AbstractLayeredFileProvider extends AbstractFileProvider {

public AbstractLayeredFileProvider() {
super();
setFileNameParser(LayeredFileNameParser.getInstance());
}

@@ -29,7 +29,6 @@
public abstract class AbstractOriginatingFileProvider extends AbstractFileProvider {

public AbstractOriginatingFileProvider() {
super();
}

/**
@@ -30,7 +30,6 @@ public abstract class CompositeFileProvider extends AbstractFileProvider {
private static final int INITIAL_BUFSZ = 80;

public CompositeFileProvider() {
super();
}

/**
@@ -38,7 +38,6 @@ public class Bzip2FileProvider extends CompressedFileFileProvider {
Capability.WRITE_CONTENT, Capability.URI, Capability.COMPRESS));

public Bzip2FileProvider() {
super();
}

@Override
@@ -34,7 +34,6 @@
public abstract class CompressedFileFileProvider extends AbstractLayeredFileProvider {

public CompressedFileFileProvider() {
super();
}

/**
@@ -54,7 +54,6 @@ public class FtpFileProvider extends AbstractOriginatingFileProvider {
* Constructs a new provider.
*/
public FtpFileProvider() {
super();
setFileNameParser(FtpFileNameParser.getInstance());
}

@@ -34,7 +34,6 @@
*/
public class FtpsFileProvider extends FtpFileProvider {
public FtpsFileProvider() {
super();
}

/**
@@ -40,7 +40,6 @@ public class GzipFileProvider extends CompressedFileFileProvider {
Capability.READ_CONTENT, Capability.URI, Capability.COMPRESS));

public GzipFileProvider() {
super();
}

@Override
@@ -51,7 +51,6 @@ public class HdfsFileProvider extends AbstractOriginatingFileProvider {
* Constructs a new HdfsFileProvider.
*/
public HdfsFileProvider() {
super();
this.setFileNameParser(HttpFileNameParser.getInstance());
}

@@ -49,7 +49,6 @@ public class HttpFileProvider extends AbstractOriginatingFileProvider {
* Constructs a new provider.
*/
public HttpFileProvider() {
super();
setFileNameParser(HttpFileNameParser.getInstance());
}

@@ -108,7 +108,6 @@ public class Http4FileProvider extends AbstractOriginatingFileProvider {
* Constructs a new provider.
*/
public Http4FileProvider() {
super();
setFileNameParser(Http4FileNameParser.getInstance());
}

@@ -29,7 +29,6 @@ public class Http4sFileProvider extends Http4FileProvider {
* Construct a {@code Http4sFileProvider}.
*/
public Http4sFileProvider() {
super();
setFileNameParser(Http4sFileNameParser.getInstance());
}
}
@@ -110,7 +110,6 @@ public class Http5FileProvider extends AbstractOriginatingFileProvider {
* Constructs a new provider.
*/
public Http5FileProvider() {
super();
setFileNameParser(Http5FileNameParser.getInstance());
}

@@ -29,7 +29,6 @@ public class Http5sFileProvider extends Http5FileProvider {
* Construct a {@code Http4sFileProvider}.
*/
public Http5sFileProvider() {
super();
setFileNameParser(Http5sFileNameParser.getInstance());
}
}
@@ -24,7 +24,6 @@
public class HttpsFileProvider extends HttpFileProvider {

public HttpsFileProvider() {
super();
setFileNameParser(HttpsFileNameParser.getInstance());
}
}
@@ -48,7 +48,6 @@ public class JarFileProvider extends ZipFileProvider {
}

public JarFileProvider() {
super();
}

/**
@@ -49,8 +49,6 @@ public class DefaultLocalFileProvider extends AbstractOriginatingFileProvider im
* Constructs a new provider.
*/
public DefaultLocalFileProvider() {
super();

if (Os.isFamily(Os.OS_FAMILY_WINDOWS)) {
setFileNameParser(new WindowsFileNameParser());
} else {
@@ -68,7 +68,6 @@ class RamFileData implements Serializable {
* @param name The file name.
*/
public RamFileData(final FileName name) {
super();
this.children = Collections.synchronizedCollection(new ArrayList<RamFileData>());
this.clear();
if (name == null) {
@@ -45,7 +45,6 @@ public class RamFileOutputStream extends OutputStream {
* @param file The base file.
*/
public RamFileOutputStream(final RamFileObject file) {
super();
this.file = file;
}

@@ -44,7 +44,6 @@ public class RamFileProvider extends AbstractOriginatingFileProvider {
* Constructs a new provider.
*/
public RamFileProvider() {
super();
}

/*
@@ -75,7 +75,6 @@ public class RamFileRandomAccessContent implements RandomAccessContent {
* @param mode The access mode.
*/
public RamFileRandomAccessContent(final RamFileObject file, final RandomAccessMode mode) {
super();
this.buf = file.getData().getContent();
this.file = file;

@@ -40,7 +40,6 @@ public class BytesIdentityInfo implements IdentityProvider {
* @param passPhrase The passphrase to decrypt the private key (can be {@code null} if no passphrase is used)
*/
public BytesIdentityInfo(final byte[] privateKey, final byte[] passPhrase) {
super();
this.privateKey = privateKey;
this.publicKey = null;
this.passPhrase = passPhrase;
@@ -54,7 +53,6 @@ public BytesIdentityInfo(final byte[] privateKey, final byte[] passPhrase) {
* @param passPhrase The passphrase to decrypt the private key (can be {@code null} if no passphrase is used)
*/
public BytesIdentityInfo(final byte[] privateKey, final byte[] publicKey, final byte[] passPhrase) {
super();
this.privateKey = privateKey;
this.publicKey = publicKey;
this.passPhrase = passPhrase;
@@ -79,7 +79,6 @@ static Session createSession(final GenericFileName rootName, final FileSystemOpt
* Constructs a new provider.
*/
public SftpFileProvider() {
super();
setFileNameParser(SftpFileNameParser.getInstance());
}

@@ -42,7 +42,6 @@ public class TarFileProvider extends AbstractLayeredFileProvider {
Capability.READ_CONTENT, Capability.URI, Capability.VIRTUAL));

public TarFileProvider() {
super();
}

/**
@@ -32,7 +32,6 @@ public class Tbz2FileProvider extends CompositeFileProvider {
private static final String[] SCHEMES = new String[] { "bz2", "tar" };

public Tbz2FileProvider() {
super();
}

@Override
@@ -32,7 +32,6 @@ public class TgzFileProvider extends CompositeFileProvider {
private static final String[] SCHEMES = new String[] { "gz", "tar" };

public TgzFileProvider() {
super();
}

@Override
@@ -51,7 +51,6 @@ public TemporaryFileProvider(final File rootFile) {
}

public TemporaryFileProvider() {
super();
}

@Override
@@ -35,7 +35,6 @@ public class UrlFileNameParser extends AbstractFileNameParser {
private final GenericFileNameParser generic = new GenericFileNameParser();

public UrlFileNameParser() {
super();
}

@Override
@@ -40,7 +40,6 @@ public class UrlFileProvider extends AbstractFileProvider {
Arrays.asList(Capability.READ_CONTENT, Capability.URI, Capability.GET_LAST_MODIFIED));

public UrlFileProvider() {
super();
setFileNameParser(new UrlFileNameParser());
}

@@ -42,7 +42,6 @@ public class ZipFileProvider extends AbstractLayeredFileProvider {
Capability.URI, Capability.COMPRESS, Capability.VIRTUAL));

public ZipFileProvider() {
super();
}