package com.siyeh.igfixes.performance.replace_with_isempty;

public class Ternary {
  public void someAction(boolean flag, String s1, String s2) {
    if ("".<caret>equals(flag ? s1 : s2)) {
      System.out.println("");
    }
  }
}