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,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<problems>
|
||||
<problem>
|
||||
<file>Test.java</file>
|
||||
<line>3</line>
|
||||
<problem_class>Actual method parameter is the same constant</problem_class>
|
||||
<description>Actual value of parameter</description>
|
||||
</problem>
|
||||
</problems>
|
||||
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
public class Test {
|
||||
|
||||
private void foo(String... args) {}
|
||||
|
||||
public void bar() {
|
||||
foo("foo");
|
||||
foo("foo");
|
||||
}
|
||||
|
||||
public static void main(String[] args){
|
||||
new Test().bar();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user