commit | 8abb9759d20d504684af2980f4cc85e2c771b211 | [log] [tgz] |
---|---|---|
author | Gary Gregory <garydgregory@gmail.com> | Mon Feb 05 18:02:08 2018 -0700 |
committer | Gary Gregory <garydgregory@gmail.com> | Mon Feb 05 18:02:08 2018 -0700 |
tree | d434d28b99b30149374fcf673a99aa6957f322ff | |
parent | 945be5fa9bd75b591a9f9d46b740ccdade3cf1bf [diff] |
Use final.
diff --git a/commons-testing-junit4-mongodb/src/main/java/org/apache/commons/testing/junit4/mongodb/MongoDbTestRule.java b/commons-testing-junit4-mongodb/src/main/java/org/apache/commons/testing/junit4/mongodb/MongoDbTestRule.java index 9873466..617df65 100644 --- a/commons-testing-junit4-mongodb/src/main/java/org/apache/commons/testing/junit4/mongodb/MongoDbTestRule.java +++ b/commons-testing-junit4-mongodb/src/main/java/org/apache/commons/testing/junit4/mongodb/MongoDbTestRule.java
@@ -70,7 +70,7 @@ this(portSystemPropertyName, DEFAULT_MONGODB_VERSION); } - public MongoDbTestRule(final String portSystemPropertyName, Main mongoDbVersion) { + public MongoDbTestRule(final String portSystemPropertyName, final Main mongoDbVersion) { this.portSystemPropertyName = Objects.requireNonNull(portSystemPropertyName, "portSystemPropertyName"); this.mongoDbVersion = mongoDbVersion; }