Skip to content
Snippets Groups Projects
Commit 97af24cb authored by akwizgran's avatar akwizgran
Browse files

Fixed lint warning: case converstion without a locale.

parent 4aae062e
No related branches found
No related tags found
No related merge requests found
......@@ -9,6 +9,7 @@ import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.util.Collection;
import java.util.Locale;
import java.util.concurrent.Executor;
import java.util.logging.Logger;
......@@ -77,7 +78,7 @@ public abstract class FilePlugin implements SimplexPlugin {
// Package access for testing
boolean isPossibleConnectionFilename(String filename) {
return filename.toLowerCase().matches("[a-z]{8}\\.dat");
return filename.toLowerCase(Locale.US).matches("[a-z]{8}\\.dat");
}
private SimplexTransportWriter createWriter(String filename) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment