mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-08 16:25:33 +07:00
11 lines
548 B
Java
11 lines
548 B
Java
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;
|
|
}
|
|
} |