Use final.
authorGary Gregory <garydgregory@gmail.com>
Tue, 6 Feb 2018 01:02:08 +0000 (18:02 -0700)
committerGary Gregory <garydgregory@gmail.com>
Tue, 6 Feb 2018 01:02:08 +0000 (18:02 -0700)
commons-testing-junit4-mongodb/src/main/java/org/apache/commons/testing/junit4/mongodb/MongoDbTestRule.java

index 9873466..617df65 100644 (file)
@@ -70,7 +70,7 @@ public class MongoDbTestRule implements TestRule {
         this(portSystemPropertyName, DEFAULT_MONGODB_VERSION);\r
     }\r
 \r
-    public MongoDbTestRule(final String portSystemPropertyName, Main mongoDbVersion) {\r
+    public MongoDbTestRule(final String portSystemPropertyName, final Main mongoDbVersion) {\r
         this.portSystemPropertyName = Objects.requireNonNull(portSystemPropertyName, "portSystemPropertyName");\r
         this.mongoDbVersion = mongoDbVersion;\r
     }\r