Repository: logging-log4j2
Updated Branches:
  refs/heads/AutoCloseableLock 3c10ace1f -> f21ffe18b


Javadoc and refine.

Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/f21ffe18
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/f21ffe18
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/f21ffe18

Branch: refs/heads/AutoCloseableLock
Commit: f21ffe18b8d11bf3fa0d0c41876e38f405661ce8
Parents: 3c10ace
Author: Gary Gregory <ggreg...@apache.org>
Authored: Fri Jun 24 02:14:22 2016 -0700
Committer: Gary Gregory <ggreg...@apache.org>
Committed: Fri Jun 24 02:14:22 2016 -0700

----------------------------------------------------------------------
 .../java/org/apache/logging/log4j/util/AutoCloseableLock.java     | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/f21ffe18/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 02318a0..86accd7 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
@@ -25,6 +25,8 @@ import java.util.concurrent.locks.ReentrantLock;
 /**
  * Wraps a Lock and makes this wrapper useable in a try-with-resources 
statement.
  * 
+ * Alternative class names: AutoLock, LockResource, LockWrapper.
+ * 
  * @since 2.6.2
  */
 public final class AutoCloseableLock implements AutoCloseable, Serializable {
@@ -88,6 +90,7 @@ public final class AutoCloseableLock implements 
AutoCloseable, Serializable {
      * Delegates to {@link Lock#lockInterruptibly()}, use in a try block.
      * 
      * @return
+     * @throws InterruptedException 
      */
     public AutoCloseableLock lockInterruptibly() throws InterruptedException {
         this.lock.lockInterruptibly();

Reply via email to