Skip to content
Permalink
Browse files
Rename private instance variable.
  • Loading branch information
garydgregory committed Aug 8, 2021
1 parent b08de2b commit 08e19003cef2e079be90e802a7f76d9e05189fd7
Showing 1 changed file with 6 additions and 6 deletions.
@@ -41,11 +41,11 @@
private final T object;
private PooledObjectState state = PooledObjectState.IDLE; // @GuardedBy("this") to ensure transitions are valid
private final Clock systemClock = Clock.systemUTC();
private final Instant createTimeInstant = now();
private final Instant createInstant = now();

private volatile Instant lastBorrowInstant = createTimeInstant;
private volatile Instant lastUseInstant = createTimeInstant;
private volatile Instant lastReturnInstant = createTimeInstant;
private volatile Instant lastBorrowInstant = createInstant;
private volatile Instant lastUseInstant = createInstant;
private volatile Instant lastReturnInstant = createInstant;
private volatile boolean logAbandoned;
private volatile CallStack borrowedBy = NoOpCallStack.INSTANCE;
private volatile CallStack usedBy = NoOpCallStack.INSTANCE;
@@ -154,12 +154,12 @@ public long getBorrowedCount() {

@Override
public Instant getCreateInstant() {
return createTimeInstant;
return createInstant;
}

@Override
public long getCreateTime() {
return createTimeInstant.toEpochMilli();
return createInstant.toEpochMilli();
}

@Override

0 comments on commit 08e1900

Please sign in to comment.