philadelphia-client: Prefer method reference to lambda expression
@@ -26,7 +26,7 @@ public class Commands {
}
public static ImmutableList<String> names() {
- return COMMANDS.collect(c -> c.getName());
+ return COMMANDS.collect(Command::getName);
}
}
