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
The following commit(s) were added to refs/heads/master by this push: new 817f834 Fix internal name. 817f834 is described below commit 817f8348027b714b6a745fb25866bb9fa2d3d998 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Sun Aug 29 15:52:00 2021 -0400 Fix internal name. --- .../apache/commons/lang3/concurrent/UncheckedFutureTest.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/test/java/org/apache/commons/lang3/concurrent/UncheckedFutureTest.java b/src/test/java/org/apache/commons/lang3/concurrent/UncheckedFutureTest.java index fd7a5ae..47a478f 100644 --- a/src/test/java/org/apache/commons/lang3/concurrent/UncheckedFutureTest.java +++ b/src/test/java/org/apache/commons/lang3/concurrent/UncheckedFutureTest.java @@ -39,16 +39,16 @@ public class UncheckedFutureTest { private static class TestFuture<V> implements Future<V> { private final V get; - private final Exception executionException; + private final Exception exception; TestFuture(final Exception throwable) { this.get = null; - this.executionException = throwable; + this.exception = throwable; } TestFuture(final V get) { this.get = get; - this.executionException = null; + this.exception = null; } @Override @@ -58,8 +58,8 @@ public class UncheckedFutureTest { @SuppressWarnings("unchecked") // Programming error if call site blows up at runtime. private <T extends Exception> void checkExecutionException() throws T { - if (executionException != null) { - throw (T) executionException; + if (exception != null) { + throw (T) exception; } }