You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2020/11/20 23:03:17 UTC
[commons-testing] branch master updated: Remove redundant calls to
super().
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-testing.git
The following commit(s) were added to refs/heads/master by this push:
new 6d93054 Remove redundant calls to super().
6d93054 is described below
commit 6d930542236d2d7f9b77ea527e35fb32e88d3cb8
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Nov 20 18:03:13 2020 -0500
Remove redundant calls to super().
---
.../org/apache/commons/testing/junit4/AbstractAvailableLocalesTest.java | 1 -
.../java/org/apache/commons/testing/junit4/DefaultLocaleTestRule.java | 1 -
.../java/org/apache/commons/testing/junit4/SecurityManagerTestRule.java | 1 -
.../main/java/org/apache/commons/testing/junit4/io/CopyFileTestRule.java | 1 -
4 files changed, 4 deletions(-)
diff --git a/commons-testing-junit4/src/main/java/org/apache/commons/testing/junit4/AbstractAvailableLocalesTest.java b/commons-testing-junit4/src/main/java/org/apache/commons/testing/junit4/AbstractAvailableLocalesTest.java
index 160c384..b3c7927 100644
--- a/commons-testing-junit4/src/main/java/org/apache/commons/testing/junit4/AbstractAvailableLocalesTest.java
+++ b/commons-testing-junit4/src/main/java/org/apache/commons/testing/junit4/AbstractAvailableLocalesTest.java
@@ -84,7 +84,6 @@ public abstract class AbstractAvailableLocalesTest {
public final DefaultLocaleTestRule rule;
public AbstractAvailableLocalesTest(final Locale locale) {
- super();
this.locale = locale;
this.rule = new DefaultLocaleTestRule(locale);
}
diff --git a/commons-testing-junit4/src/main/java/org/apache/commons/testing/junit4/DefaultLocaleTestRule.java b/commons-testing-junit4/src/main/java/org/apache/commons/testing/junit4/DefaultLocaleTestRule.java
index 31e3f38..d9efa5d 100644
--- a/commons-testing-junit4/src/main/java/org/apache/commons/testing/junit4/DefaultLocaleTestRule.java
+++ b/commons-testing-junit4/src/main/java/org/apache/commons/testing/junit4/DefaultLocaleTestRule.java
@@ -33,7 +33,6 @@ public class DefaultLocaleTestRule implements TestRule {
private final Locale locale;
public DefaultLocaleTestRule(final Locale locale) {
- super();
this.locale = locale;
}
diff --git a/commons-testing-junit4/src/main/java/org/apache/commons/testing/junit4/SecurityManagerTestRule.java b/commons-testing-junit4/src/main/java/org/apache/commons/testing/junit4/SecurityManagerTestRule.java
index effadd1..4bfbebc 100644
--- a/commons-testing-junit4/src/main/java/org/apache/commons/testing/junit4/SecurityManagerTestRule.java
+++ b/commons-testing-junit4/src/main/java/org/apache/commons/testing/junit4/SecurityManagerTestRule.java
@@ -61,7 +61,6 @@ public class SecurityManagerTestRule implements TestRule {
* the {@link SecurityManager} to use while running a test.
*/
public SecurityManagerTestRule(final SecurityManager securityManager) {
- super();
this.securityManager = securityManager;
}
diff --git a/commons-testing-junit4/src/main/java/org/apache/commons/testing/junit4/io/CopyFileTestRule.java b/commons-testing-junit4/src/main/java/org/apache/commons/testing/junit4/io/CopyFileTestRule.java
index 38792c0..4b51be7 100644
--- a/commons-testing-junit4/src/main/java/org/apache/commons/testing/junit4/io/CopyFileTestRule.java
+++ b/commons-testing-junit4/src/main/java/org/apache/commons/testing/junit4/io/CopyFileTestRule.java
@@ -54,7 +54,6 @@ public class CopyFileTestRule extends ExternalResource {
CopyFileTestRule(final String sourceFilePath, final TemporaryFolder targetTemporaryFolder,
final String targetFilePath) {
- super();
this.sourceFilePath = Objects.requireNonNull(sourceFilePath, "sourceFilePath");
this.targetTemporaryFolder = Objects.requireNonNull(targetTemporaryFolder, "targetTemporaryFolder");
this.targetFileName = Objects.requireNonNull(targetFilePath, "targetFileName");