moving tests to CE

This commit is contained in:
Dmitry Jemerov
2009-09-25 20:47:25 +04:00
parent 354a466ca6
commit 2eb0468116
17 changed files with 6 additions and 0 deletions
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<problems>
<problem>
<file>Foo.java</file>
<line>7</line>
<description>The value changed is never used</description>
</problem>
</problems>
@@ -0,0 +1,11 @@
public class Foo {
int myOffset;
void foo() {
int offset = myOffset + 4;
byte[] a = new byte[10];
byte b1 = a[offset++];
byte b2 = a[offset++];
System.out.println(b1);
System.out.println(b2);
}
}