moving tests to CE

This commit is contained in:
Dmitry Jemerov
2009-09-25 21:25:16 +04:00
parent 82276bad7d
commit 25140c5070
9 changed files with 6 additions and 1 deletions
@@ -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();
}
}