moving tests to CE

This commit is contained in:
Dmitry Jemerov
2009-09-25 20:56:01 +04:00
parent 2912d6965b
commit 7056118d36
11 changed files with 6 additions and 0 deletions
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<problems>
<problem>
<file>Test.java</file>
<line>2</line>
<description>Field can be converted to a variable</description>
</problem>
</problems>
@@ -0,0 +1,15 @@
class Temp {
private int length = 10;
private int[] array;
public Temp()
{
array = new int[length];
}
public int[] getArray()
{
return array;
}
}