Merge pull request #11068 from izeye/super

* pr/11068:
  Remove explicit constructor super() calls
This commit is contained in:
Phillip Webb 2017-11-17 16:45:01 -08:00
commit 1f47672940
29 changed files with 0 additions and 32 deletions

View File

@ -34,7 +34,6 @@ public final class Trace {
private final Map<String, Object> info; private final Map<String, Object> info;
public Trace(Date timestamp, Map<String, Object> info) { public Trace(Date timestamp, Map<String, Object> info) {
super();
Assert.notNull(timestamp, "Timestamp must not be null"); Assert.notNull(timestamp, "Timestamp must not be null");
Assert.notNull(info, "Info must not be null"); Assert.notNull(info, "Info must not be null");
this.timestamp = timestamp; this.timestamp = timestamp;

View File

@ -54,7 +54,6 @@ public class MustacheResourceTemplateLoader
} }
public MustacheResourceTemplateLoader(String prefix, String suffix) { public MustacheResourceTemplateLoader(String prefix, String suffix) {
super();
this.prefix = prefix; this.prefix = prefix;
this.suffix = suffix; this.suffix = suffix;
} }

View File

@ -41,7 +41,6 @@ public class City implements Serializable {
} }
public City(String name, String country) { public City(String name, String country) {
super();
this.name = name; this.name = name;
this.country = country; this.country = country;
} }

View File

@ -48,7 +48,6 @@ public class City implements Serializable {
} }
public City(String name, String country) { public City(String name, String country) {
super();
this.name = name; this.name = name;
this.country = country; this.country = country;
} }

View File

@ -49,7 +49,6 @@ public class City implements Serializable {
} }
public City(String name, String country) { public City(String name, String country) {
super();
this.name = name; this.name = name;
this.country = country; this.country = country;
} }

View File

@ -40,7 +40,6 @@ public class Country implements Serializable {
} }
public Country(String name) { public Country(String name) {
super();
this.name = name; this.name = name;
} }

View File

@ -41,7 +41,6 @@ public class City implements Serializable {
} }
public City(String name, String country) { public City(String name, String country) {
super();
this.name = name; this.name = name;
this.country = country; this.country = country;
} }

View File

