JohnHake 0639ae696e Rewrite comparing references inspection
Rewrite inspections tutorial doc
2019-04-07 18:46:39 -07:00

12 lines
191 B
Plaintext

public class X {
void f(boolean isMale) {
String title;
if (isMale) {
title = "Mr.";
} else {
title = "Ms.";
}
System.out.println("title = " + title);
}
}