mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-06 13:20:53 +07:00
Fix testdata after making forward slash an ordinary char in InspectionsTestUtil
GitOrigin-RevId: e0d27694f2286bc21fdd45bbbc054c2d84021290
This commit is contained in:
committed by
intellij-monorepo-bot
parent
70482dd22f
commit
cef997ef8c
@@ -4,7 +4,7 @@
|
||||
<file>Test.java</file>
|
||||
<line>2</line>
|
||||
<entry_point TYPE="method" FQNAME="Test void doSmth(java.lang.String str)" />
|
||||
<description>Parameter <code>str</code> is not used in either this method or any of its derived methods</description>
|
||||
<description>Parameter <code>str</code> is not used</description>
|
||||
</problem>
|
||||
|
||||
</problems>
|
||||
@@ -3,11 +3,11 @@
|
||||
<problem>
|
||||
<file>A.java</file>
|
||||
<line>1</line>
|
||||
<description>Class has <code>equals()</code> defined but does not define <code>hashCode()</code>.</description>
|
||||
<description>Class has <code>equals()</code> defined but does not define <code>hashCode()</code></description>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>B.java</file>
|
||||
<line>1</line>
|
||||
<description>Class has <code>hashCode()</code> defined but does not define <code>equals()</code>.</description>
|
||||
<description>Class has <code>hashCode()</code> defined but does not define <code>equals()</code></description>
|
||||
</problem>
|
||||
</problems>
|
||||
|
||||
@@ -3,6 +3,6 @@
|
||||
<problem>
|
||||
<file>Test.java</file>
|
||||
<line>2</line>
|
||||
<description>Class has <code>equals()</code> defined but does not define <code>hashCode()</code>.</description>
|
||||
<description>Class has <code>equals()</code> defined but does not define <code>hashCode()</code></description>
|
||||
</problem>
|
||||
</problems>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<file>Test.java</file>
|
||||
<line>2</line>
|
||||
<problem_class id="unused" severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">Unused declaration</problem_class>
|
||||
<description>Parameter <code>b</code> is not used in either this method or any of its derived methods</description>
|
||||
<description>Parameter <code>b</code> is not used</description>
|
||||
<highlighted_element>b</highlighted_element>
|
||||
<language>JAVA</language>
|
||||
<offset>26</offset>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<file>DoubleQualify.java</file>
|
||||
<line>4</line>
|
||||
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Unnecessary fully qualified name</problem_class>
|
||||
<description>Qualifier <code>java.util</code> is unnecessary, and can be replaced with an import #loc</description>
|
||||
<description>Qualifier <code>java.util</code> is unnecessary and can be removed #loc</description>
|
||||
</problem>
|
||||
|
||||
</problems>
|
||||
@@ -26,14 +26,14 @@
|
||||
<file>UnnecessaryFullyQualifiedName.java</file>
|
||||
<line>17</line>
|
||||
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Unnecessary fully qualified name</problem_class>
|
||||
<description>Qualifier <code>java.lang</code> is unnecessary, and can be replaced with an import #loc</description>
|
||||
<description>Qualifier <code>java.lang</code> is unnecessary and can be removed #loc</description>
|
||||
</problem>
|
||||
|
||||
<problem>
|
||||
<file>UnnecessaryFullyQualifiedName.java</file>
|
||||
<line>18</line>
|
||||
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Unnecessary fully qualified name</problem_class>
|
||||
<description>Qualifier <code>java.lang</code> is unnecessary, and can be replaced with an import #loc</description>
|
||||
<description>Qualifier <code>java.lang</code> is unnecessary and can be removed #loc</description>
|
||||
</problem>
|
||||
|
||||
<problem>
|
||||
@@ -47,7 +47,7 @@
|
||||
<file>UnnecessaryFQNJavadoc.java</file>
|
||||
<line>4</line>
|
||||
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Unnecessary fully qualified name</problem_class>
|
||||
<description>Qualifier <code>java.util</code> is unnecessary, and can be replaced with an import #loc</description>
|
||||
<description>Qualifier <code>java.util</code> is unnecessary and can be removed #loc</description>
|
||||
</problem>
|
||||
|
||||
<problem>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<problem>
|
||||
<file>test.kt</file>
|
||||
<line>3</line>
|
||||
<description>Function name <code>FOO_BAR</code> should not contain underscores #loc</description>
|
||||
<description>Function name <code>FOO_BAR</code> should start with a lowercase letter #loc</description>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>test.kt</file>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<problem>
|
||||
<file>test.kt</file>
|
||||
<line>27</line>
|
||||
<description>Property name <code>_Foo</code> should not start with an underscore #loc</description>
|
||||
<description>Property name <code>_Foo</code> should start with a lowercase letter #loc</description>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>test.kt</file>
|
||||
@@ -12,21 +12,21 @@
|
||||
<problem>
|
||||
<file>test.kt</file>
|
||||
<line>45</line>
|
||||
<description>Property name <code>interface_p1</code> should start with a lowercase letter #loc</description>
|
||||
<description>Property name <code>interface_p1</code> should not contain underscores #loc</description>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>test.kt</file>
|
||||
<line>46</line>
|
||||
<description>Property name <code>interface_p2</code> should start with a lowercase letter #loc</description>
|
||||
<description>Property name <code>interface_p2</code> should not contain underscores #loc</description>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>test.kt</file>
|
||||
<line>52</line>
|
||||
<description>Property name <code>ctor_val</code> should start with a lowercase letter #loc</description>
|
||||
<description>Property name <code>ctor_val</code> should not contain underscores #loc</description>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>test.kt</file>
|
||||
<line>53</line>
|
||||
<description>Property name <code>ctor_var</code> should start with a lowercase letter #loc</description>
|
||||
<description>Property name <code>ctor_var</code> should not contain underscores #loc</description>
|
||||
</problem>
|
||||
</problems>
|
||||
|
||||
Reference in New Issue
Block a user