mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
moving tests to CE
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user