diff --git a/tests/test-sessions/test-file-sessions/src/test/java/org/eclipse/jetty/server/session/FileTestHelper.java b/tests/test-sessions/test-file-sessions/src/test/java/org/eclipse/jetty/server/session/FileTestHelper.java index da428e97ef1..b2d1a6a5eeb 100644 --- a/tests/test-sessions/test-file-sessions/src/test/java/org/eclipse/jetty/server/session/FileTestHelper.java +++ b/tests/test-sessions/test-file-sessions/src/test/java/org/eclipse/jetty/server/session/FileTestHelper.java @@ -86,9 +86,9 @@ public class FileTestHelper for (String name : files) { int i = name.lastIndexOf('_'); - if (i < 0 || i == name.length()-1) + if (i < 0 || i == name.length() - 1) continue; - String id = name.substring(i+1); + String id = name.substring(i + 1); if (id.equals(sessionId)) { fname = name;