File tree Expand file tree Collapse file tree 7 files changed +10
-11
lines changed
Expand file tree Collapse file tree 7 files changed +10
-11
lines changed Original file line number Diff line number Diff line change 33 *
44 * @see some class docs
55 */
6- class JavaDoc1 {
6+ class JavaDoc0 {
77 /**
88 * Method documentation in Java Doc format.
99 *
Original file line number Diff line number Diff line change 1- public class Keywords1 {
1+ public class Keywords0 {
22 public static void main (String [] args ) {
33
44 String and = "this is and" ;
Original file line number Diff line number Diff line change 1- class Literals1 {
1+ class Literals0 {
22 public static void main (String [] args ) {
33
4- Literals1 lit = new Literals1 ();
54 int h = 0xAA ;
65 int o = 034 ;
76 float f = .3f ;
Original file line number Diff line number Diff line change 1- class Property2 {
1+ class Property0 {
22 int m_bar = 0 ;
33
44 public int barProp () {
@@ -14,7 +14,7 @@ public void barProp(String g) {
1414 }
1515
1616 public static void main (String [] args ) {
17- Property2 p = new Property2 ();
17+ Property0 p = new Property0 ();
1818 System .out .println (p .barProp ());
1919 p .barProp (1 );
2020 System .out .println (p .barProp ());
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ public int foo(int x) {
44 }
55}
66
7- class Super1 extends Base {
7+ class Super0 extends Base {
88
99 public int foo (int y ) {
1010 int retval = super .foo (y );
@@ -13,7 +13,7 @@ public int foo(int y) {
1313
1414 public static void main (String [] args ) {
1515
16- Super1 x = new Super1 ();
16+ Super0 x = new Super0 ();
1717
1818 System .out .println (x .foo (3 ));
1919
Original file line number Diff line number Diff line change 1- class Switch6 {
1+ class Switch0 {
22
33 public static void main (String [] args ) {
44 int x = 0 ;
Original file line number Diff line number Diff line change 1- class Synchronized1 {
1+ class Synchronized0 {
22 private long c1 = 0 ;
33 private long c2 = 0 ;
44 private Object lock1 = new Object ();
@@ -18,7 +18,7 @@ public void inc2() {
1818 }
1919
2020 public static void main (String [] args ) {
21- Synchronized1 obj = new Synchronized1 ();
21+ Synchronized0 obj = new Synchronized0 ();
2222 obj .inc1 ();
2323 obj .inc2 ();
2424 System .out .println ( obj .c1 );
You can’t perform that action at this time.
0 commit comments