Merge pull request #11068 from izeye/super
* pr/11068: Remove explicit constructor super() calls
This commit is contained in:
commit
1f47672940
|
|
@ -34,7 +34,6 @@ public final class Trace {
|
|||
private final Map<String, Object> info;
|
||||
|
||||
public Trace(Date timestamp, Map<String, Object> info) {
|
||||
super();
|
||||
Assert.notNull(timestamp, "Timestamp must not be null");
|
||||
Assert.notNull(info, "Info must not be null");
|
||||
this.timestamp = timestamp;
|
||||
|
|
|
|||
|
|
@ -54,7 +54,6 @@ public class MustacheResourceTemplateLoader
|
|||
}
|
||||
|
||||
public MustacheResourceTemplateLoader(String prefix, String suffix) {
|
||||
super();
|
||||
this.prefix = prefix;
|
||||
this.suffix = suffix;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -41,7 +41,6 @@ public class City implements Serializable {
|
|||
}
|
||||
|
||||
public City(String name, String country) {
|
||||
super();
|
||||
this.name = name;
|
||||
this.country = country;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -48,7 +48,6 @@ public class City implements Serializable {
|
|||
}
|
||||
|
||||
public City(String name, String country) {
|
||||
super();
|
||||
this.name = name;
|
||||
this.country = country;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -49,7 +49,6 @@ public class City implements Serializable {
|
|||
}
|
||||
|
||||
public City(String name, String country) {
|
||||
super();
|
||||
this.name = name;
|
||||
this.country = country;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -40,7 +40,6 @@ public class Country implements Serializable {
|
|||
}
|
||||
|
||||
public Country(String name) {
|
||||
super();
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -41,7 +41,6 @@ public class City implements Serializable {
|
|||
}
|
||||
|
||||
public City(String name, String country) {
|
||||
super();
|
||||
this.name = name;
|
||||
this.country = country;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -48,7 +48,6 @@ public class City implements Serializable {
|
|||
}
|
||||
|
||||
public City(String name, String state, String country, String map) {
|
||||
super();
|
||||
this.name = name;
|
||||
this.state = state;
|
||||
this.country = country;
|
||||
|
|
|
|||
|
|
@ -44,10 +44,6 @@ public abstract class AbstractSocialAutoConfigurationTests {
|
|||
}
|
||||
}
|
||||
|
||||
public AbstractSocialAutoConfigurationTests() {
|
||||
super();
|
||||
}
|
||||
|
||||
protected void assertConnectionFrameworkBeans() {
|
||||
assertThat(this.context.getBean(UsersConnectionRepository.class)).isNotNull();
|
||||
assertThat(this.context.getBean(ConnectionRepository.class)).isNotNull();
|
||||
|
|
|
|||
|
|
@ -40,7 +40,6 @@ public class ExampleEntity {
|
|||
}
|
||||
|
||||
public ExampleEntity(String name, String reference) {
|
||||
super();
|
||||
this.name = name;
|
||||
this.reference = reference;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -33,7 +33,6 @@ public class ShareAntlibLoader extends Task {
|
|||
private String refid;
|
||||
|
||||
public ShareAntlibLoader(Project project) {
|
||||
super();
|
||||
setProject(project);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -45,7 +45,6 @@ public final class ItemMetadata implements Comparable<ItemMetadata> {
|
|||
ItemMetadata(ItemType itemType, String prefix, String name, String type,
|
||||
String sourceType, String sourceMethod, String description,
|
||||
Object defaultValue, ItemDeprecation deprecation) {
|
||||
super();
|
||||
this.itemType = itemType;
|
||||
this.name = buildName(prefix, name);
|
||||
this.type = type;
|
||||
|
|
|
|||
|
|
@ -37,7 +37,6 @@ public class WarLauncher extends ExecutableArchiveLauncher {
|
|||
private static final String WEB_INF_LIB_PROVIDED = WEB_INF + "lib-provided/";
|
||||
|
||||
public WarLauncher() {
|
||||
super();
|
||||
}
|
||||
|
||||
protected WarLauncher(Archive archive) {
|
||||
|
|
|
|||
|
|
@ -55,7 +55,6 @@ final class CentralDirectoryFileHeader implements FileHeader {
|
|||
|
||||
CentralDirectoryFileHeader(byte[] header, int headerOffset, AsciiBytes name,
|
||||
byte[] extra, AsciiBytes comment, long localHeaderOffset) {
|
||||
super();
|
||||
this.header = header;
|
||||
this.headerOffset = headerOffset;
|
||||
this.name = name;
|
||||
|
|
|
|||
|
|
@ -32,7 +32,6 @@ import org.springframework.boot.context.properties.source.ConfigurationPropertyN
|
|||
public class IgnoreErrorsBindHandler extends AbstractBindHandler {
|
||||
|
||||
public IgnoreErrorsBindHandler() {
|
||||
super();
|
||||
}
|
||||
|
||||
public IgnoreErrorsBindHandler(BindHandler parent) {
|
||||
|
|
|
|||
|
|
@ -49,7 +49,6 @@ public class ValidationBindHandler extends AbstractBindHandler {
|
|||
private final Set<ConfigurationProperty> boundProperties = new LinkedHashSet<>();
|
||||
|
||||
public ValidationBindHandler(Validator... validators) {
|
||||
super();
|
||||
this.validators = validators;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -56,7 +56,6 @@ public class PoolingDataSourceBean extends PoolingDataSource
|
|||
private String beanName;
|
||||
|
||||
public PoolingDataSourceBean() {
|
||||
super();
|
||||
setMaxPoolSize(10);
|
||||
setAllowLocalTransactions(true);
|
||||
setEnableJdbc4ConnectionTest(true);
|
||||
|
|
|
|||
|
|
@ -46,7 +46,6 @@ public class ConcurrentReferenceCachingMetadataReaderFactory
|
|||
* the default class loader.
|
||||
*/
|
||||
public ConcurrentReferenceCachingMetadataReaderFactory() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -123,7 +123,6 @@ public class RestTemplateBuilder {
|
|||
Set<RestTemplateCustomizer> restTemplateCustomizers,
|
||||
Set<RequestFactoryCustomizer> requestFactoryCustomizers,
|
||||
Set<ClientHttpRequestInterceptor> interceptors) {
|
||||
super();
|
||||
this.detectRequestFactory = detectRequestFactory;
|
||||
this.rootUri = rootUri;
|
||||
this.messageConverters = messageConverters;
|
||||
|
|
|
|||
|
|
@ -69,7 +69,6 @@ public class JettyReactiveWebServerFactory extends AbstractReactiveWebServerFact
|
|||
* Create a new {@link JettyServletWebServerFactory} instance.
|
||||
*/
|
||||
public JettyReactiveWebServerFactory() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -122,7 +122,6 @@ public class JettyServletWebServerFactory extends AbstractServletWebServerFactor
|
|||
* Create a new {@link JettyServletWebServerFactory} instance.
|
||||
*/
|
||||
public JettyServletWebServerFactory() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -44,7 +44,6 @@ public class TomcatEmbeddedWebappClassLoader extends ParallelWebappClassLoader {
|
|||
}
|
||||
|
||||
public TomcatEmbeddedWebappClassLoader() {
|
||||
super();
|
||||
}
|
||||
|
||||
public TomcatEmbeddedWebappClassLoader(ClassLoader parent) {
|
||||
|
|
|
|||
|
|
@ -68,7 +68,6 @@ public class TomcatReactiveWebServerFactory extends AbstractReactiveWebServerFac
|
|||
* Create a new {@link TomcatServletWebServerFactory} instance.
|
||||
*/
|
||||
public TomcatReactiveWebServerFactory() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -136,7 +136,6 @@ public class TomcatServletWebServerFactory extends AbstractServletWebServerFacto
|
|||
* Create a new {@link TomcatServletWebServerFactory} instance.
|
||||
*/
|
||||
public TomcatServletWebServerFactory() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -123,7 +123,6 @@ public class UndertowServletWebServerFactory extends AbstractServletWebServerFac
|
|||
* Create a new {@link UndertowServletWebServerFactory} instance.
|
||||
*/
|
||||
public UndertowServletWebServerFactory() {
|
||||
super();
|
||||
getJsp().setRegistered(false);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -39,7 +39,6 @@ public class GenericReactiveWebApplicationContext extends GenericApplicationCont
|
|||
* @see #refresh
|
||||
*/
|
||||
public GenericReactiveWebApplicationContext() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -50,7 +50,6 @@ public class City implements Serializable {
|
|||
}
|
||||
|
||||
public City(String name, String country) {
|
||||
super();
|
||||
this.name = name;
|
||||
this.country = country;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -50,7 +50,6 @@ public class City implements Serializable {
|
|||
}
|
||||
|
||||
public City(String name, String country) {
|
||||
super();
|
||||
this.name = name;
|
||||
this.country = country;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -47,7 +47,6 @@ public class Product {
|
|||
}
|
||||
|
||||
public Product(String id, String name) {
|
||||
super();
|
||||
this.id = id;
|
||||
this.name = name;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue