Repository: logging-log4j2 Updated Branches: refs/heads/AutoCloseableLock f21ffe18b -> 319366277
Javadoc. Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/31936627 Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/31936627 Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/31936627 Branch: refs/heads/AutoCloseableLock Commit: 319366277ed0c452a94aeaa7c6cbd76d6b6f68b5 Parents: f21ffe1 Author: Gary Gregory <[email protected]> Authored: Fri Jun 24 02:27:20 2016 -0700 Committer: Gary Gregory <[email protected]> Committed: Fri Jun 24 02:27:20 2016 -0700 ---------------------------------------------------------------------- .../org/apache/logging/log4j/util/AutoCloseableLock.java | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/31936627/log4j-api/src/main/java/org/apache/logging/log4j/util/AutoCloseableLock.java ---------------------------------------------------------------------- diff --git a/log4j-api/src/main/java/org/apache/logging/log4j/util/AutoCloseableLock.java b/log4j-api/src/main/java/org/apache/logging/log4j/util/AutoCloseableLock.java index 86accd7..f3ba596 100644 --- a/log4j-api/src/main/java/org/apache/logging/log4j/util/AutoCloseableLock.java +++ b/log4j-api/src/main/java/org/apache/logging/log4j/util/AutoCloseableLock.java @@ -70,7 +70,7 @@ public final class AutoCloseableLock implements AutoCloseable, Serializable { /** * Delegates to {@link Lock#lock()}. * - * @return + * @return this */ public AutoCloseableLock lock() { this.lock.lock(); @@ -80,7 +80,7 @@ public final class AutoCloseableLock implements AutoCloseable, Serializable { /** * Delegates to {@link Lock#tryLock()}, do NOT use in a try block. * - * @return + * @return See {@link Lock#tryLock()}. */ public boolean tryLock() { return this.lock.tryLock(); @@ -89,7 +89,7 @@ public final class AutoCloseableLock implements AutoCloseable, Serializable { /** * Delegates to {@link Lock#lockInterruptibly()}, use in a try block. * - * @return + * @return this * @throws InterruptedException */ public AutoCloseableLock lockInterruptibly() throws InterruptedException { @@ -100,7 +100,7 @@ public final class AutoCloseableLock implements AutoCloseable, Serializable { /** * Delegates to {@link Lock#newCondition()}. * - * @return + * @return See {@link Lock#newCondition()}. */ public Condition newCondition() { return this.lock.newCondition(); @@ -108,8 +108,6 @@ public final class AutoCloseableLock implements AutoCloseable, Serializable { /** * Delegates to {@link Lock#unlock()}. - * - * @return */ public void unlock() { this.lock.unlock();
