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 2025/07/02 17:05:04 UTC

(commons-lang) 12/12: Use final

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-lang.git

commit 7b512f84a42f2940a135de94c3f41014bb508deb
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Wed Jul 2 12:51:38 2025 -0400

    Use final
---
 src/test/java/org/apache/commons/lang3/LangAssertions.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/test/java/org/apache/commons/lang3/LangAssertions.java b/src/test/java/org/apache/commons/lang3/LangAssertions.java
index e24d1726d..995ff498b 100644
--- a/src/test/java/org/apache/commons/lang3/LangAssertions.java
+++ b/src/test/java/org/apache/commons/lang3/LangAssertions.java
@@ -26,11 +26,11 @@
  */
 public class LangAssertions {
 
-    public static NullPointerException assertNullPointerException(Executable executable) {
+    public static NullPointerException assertNullPointerException(final Executable executable) {
         return assertThrows(NullPointerException.class, executable);
     }
 
-    public static NullPointerException assertNullPointerException(Executable executable, String message) {
+    public static NullPointerException assertNullPointerException(final Executable executable, final String message) {
         return assertThrows(NullPointerException.class, executable, message);
     }
 }