mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
[java-inspections] IDEA-374922 Highlight the second main method as unused (part of IDEA-372969 WIP)
GitOrigin-RevId: 11bc0dcd62d29f94270781ea5a79f4665575d0a9
This commit is contained in:
committed by
intellij-monorepo-bot
parent
105b2eac5d
commit
7a31ef1f7d
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<problems>
|
||||
<problem>
|
||||
<file>Test.java</file>
|
||||
<line>6</line>
|
||||
<highlighted_element>t3</highlighted_element>
|
||||
<problem_class id="unused" severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">unused declaration</problem_class>
|
||||
<description>Method is never used.</description>
|
||||
</problem>
|
||||
</problems>
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
void main(String[] args){
|
||||
|
||||
}
|
||||
|
||||
|
||||
void main(){
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user