From abf6899e0701e9b00f4f761082308255481dc5a8 Mon Sep 17 00:00:00 2001 From: aherbert Date: Thu, 18 Jun 2020 11:46:51 +0100 Subject: [PATCH] Use upper case L on long declarations --- .../apache/commons/lang3/function/FailableFunctionsTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/org/apache/commons/lang3/function/FailableFunctionsTest.java b/src/test/java/org/apache/commons/lang3/function/FailableFunctionsTest.java index 468c5a48b..7390ab683 100644 --- a/src/test/java/org/apache/commons/lang3/function/FailableFunctionsTest.java +++ b/src/test/java/org/apache/commons/lang3/function/FailableFunctionsTest.java @@ -889,8 +889,8 @@ public class FailableFunctionsTest { public void testLongPredicate() throws Throwable { FailureOnOddInvocations.invocations = 0; final FailableLongPredicate failablePredicate = t1 -> FailureOnOddInvocations.testLong(t1); - assertThrows(SomeException.class, () -> failablePredicate.test(1l)); - failablePredicate.test(1l); + assertThrows(SomeException.class, () -> failablePredicate.test(1L)); + failablePredicate.test(1L); } @Test