I'm trying to change my code style, and I want to make method calls body in a new line.
There's an example of what I have and what I want to achieve.
what I actually have
what I want to achieve
actual:
Optional<String> op = ch.getConfigurationSection("Tiers") .getKeys(false) .stream() .filter(s -> en.isCustomNameVisible() && en.getCustomName().equalsIgnoreCase( File.colored(ch.getString("Tiers." + s + ".hologramName")))) .findFirst();
what I want:
.filter(s -> en.isCustomNameVisible() && en.getCustomName().equalsIgnoreCase( File.colored(ch.getString("Tiers." + s + ".hologramName")) ) ).findFirst();
1.4m articles
1.4m replys
5 comments
56.9k users