Tests/Java: Clean up style of Java test code

This commit is contained in:
Matthew Woehlke 2016-05-31 10:51:50 -04:00 committed by Brad King
parent eeac8430bf
commit d91ec04402
2 changed files with 12 additions and 12 deletions

View File

@ -1,11 +1,11 @@
class A
{
public A()
{
}
{
}
public void printName()
{
System.out.println("A");
}
{
System.out.println("A");
}
}

View File

@ -1,11 +1,11 @@
class HelloWorld
{
public static void main(String args[])
{
A a;
a = new A();
a.printName();
System.out.println("Hello World!");
}
public static void main(String args[])
{
A a;
a = new A();
a.printName();
System.out.println("Hello World!");
}
}