blob: 39760af747b54b5ac535af477a5e4b79af521961 [file]
class C {
public boolean foo(String type, String text) {
if ("I".equals(type) || "L".equals(type)) {
return <weak_warning descr="Multiple occurrences of '!text.startsWith(\"0x\") && !text.startsWith(\"0X\")'">!text.startsWith("0x") && !text.startsWith("0X")</weak_warning>;
}
if ("D".equals(type) || "F".equals(type)) {
return <weak_warning descr="Multiple occurrences of '!text.startsWith(\"0x\") && !text.startsWith(\"0X\")'">!text.startsWith("0x") && !text.startsWith("0X")</weak_warning>;
}
return false;
}
}