mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
moving tests to CE
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<problems>
|
||||
<problem>
|
||||
<file>X.java</file>
|
||||
<line>5</line>
|
||||
<problem_class>Duplicate throws</problem_class>
|
||||
<description>Duplicate throws</description>
|
||||
</problem>
|
||||
|
||||
<problem>
|
||||
<file>X.java</file>
|
||||
<line>10</line>
|
||||
<problem_class>Duplicate throws</problem_class>
|
||||
<description>There is a more general exception, 'java.lang.Exception' in the throws list already.</description>
|
||||
</problem>
|
||||
|
||||
<problem>
|
||||
<file>X.java</file>
|
||||
<line>18</line>
|
||||
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">Duplicate throws</problem_class>
|
||||
<description>Duplicate throws</description>
|
||||
</problem>
|
||||
|
||||
<problem>
|
||||
<file>X.java</file>
|
||||
<line>19</line>
|
||||
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">Duplicate throws</problem_class>
|
||||
<description>Duplicate throws</description>
|
||||
</problem>
|
||||
</problems>
|
||||
@@ -0,0 +1,24 @@
|
||||
import java.io.*;
|
||||
|
||||
public class X {
|
||||
void f() throws
|
||||
Exception,
|
||||
Exception {
|
||||
}
|
||||
void f2() throws
|
||||
Exception,
|
||||
IllegalArgumentException {
|
||||
}
|
||||
void f3() throws
|
||||
FileNotFoundException,
|
||||
EOFException {
|
||||
}
|
||||
|
||||
public void TTT() throws
|
||||
FileNotFoundException,
|
||||
EOFException,
|
||||
FileNotFoundException,
|
||||
EOFException {
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user