mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-10 13:17:09 +07:00
unused declaration: a class with non-static fields is not a utility class
GitOrigin-RevId: 4c3f04dce18ee56fb0a0fe3beeee405fe91f750e
This commit is contained in:
committed by
intellij-monorepo-bot
parent
1e4040b95f
commit
dbb8a2bac3
@@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<problems>
|
||||
|
||||
<problem>
|
||||
<file>NonUtility.java</file>
|
||||
<line>1</line>
|
||||
<problem_class>unused declaration</problem_class>
|
||||
<description>Class is not instantiated.</description>
|
||||
</problem>
|
||||
|
||||
<problem>
|
||||
<file>NonUtility.java</file>
|
||||
<line>2</line>
|
||||
<problem_class>unused declaration</problem_class>
|
||||
<description>Field has no usages.</description>
|
||||
</problem>
|
||||
|
||||
<problem>
|
||||
<file>NonUtility.java</file>
|
||||
<line>3</line>
|
||||
<problem_class>unused declaration</problem_class>
|
||||
<description>Field has no usages.</description>
|
||||
</problem>
|
||||
|
||||
<problem>
|
||||
<file>NonUtility.java</file>
|
||||
<line>5</line>
|
||||
<problem_class>unused declaration</problem_class>
|
||||
<description>Method is never used.</description>
|
||||
</problem>
|
||||
|
||||
</problems>
|
||||
@@ -0,0 +1,6 @@
|
||||
public class NonUtility {
|
||||
private int i;
|
||||
private int j;
|
||||
|
||||
public static void utility() {}
|
||||
}
|
||||
Reference in New Issue
Block a user