You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ti...@apache.org on 2016/09/23 19:06:00 UTC

[2/8] maven-surefire git commit: Remove redundant variable initialization

Remove redundant variable initialization


Project: http://git-wip-us.apache.org/repos/asf/maven-surefire/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven-surefire/commit/6dba432e
Tree: http://git-wip-us.apache.org/repos/asf/maven-surefire/tree/6dba432e
Diff: http://git-wip-us.apache.org/repos/asf/maven-surefire/diff/6dba432e

Branch: refs/heads/junit5
Commit: 6dba432eb27d525b300775a55d4c6108385870dd
Parents: 3eb6903
Author: Benedikt Ritter <be...@gmail.com>
Authored: Wed Sep 7 21:05:51 2016 +0200
Committer: Tibor17 <ti...@lycos.com>
Committed: Fri Sep 23 21:04:46 2016 +0200

----------------------------------------------------------------------
 .../test/resources/junit5/src/test/java/junit5/JUnit4Test.java   | 4 ++--
 .../test/resources/junit5/src/test/java/junit5/JUnit5Test.java   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/6dba432e/surefire-integration-tests/src/test/resources/junit5/src/test/java/junit5/JUnit4Test.java
----------------------------------------------------------------------
diff --git a/surefire-integration-tests/src/test/resources/junit5/src/test/java/junit5/JUnit4Test.java b/surefire-integration-tests/src/test/resources/junit5/src/test/java/junit5/JUnit4Test.java
index 05e3d1b..c8c0dc3 100644
--- a/surefire-integration-tests/src/test/resources/junit5/src/test/java/junit5/JUnit4Test.java
+++ b/surefire-integration-tests/src/test/resources/junit5/src/test/java/junit5/JUnit4Test.java
@@ -31,9 +31,9 @@ import org.junit.Test;
 public class JUnit4Test
 {
 
-    private boolean setUpCalled = false;
+    private boolean setUpCalled;
 
-    private static boolean tearDownCalled = false;
+    private static boolean tearDownCalled;
     
     @Before
     public void setUp()

http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/6dba432e/surefire-integration-tests/src/test/resources/junit5/src/test/java/junit5/JUnit5Test.java
----------------------------------------------------------------------
diff --git a/surefire-integration-tests/src/test/resources/junit5/src/test/java/junit5/JUnit5Test.java b/surefire-integration-tests/src/test/resources/junit5/src/test/java/junit5/JUnit5Test.java
index bbe3103..2078d55 100644
--- a/surefire-integration-tests/src/test/resources/junit5/src/test/java/junit5/JUnit5Test.java
+++ b/surefire-integration-tests/src/test/resources/junit5/src/test/java/junit5/JUnit5Test.java
@@ -32,9 +32,9 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
 public class JUnit5Test
 {
 
-    private boolean setUpCalled = false;
+    private boolean setUpCalled;
 
-    private static boolean tearDownCalled = false;
+    private static boolean tearDownCalled;
 
     @BeforeEach
     public void setUp()