Skip to content

Commit 6610201

Browse files
committed
Deprecate Boolean supplier methods
1 parent 1fd9b96 commit 6610201

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

engine/updategraph/src/main/java/io/deephaven/engine/liveness/LivenessScopeStack.java

+4-2
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,9 @@ public void close() {
170170
* @param shouldManageResult Whether its necessary to manage the result with the enclosing LivenessScope. Will be
171171
* invoked exactly once.
172172
* @return The result of {@code computation.get()}
173-
* @see #computeEnclosed(Supplier, boolean, Predicate)
173+
* @deprecated Use {@link #computeEnclosed(Supplier, boolean, Predicate)}
174174
*/
175+
@Deprecated
175176
public static <RESULT_TYPE extends LivenessReferent> RESULT_TYPE computeEnclosed(
176177
@NotNull final Supplier<RESULT_TYPE> computation,
177178
@NotNull final BooleanSupplier shouldEnclose,
@@ -219,8 +220,9 @@ public static <RESULT_TYPE extends LivenessReferent> RESULT_TYPE computeEnclosed
219220
* @param shouldManageResult Whether its necessary to manage the result with the enclosing LivenessScope. Will be
220221
* invoked exactly once per result.
221222
* @return The results of {@code computation.get()}
222-
* @see #computeArrayEnclosed(Supplier, boolean, Predicate)
223+
* @deprecated Use {@link #computeArrayEnclosed(Supplier, boolean, Predicate)}
223224
*/
225+
@Deprecated
224226
public static <RESULT_TYPE extends LivenessReferent> RESULT_TYPE[] computeArrayEnclosed(
225227
@NotNull final Supplier<RESULT_TYPE[]> computation,
226228
@NotNull final BooleanSupplier shouldEnclose,

0 commit comments

Comments
 (0)