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 2021/08/29 19:56:09 UTC
[commons-lang] branch master updated: Better internal name.
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 c28b2e4 Better internal name.
c28b2e4 is described below
commit c28b2e4e717a13527aded2625bbf431506674e9f
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Aug 29 15:56:06 2021 -0400
Better internal name.
---
.../apache/commons/lang3/concurrent/UncheckedFutureTest.java | 12 ++++++------
1 file changed, 6 insertions(+), 6 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 47a478f..f275344 100644
--- a/src/test/java/org/apache/commons/lang3/concurrent/UncheckedFutureTest.java
+++ b/src/test/java/org/apache/commons/lang3/concurrent/UncheckedFutureTest.java
@@ -38,16 +38,16 @@ public class UncheckedFutureTest {
private static class TestFuture<V> implements Future<V> {
- private final V get;
+ private final V value;
private final Exception exception;
TestFuture(final Exception throwable) {
- this.get = null;
+ this.value = null;
this.exception = throwable;
}
- TestFuture(final V get) {
- this.get = get;
+ TestFuture(final V value) {
+ this.value = value;
this.exception = null;
}
@@ -66,13 +66,13 @@ public class UncheckedFutureTest {
@Override
public V get() throws InterruptedException, ExecutionException {
checkExecutionException();
- return get;
+ return value;
}
@Override
public V get(final long timeout, final TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException {
checkExecutionException();
- return get;
+ return value;
}
@Override