Repository: commons-lang
Updated Branches:
  refs/heads/master ab0570e63 -> f015fb2b3


Add final modifier to private fields.

Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/f015fb2b
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/f015fb2b
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/f015fb2b

Branch: refs/heads/master
Commit: f015fb2b31a5621689a57ce9d2d300e5f32357e1
Parents: ab0570e
Author: Gary Gregory <ggreg...@apache.org>
Authored: Wed Nov 16 16:45:23 2016 -0800
Committer: Gary Gregory <ggreg...@apache.org>
Committed: Wed Nov 16 16:45:23 2016 -0800

----------------------------------------------------------------------
 .../org/apache/commons/lang3/builder/EqualsBuilderTest.java  | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/f015fb2b/src/test/java/org/apache/commons/lang3/builder/EqualsBuilderTest.java
----------------------------------------------------------------------
diff --git 
a/src/test/java/org/apache/commons/lang3/builder/EqualsBuilderTest.java 
b/src/test/java/org/apache/commons/lang3/builder/EqualsBuilderTest.java
index ccdd16f..a0cf9bb 100644
--- a/src/test/java/org/apache/commons/lang3/builder/EqualsBuilderTest.java
+++ b/src/test/java/org/apache/commons/lang3/builder/EqualsBuilderTest.java
@@ -147,8 +147,8 @@ public class EqualsBuilderTest {
     }
 
     static class TestRecursiveObject {
-        private TestRecursiveInnerObject a;
-        private TestRecursiveInnerObject b;
+        private final TestRecursiveInnerObject a;
+        private final TestRecursiveInnerObject b;
         private int z;
         
         public TestRecursiveObject(TestRecursiveInnerObject a, 
@@ -172,7 +172,7 @@ public class EqualsBuilderTest {
     }
 
     static class TestRecursiveInnerObject {
-        private int n;
+        private final int n;
         public TestRecursiveInnerObject(int n) {
             this.n = n;
         }
@@ -184,7 +184,7 @@ public class EqualsBuilderTest {
 
     static class TestRecursiveCycleObject {
         private TestRecursiveCycleObject cycle;
-        private int n;
+        private final int n;
         public TestRecursiveCycleObject(int n) {
             this.n = n;
             this.cycle = this;

Reply via email to