mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
inspection toolwindow: offline inspection result action resolves packages/classes structure
This commit is contained in:
@@ -49,4 +49,8 @@ public class Test {
|
||||
long d = 5;
|
||||
int a = 0;
|
||||
}
|
||||
|
||||
void m() {
|
||||
"".equals("");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
public class Test2 {
|
||||
|
||||
void m123() {
|
||||
|
||||
|
||||
"".equals("");
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<problems>
|
||||
<problem>
|
||||
<file>file://$PROJECT_DIR$/src/Test.java</file>
|
||||
<line>54</line>
|
||||
<module>test</module>
|
||||
<package><default></package>
|
||||
<entry_point TYPE="method" FQNAME="Test void m()" />
|
||||
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">'equals()' called on itself</problem_class>
|
||||
<description>Identical qualifier and argument to <code>equals()</code> call</description>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>file://$PROJECT_DIR$/src/Test2.java</file>
|
||||
<line>6</line>
|
||||
<module>test</module>
|
||||
<package><default></package>
|
||||
<entry_point TYPE="method" FQNAME="Test2 void m123()" />
|
||||
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">'equals()' called on itself</problem_class>
|
||||
<description>Identical qualifier and argument to <code>equals()</code> call</description>
|
||||
</problem>
|
||||
</problems>
|
||||
|
||||
Reference in New Issue
Block a user