From 817f8348027b714b6a745fb25866bb9fa2d3d998 Mon Sep 17 00:00:00 2001 From: Gary Gregory Date: Sun, 29 Aug 2021 15:52:00 -0400 Subject: [PATCH] Fix internal name. --- .../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 fd7a5aed4..47a478f1c 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 implements Future { 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 void checkExecutionException() throws T { - if (executionException != null) { - throw (T) executionException; + if (exception != null) { + throw (T) exception; } }