Skip to content

Commit 839d3ed

Browse files
committed
CastingConverter: fix priority
Writing "FIRST_PRIORITY - 1" is the same as "FIRST_PRIORITY", since that constant equals Double.POSITIVE_INFINITY.
1 parent aee1dbc commit 839d3ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/scijava/convert/CastingConverter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
*
4242
* @author Mark Hiner hinerm at gmail.com
4343
*/
44-
@Plugin(type = Converter.class, priority = Priority.FIRST_PRIORITY - 1)
44+
@Plugin(type = Converter.class, priority = Priority.FIRST_PRIORITY)
4545
public class CastingConverter extends AbstractConverter<Object, Object> {
4646

4747
@SuppressWarnings("deprecation")

0 commit comments

Comments
 (0)