Skip to content

Commit 9cf5771

Browse files
authored
Format source code in a more natural Java way (microsoft#32)
1 parent 966f969 commit 9cf5771

File tree

2 files changed

+10
-14
lines changed

2 files changed

+10
-14
lines changed

src/main/java/com/mycompany/app/App.java

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,8 @@
55

66
package com.mycompany.app;
77

8-
public class App
9-
{
10-
public static void main( String[] args )
11-
{
12-
System.out.println( "Hello Remote World!" );
8+
public class App {
9+
public static void main(String[] args) {
10+
System.out.println("Hello Remote World!");
1311
}
1412
}
Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,21 @@
11
package com.mycompany.app;
22

33
import org.junit.Test;
4-
import static org.junit.Assert.*;
54

5+
import static org.junit.Assert.assertTrue;
66

7-
public class AppTest
8-
{
7+
8+
public class AppTest {
99
public AppTest() {
1010
}
1111

1212
@Test
13-
public void testApp()
14-
{
15-
assertTrue( true );
13+
public void testApp() {
14+
assertTrue(true);
1615
}
1716

1817
@Test
19-
public void testMore()
20-
{
21-
assertTrue( true );
18+
public void testMore() {
19+
assertTrue(true);
2220
}
2321
}

0 commit comments

Comments
 (0)