Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/main/java/org/scijava/parsington/ExpressionParser.java
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ public ExpressionParser(final Collection<? extends Operator> operators,

// NB: Ensure operators with longer symbols come first.
// This prevents e.g. '-' from being matched before '-=' and '--'.
Collections.sort(operatorsList, (o1, o2) -> {
operatorsList.sort((o1, o2) -> {
final String t1 = o1.getToken();
final String t2 = o2.getToken();
final int len1 = t1.length();
Expand Down
Loading
Loading