Changes from auto code review

This commit is contained in:
Luke Butters 2017-11-01 16:25:49 +11:00
parent e4d87b4b07
commit 21a6fc5baa

View File

@ -52,7 +52,7 @@ public class ListElementRemovalTest {
@Override
public boolean remove(String t) {
return t.equals("a") || t.endsWith("c");
return "a".equals(t) || "c".equals(t);
}
};