Skip to content

Commit 355d338

Browse files
committed
Fix compiler warnings
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent f123b8a commit 355d338

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/scijava/object/ObjectIndex.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,13 +275,13 @@ protected boolean remove(final Object o, final Class<?> type,
275275
}
276276

277277
protected boolean addToList(final E obj, final List<E> list,
278-
final boolean batch)
278+
@SuppressWarnings("unused") final boolean batch)
279279
{
280280
return list.add(obj);
281281
}
282282

283283
protected boolean removeFromList(final Object obj, final List<E> list,
284-
final boolean batch)
284+
@SuppressWarnings("unused") final boolean batch)
285285
{
286286
return list.remove(obj);
287287
}

0 commit comments

Comments
 (0)