summaryrefslogtreecommitdiffstats
path: root/Tests/Java
diff options
context:
space:
mode:
authorMatthew Woehlke <matthew.woehlke@kitware.com>2016-05-31 14:51:50 (GMT)
committerBrad King <brad.king@kitware.com>2016-06-07 12:50:35 (GMT)
commitd91ec04402bce94cb29662e0de548438876d86d5 (patch)
treef07b33feabc88b024f1bc9cf64cc64b3428a1d39 /Tests/Java
parenteeac8430bf014b4813f2326c9824acacdc0ea49a (diff)
downloadCMake-d91ec04402bce94cb29662e0de548438876d86d5.zip
CMake-d91ec04402bce94cb29662e0de548438876d86d5.tar.gz
CMake-d91ec04402bce94cb29662e0de548438876d86d5.tar.bz2
Tests/Java: Clean up style of Java test code
Diffstat (limited to 'Tests/Java')
-rw-r--r--Tests/Java/A.java10
-rw-r--r--Tests/Java/HelloWorld.java14
2 files changed, 12 insertions, 12 deletions
diff --git a/Tests/Java/A.java b/Tests/Java/A.java
index 403a7f8..b7fdb49 100644
--- a/Tests/Java/A.java
+++ b/Tests/Java/A.java
@@ -1,11 +1,11 @@
class A
{
public A()
- {
- }
+ {
+ }
public void printName()
- {
- System.out.println("A");
- }
+ {
+ System.out.println("A");
+ }
}
diff --git a/Tests/Java/HelloWorld.java b/Tests/Java/HelloWorld.java
index 378e371..995ee48 100644
--- a/Tests/Java/HelloWorld.java
+++ b/Tests/Java/HelloWorld.java
@@ -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!");
+ }
}