public String GetPropertyLabel(StringProperty stringproperty, boolean flag) { String s = stringproperty.printString(); String s1 = TextUtils.getValue(getLabels(), s); if (s1.length() != 0) { return s1; } if (flag) { return ""; } else { return s; } }
public String GetPropertyLabel(StringProperty stringproperty, boolean flag) { if (stringproperty == pStatus) { return getProperty(pStatusLabel); } String s = stringproperty.printString(); String s1 = TextUtils.getValue(getLabels(), s); if (s1.length() != 0) { return s1; } if (flag && s.indexOf("value") < 0) { return ""; } else { return s; } }