Skip to content

Commit

Permalink
Minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
donat committed Jul 22, 2024
1 parent 683cbbc commit 0866650
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
import java.net.URL;

import com.google.common.base.Splitter;
import com.google.common.collect.Lists;

import org.eclipse.core.resources.IMarker;
import org.eclipse.jface.dialogs.Dialog;
Expand Down Expand Up @@ -174,6 +173,6 @@ private static String idDisplayName(String displayName, String fqid) {
}

public static int countLines(String str) {
return Lists.newArrayList(Splitter.on(System.lineSeparator()).split(str)).size();
return Splitter.on(System.lineSeparator()).splitToList(str).size();
}
}

0 comments on commit 0866650

Please sign in to comment.