@ -48,7 +48,6 @@ public class City implements Serializable {
} }
public City(String name, String state, String country, String map) { public City(String name, String state, String country, String map) {
super();
this.name = name; this.name = name;
this.state = state; this.state = state;
this.country = country; this.country = country;

View File

@ -44,10 +44,6 @@ public abstract class AbstractSocialAutoConfigurationTests {
} }
} }
public AbstractSocialAutoConfigurationTests() {
super();
}
protected void assertConnectionFrameworkBeans() { protected void assertConnectionFrameworkBeans() {
assertThat(this.context.getBean(UsersConnectionRepository.class)).isNotNull(); assertThat(this.context.getBean(UsersConnectionRepository.class)).isNotNull();
assertThat(this.context.getBean(ConnectionRepository.class)).isNotNull(); assertThat(this.context.getBean(ConnectionRepository.class)).isNotNull();

View File

@ -40,7 +40,6 @@ public class ExampleEntity {
} }
public ExampleEntity(String name, String reference) { public ExampleEntity(String name, String reference) {
super();
this.name = name; this.name = name;
this.reference = reference; this.reference = reference;
} }

View File

@ -33,7 +33,6 @@ public class ShareAntlibLoader extends Task {
private String refid; private String refid;
public ShareAntlibLoader(Project project) { public ShareAntlibLoader(Project project) {
super();
setProject(project); setProject(project);
} }

View File

@ -45,7 +45,6 @@ public final class ItemMetadata implements Comparable<ItemMetadata> {
ItemMetadata(ItemType itemType, String prefix, String name, String type, ItemMetadata(ItemType itemType, String prefix, String name, String type,
String sourceType, String sourceMethod, String description, String sourceType, String sourceMethod, String description,
Object defaultValue, ItemDeprecation deprecation) { Object defaultValue, ItemDeprecation deprecation) {
super();
this.itemType = itemType; this.itemType = itemType;
this.name = buildName(prefix, name); this.name = buildName(prefix, name);
this.type = type; this.type = type;

View File

@ -37,7 +37,6 @@ public class WarLauncher extends ExecutableArchiveLauncher {
private static final String WEB_INF_LIB_PROVIDED = WEB_INF + "lib-provided/"; private static final String WEB_INF_LIB_PROVIDED = WEB_INF + "lib-provided/";
public WarLauncher() { public WarLauncher() {
super();
} }
protected WarLauncher(Archive archive) { protected WarLauncher(Archive archive) {

View File

@ -55,7 +55,6 @@ final class CentralDirectoryFileHeader implements FileHeader {
CentralDirectoryFileHeader(byte[] header, int headerOffset, AsciiBytes name, CentralDirectoryFileHeader(byte[] header, int headerOffset, AsciiBytes name,
byte[] extra, AsciiBytes comment, long localHeaderOffset) { byte[] extra, AsciiBytes comment, long localHeaderOffset) {
super();
this.header = header; this.header = header;
this.headerOffset = headerOffset; this.headerOffset = headerOffset;
this.name = name; this.name = name;

View File

@ -32,7 +32,6 @@ import org.springframework.boot.context.properties.source.ConfigurationPropertyN
public class IgnoreErrorsBindHandler extends AbstractBindHandler { public class IgnoreErrorsBindHandler extends AbstractBindHandler {
public IgnoreErrorsBindHandler() { public IgnoreErrorsBindHandler() {
super();
} }
public IgnoreErrorsBindHandler(BindHandler parent) { public IgnoreErrorsBindHandler(BindHandler parent) {

View File

@ -49,7 +49,6 @@ public class ValidationBindHandler extends AbstractBindHandler {
private final Set<ConfigurationProperty> boundProperties = new LinkedHashSet<>(); private final Set<ConfigurationProperty> boundProperties = new LinkedHashSet<>();
public ValidationBindHandler(Validator... validators) { public ValidationBindHandler(Validator... validators) {
super();
this.validators = validators; this.validators = validators;
} }

View File

@ -56,7 +56,6 @@ public class PoolingDataSourceBean extends PoolingDataSource
private String beanName; private String beanName;
public PoolingDataSourceBean() { public PoolingDataSourceBean() {
super();
setMaxPoolSize(10); setMaxPoolSize(10);
setAllowLocalTransactions(true); setAllowLocalTransactions(true);
setEnableJdbc4ConnectionTest(true); setEnableJdbc4ConnectionTest(true);

View File

@ -46,7 +46,6 @@ public class ConcurrentReferenceCachingMetadataReaderFactory
* the default class loader. * the default class loader.
*/ */
public ConcurrentReferenceCachingMetadataReaderFactory() { public ConcurrentReferenceCachingMetadataReaderFactory() {
super();
} }
/** /**

View File

@ -123,7 +123,6 @@ public class RestTemplateBuilder {
Set<RestTemplateCustomizer> restTemplateCustomizers, Set<RestTemplateCustomizer> restTemplateCustomizers,
Set<RequestFactoryCustomizer> requestFactoryCustomizers, Set<RequestFactoryCustomizer> requestFactoryCustomizers,
Set<ClientHttpRequestInterceptor> interceptors) { Set<ClientHttpRequestInterceptor> interceptors) {
super();
this.detectRequestFactory = detectRequestFactory; this.detectRequestFactory = detectRequestFactory;
this.rootUri = rootUri; this.rootUri = rootUri;
this.messageConverters = messageConverters; this.messageConverters = messageConverters;

View File

@ -69,7 +69,6 @@ public class JettyReactiveWebServerFactory extends AbstractReactiveWebServerFact
* Create a new {@link JettyServletWebServerFactory} instance. * Create a new {@link JettyServletWebServerFactory} instance.
*/ */
public JettyReactiveWebServerFactory() { public JettyReactiveWebServerFactory() {
super();
} }
/** /**

View File

@ -122,7 +122,6 @@ public class JettyServletWebServerFactory extends AbstractServletWebServerFactor
* Create a new {@link JettyServletWebServerFactory} instance. * Create a new {@link JettyServletWebServerFactory} instance.
*/ */
public JettyServletWebServerFactory() { public JettyServletWebServerFactory() {
super();
} }
/** /**

View File

@ -44,7 +44,6 @@ public class TomcatEmbeddedWebappClassLoader extends ParallelWebappClassLoader {
} }
public TomcatEmbeddedWebappClassLoader() { public TomcatEmbeddedWebappClassLoader() {
super();
} }
public TomcatEmbeddedWebappClassLoader(ClassLoader parent) { public TomcatEmbeddedWebappClassLoader(ClassLoader parent) {

View File

@ -68,7 +68,6 @@ public class TomcatReactiveWebServerFactory extends AbstractReactiveWebServerFac
* Create a new {@link TomcatServletWebServerFactory} instance. * Create a new {@link TomcatServletWebServerFactory} instance.
*/ */
public TomcatReactiveWebServerFactory() { public TomcatReactiveWebServerFactory() {
super();
} }
/** /**

View File

@ -136,7 +136,6 @@ public class TomcatServletWebServerFactory extends AbstractServletWebServerFacto
* Create a new {@link TomcatServletWebServerFactory} instance. * Create a new {@link TomcatServletWebServerFactory} instance.
*/ */
public TomcatServletWebServerFactory() { public TomcatServletWebServerFactory() {
super();
} }
/** /**

View File

@ -123,7 +123,6 @@ public class UndertowServletWebServerFactory extends AbstractServletWebServerFac
* Create a new {@link UndertowServletWebServerFactory} instance. * Create a new {@link UndertowServletWebServerFactory} instance.
*/ */
public UndertowServletWebServerFactory() { public UndertowServletWebServerFactory() {
super();
getJsp().setRegistered(false); getJsp().setRegistered(false);
} }

View File

@ -39,7 +39,6 @@ public class GenericReactiveWebApplicationContext extends GenericApplicationCont
* @see #refresh * @see #refresh
*/ */
public GenericReactiveWebApplicationContext() { public GenericReactiveWebApplicationContext() {
super();
} }
/** /**

View File

@ -50,7 +50,6 @@ public class City implements Serializable {
} }
public City(String name, String country) { public City(String name, String country) {
super();
this.name = name; this.name = name;
this.country = country; this.country = country;
} }

View File

@ -50,7 +50,6 @@ public class City implements Serializable {
} }
public City(String name, String country) { public City(String name, String country) {
super();
this.name = name; this.name = name;
this.country = country; this.country = country;
} }

View File

@ -47,7 +47,6 @@ public class Product {
} }
public Product(String id, String name) { public Product(String id, String name) {
super();
this.id = id; this.id = id;
this.name = name; this.name = name;
} }