GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Renaming test classes. · OliverKohl/java2python@c9f5ee5

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • test
    • JavaDoc0.java
    • Keywords0.java
    • Literals0.java
    • Property0.java
    • Super0.java
    • Switch0.java
    • Synchronized0.java
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎test/JavaDoc1.java‎ ‎test/JavaDoc0.java‎test/JavaDoc1.java renamed to test/JavaDoc0.java

Copy file name to clipboardExpand all lines: test/JavaDoc0.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* @see some class docs
55
*/
6-
class JavaDoc1 {
6+
class JavaDoc0 {
77
/**
88
* Method documentation in Java Doc format.
99
*
Collapse file

‎test/Keywords1.java‎ ‎test/Keywords0.java‎test/Keywords1.java renamed to test/Keywords0.java

Copy file name to clipboardExpand all lines: test/Keywords0.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
public class Keywords1 {
1+
public class Keywords0 {
22
public static void main(String[] args) {
33

44
String and = "this is and";
Collapse file

‎test/Literals1.java‎ ‎test/Literals0.java‎test/Literals1.java renamed to test/Literals0.java

Copy file name to clipboardExpand all lines: test/Literals0.java
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
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;
Collapse file

‎test/Property2.java‎ ‎test/Property0.java‎test/Property2.java renamed to test/Property0.java

Copy file name to clipboardExpand all lines: test/Property0.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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());
Collapse file

‎test/Super1.java‎ ‎test/Super0.java‎test/Super1.java renamed to test/Super0.java

Copy file name to clipboardExpand all lines: test/Super0.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

Collapse file

‎test/Switch6.java‎ ‎test/Switch0.java‎test/Switch6.java renamed to test/Switch0.java

Copy file name to clipboardExpand all lines: test/Switch0.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
class Switch6 {
1+
class Switch0 {
22

33
public static void main(String[] args) {
44
int x = 0;
Collapse file

‎test/Synchronized1.java‎ ‎test/Synchronized0.java‎test/Synchronized1.java renamed to test/Synchronized0.java

Copy file name to clipboardExpand all lines: test/Synchronized0.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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 );

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.