Skip to content

Commit 8f527f8

Browse files
author
svorenova
committed
Cleaning java files
1 parent 3a1962f commit 8f527f8

15 files changed

+31
-44
lines changed
Binary file not shown.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
class Bar extends Foo
2+
{
3+
4+
}
Binary file not shown.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
interface BasicInterface
2+
{
3+
int getX();
4+
}
Binary file not shown.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
class Foo implements BasicInterface
2+
{
3+
public int x;
4+
5+
public int getX() {
6+
return x;
7+
}
8+
}
Binary file not shown.
Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,6 @@
1-
interface BasicInterface
2-
{
3-
int getX();
4-
}
5-
6-
class Foo implements BasicInterface
7-
{
8-
public int x;
9-
10-
public int getX() {
11-
return x;
12-
}
13-
}
14-
15-
class Bar extends Foo
16-
{}
17-
181
class GenericArray<T>
192
{
203
public T [] t;
214
public Integer [] Ia;
225
public int [] ia;
236
}
24-

unit/java_bytecode/java_bytecode_parse_generics/GenericFunctions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ public static <T extends Foo & BasicInterface> void processDoubleUpperBoundClass
2323
public static <T extends BasicInterface & BasicInterfaceCopy> void processDoubleUpperBoundInterfaceGeneric(SimpleGeneric<T> x) {
2424
assert(x.t.getX() == 4);
2525
}
26-
}
26+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
class RecursiveGeneric extends SimpleRecursiveGeneric<RecursiveGeneric>
22
{
33

4-
}
4+
}

0 commit comments

Comments
 (0)