@@ -170,8 +170,9 @@ public void close() {
170
170
* @param shouldManageResult Whether its necessary to manage the result with the enclosing LivenessScope. Will be
171
171
* invoked exactly once.
172
172
* @return The result of {@code computation.get()}
173
- * @see #computeEnclosed(Supplier, boolean, Predicate)
173
+ * @deprecated Use {@link #computeEnclosed(Supplier, boolean, Predicate)}
174
174
*/
175
+ @ Deprecated
175
176
public static <RESULT_TYPE extends LivenessReferent > RESULT_TYPE computeEnclosed (
176
177
@ NotNull final Supplier <RESULT_TYPE > computation ,
177
178
@ NotNull final BooleanSupplier shouldEnclose ,
@@ -219,8 +220,9 @@ public static <RESULT_TYPE extends LivenessReferent> RESULT_TYPE computeEnclosed
219
220
* @param shouldManageResult Whether its necessary to manage the result with the enclosing LivenessScope. Will be
220
221
* invoked exactly once per result.
221
222
* @return The results of {@code computation.get()}
222
- * @see #computeArrayEnclosed(Supplier, boolean, Predicate)
223
+ * @deprecated Use {@link #computeArrayEnclosed(Supplier, boolean, Predicate)}
223
224
*/
225
+ @ Deprecated
224
226
public static <RESULT_TYPE extends LivenessReferent > RESULT_TYPE [] computeArrayEnclosed (
225
227
@ NotNull final Supplier <RESULT_TYPE []> computation ,
226
228
@ NotNull final BooleanSupplier shouldEnclose ,
0 commit comments