summaryrefslogtreecommitdiff
path: root/base/src/main/java/bjc/utils/funcutils/LambdaLock.java
diff options
context:
space:
mode:
Diffstat (limited to 'base/src/main/java/bjc/utils/funcutils/LambdaLock.java')
-rw-r--r--base/src/main/java/bjc/utils/funcutils/LambdaLock.java13
1 files changed, 7 insertions, 6 deletions
diff --git a/base/src/main/java/bjc/utils/funcutils/LambdaLock.java b/base/src/main/java/bjc/utils/funcutils/LambdaLock.java
index 46de182..c974c8c 100644
--- a/base/src/main/java/bjc/utils/funcutils/LambdaLock.java
+++ b/base/src/main/java/bjc/utils/funcutils/LambdaLock.java
@@ -30,8 +30,8 @@ public class LambdaLock {
/** Execute an action with the read lock taken.
*
- * @param <T> The type of the result.
- *
+ * @param <T> The type returned by the action.
+ *
* @param supp The action to call.
*
* @return The result of the action. */
@@ -45,10 +45,11 @@ public class LambdaLock {
}
}
- /** Execute an action with the write lock taken.
- *
- * @param <T> The type of the result.
- *
+ /**
+ * Execute an action with the write lock taken.
+ *
+ * @param <T> The type returned by the action.
+ *
* @param supp The action to call.
*
* @return The result of the action. */