Updated version of the "conditionalOperatorConvertor" sample plugin.
[idea/community.git] / samples / conditionalOperatorConvertor / source / intentionDescriptions / ConditionalOperatorConvertor / after.java.template
1 public class X {
2   void f(boolean isMale) {
3     String title;
4     if (isMale) {
5       title = "Mr.";
6     } else {
7       title = "Ms.";
8     }
9     System.out.println("title = " + title);
10   }
11 }