If the expression is too long, you can use two units of indentation for subsequent lines.
public class MainClass {
public static void main(String[] args) {
int numberOfLoginAttempts = 10;
int numberOfMinimumLoginAttempts = 12;
int numberOfMaximumLoginAttempts = 13;
int y = 3;
if (numberOfLoginAttempts < numberOfMaximumLoginAttempts
|| numberOfMinimumLoginAttempts > y) {
y++;
}
}
}