Skip to content

Commit 674055e

Browse files
marchofGodin
authored andcommitted
Format code base consistently (bazel-contrib#954)
All *.java files now comply with the Eclipse 2019-09 formatter.
1 parent fba5534 commit 674055e

File tree

228 files changed

+1024
-927
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

228 files changed

+1024
-927
lines changed

jacoco-maven-plugin.test/it/it-check-fails-halt/src/main/java/Example.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
*******************************************************************************/
1414
public class Example {
1515

16-
public void sayHello() {
17-
System.out.println("Hello world");
18-
}
16+
public void sayHello() {
17+
System.out.println("Hello world");
18+
}
1919

2020
}

jacoco-maven-plugin.test/it/it-check-fails-halt/src/test/java/ExampleTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515

1616
public class ExampleTest {
1717

18-
@Test
19-
public void test() {
20-
new Example();
21-
}
18+
@Test
19+
public void test() {
20+
new Example();
21+
}
2222

2323
}

jacoco-maven-plugin.test/it/it-check-fails-no-halt/src/main/java/Example.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
*******************************************************************************/
1414
public class Example {
1515

16-
public void sayHello() {
17-
System.out.println("Hello world");
18-
}
16+
public void sayHello() {
17+
System.out.println("Hello world");
18+
}
1919

2020
}

jacoco-maven-plugin.test/it/it-check-fails-no-halt/src/test/java/ExampleTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515

1616
public class ExampleTest {
1717

18-
@Test
19-
public void test() {
20-
new Example();
21-
}
18+
@Test
19+
public void test() {
20+
new Example();
21+
}
2222

2323
}

jacoco-maven-plugin.test/it/it-check-passes/src/main/java/Example.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
*******************************************************************************/
1414
public class Example {
1515

16-
public void sayHello() {
17-
System.out.println("Hello world");
18-
}
16+
public void sayHello() {
17+
System.out.println("Hello world");
18+
}
1919

2020
}

jacoco-maven-plugin.test/it/it-check-passes/src/test/java/ExampleTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515

1616
public class ExampleTest {
1717

18-
@Test
19-
public void test() {
20-
new Example().sayHello();
21-
}
18+
@Test
19+
public void test() {
20+
new Example().sayHello();
21+
}
2222

2323
}

jacoco-maven-plugin.test/it/it-customize-agent/src/main/java/Example.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
*******************************************************************************/
1313
public class Example {
1414

15-
public void sayHello() {
16-
System.out.println("Hello world");
17-
}
15+
public void sayHello() {
16+
System.out.println("Hello world");
17+
}
1818

1919
}

jacoco-maven-plugin.test/it/it-customize-agent/src/test/java/ExampleTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414

1515
public class ExampleTest {
1616

17-
@Test
18-
public void test() {
19-
new Example().sayHello();
20-
}
17+
@Test
18+
public void test() {
19+
new Example().sayHello();
20+
}
2121

2222
}

jacoco-maven-plugin.test/it/it-dump/src/main/java/Server.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
* Marc R. Hoffmann - initial API and implementation
1111
*
1212
*******************************************************************************/
13-
1413
import java.io.File;
1514

1615
/**

jacoco-maven-plugin.test/it/it-includes-excludes/src/main/java/org/project/DatabaseUtil.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,8 @@
1212
*******************************************************************************/
1313
package org.project;
1414

15-
1615
public class DatabaseUtil {
17-
public void doStuff() {
18-
System.out.println("Do DatabaseUtil Stuff");
19-
}
16+
public void doStuff() {
17+
System.out.println("Do DatabaseUtil Stuff");
18+
}
2019
}

jacoco-maven-plugin.test/it/it-includes-excludes/src/main/java/org/project/FileUtil.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,8 @@
1212
*******************************************************************************/
1313
package org.project;
1414

15-
1615
public class FileUtil {
17-
public void doStuff() {
18-
System.out.println("Do FileUtil Stuff");
19-
}
16+
public void doStuff() {
17+
System.out.println("Do FileUtil Stuff");
18+
}
2019
}

jacoco-maven-plugin.test/it/it-includes-excludes/src/main/java/org/project/TestUtil.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,8 @@
1212
*******************************************************************************/
1313
package org.project;
1414

15-
1615
public class TestUtil {
17-
public void doStuff() {
18-
System.out.println("Do TestUtil Stuff");
19-
}
16+
public void doStuff() {
17+
System.out.println("Do TestUtil Stuff");
18+
}
2019
}

jacoco-maven-plugin.test/it/it-includes-excludes/src/test/java/org/project/TestDatabaseUtil.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
import org.junit.Test;
1616

1717
public class TestDatabaseUtil {
18-
@Test
19-
public void testDoStuff() {
20-
new DatabaseUtil().doStuff();
21-
}
18+
@Test
19+
public void testDoStuff() {
20+
new DatabaseUtil().doStuff();
21+
}
2222
}

jacoco-maven-plugin.test/it/it-java9-offline-instrumentation/src/main/java/org/example/Example.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414

1515
public class Example {
1616

17-
public void sayHello() {
18-
System.out.println("Hello world");
19-
}
17+
public void sayHello() {
18+
System.out.println("Hello world");
19+
}
2020

2121
}

jacoco-maven-plugin.test/it/it-java9-offline-instrumentation/src/test/java/org/example/ExampleTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616

1717
public class ExampleTest {
1818

19-
@Test
20-
public void test() {
21-
new Example().sayHello();
22-
}
19+
@Test
20+
public void test() {
21+
new Example().sayHello();
22+
}
2323

2424
}

jacoco-maven-plugin.test/it/it-java9/src/main/java/Example.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
*******************************************************************************/
1313
public class Example {
1414

15-
public void sayHello(String name) {
16-
// http://openjdk.java.net/jeps/280
17-
System.out.println("Hello, " + name);
18-
}
15+
public void sayHello(String name) {
16+
// http://openjdk.java.net/jeps/280
17+
System.out.println("Hello, " + name);
18+
}
1919

2020
}

jacoco-maven-plugin.test/it/it-java9/src/test/java/ExampleTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414

1515
public class ExampleTest {
1616

17-
@Test
18-
public void test() {
19-
new Example().sayHello("test");
20-
}
17+
@Test
18+
public void test() {
19+
new Example().sayHello("test");
20+
}
2121

2222
}

jacoco-maven-plugin.test/it/it-merge-passes/it-merge-passes-project1/src/main/java/Example.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
*******************************************************************************/
1313
public class Example {
1414

15-
public void sayHello() {
16-
System.out.println("Hello world");
17-
}
15+
public void sayHello() {
16+
System.out.println("Hello world");
17+
}
1818

1919
}

jacoco-maven-plugin.test/it/it-merge-passes/it-merge-passes-project1/src/test/java/ExampleTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414

1515
public class ExampleTest {
1616

17-
@Test
18-
public void test() {
19-
new Example().sayHello();
20-
}
17+
@Test
18+
public void test() {
19+
new Example().sayHello();
20+
}
2121

2222
}

jacoco-maven-plugin.test/it/it-merge-passes/it-merge-passes-project2/src/main/java/Example.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
*******************************************************************************/
1313
public class Example {
1414

15-
public void sayHello() {
16-
System.out.println("Hello world");
17-
}
15+
public void sayHello() {
16+
System.out.println("Hello world");
17+
}
1818

1919
}

jacoco-maven-plugin.test/it/it-merge-passes/it-merge-passes-project2/src/test/java/ExampleTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414

1515
public class ExampleTest {
1616

17-
@Test
18-
public void test() {
19-
new Example().sayHello();
20-
}
17+
@Test
18+
public void test() {
19+
new Example().sayHello();
20+
}
2121

2222
}

jacoco-maven-plugin.test/it/it-multi-module/child/src/main/java/Example.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
*******************************************************************************/
1313
public class Example {
1414

15-
public void sayHello() {
16-
System.out.println("Hello world");
17-
}
15+
public void sayHello() {
16+
System.out.println("Hello world");
17+
}
1818

1919
}

jacoco-maven-plugin.test/it/it-multi-module/child/src/main/java/somepackage/Example.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414

1515
public class Example {
1616

17-
public void sayHello() {
18-
System.out.println("Hello world");
19-
}
17+
public void sayHello() {
18+
System.out.println("Hello world");
19+
}
2020

2121
}

jacoco-maven-plugin.test/it/it-multi-module/child/src/test/java/ExampleTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414

1515
public class ExampleTest {
1616

17-
@Test
18-
public void test() {
19-
new Example().sayHello();
20-
}
17+
@Test
18+
public void test() {
19+
new Example().sayHello();
20+
}
2121

2222
}

jacoco-maven-plugin.test/it/it-multi-module/skip-child/src/test/ExampleTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414

1515
public class ExampleTest {
1616

17-
@Test
18-
public void test() {
19-
}
17+
@Test
18+
public void test() {
19+
}
2020

2121
}

jacoco-maven-plugin.test/it/it-multiple-executions/src/main/java/Example.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
*******************************************************************************/
1313
public class Example {
1414

15-
public void sayHello() {
16-
System.out.println("Hello world");
17-
}
15+
public void sayHello() {
16+
System.out.println("Hello world");
17+
}
1818

1919
}

jacoco-maven-plugin.test/it/it-multiple-executions/src/test/java/ExampleTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414

1515
public class ExampleTest {
1616

17-
@Test
18-
public void test() {
19-
new Example().sayHello();
20-
}
17+
@Test
18+
public void test() {
19+
new Example().sayHello();
20+
}
2121

2222
}

jacoco-maven-plugin.test/it/it-offline-instrumentation/child-without-main-classes/src/test/java/ExampleTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414

1515
public class ExampleTest {
1616

17-
@Test
18-
public void test() {
19-
}
17+
@Test
18+
public void test() {
19+
}
2020

2121
}

jacoco-maven-plugin.test/it/it-offline-instrumentation/child/src/main/java/DoNotInstrument.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
*******************************************************************************/
1313
public class DoNotInstrument {
1414

15-
public void sayHello() {
16-
System.out.println("Hello world");
17-
}
15+
public void sayHello() {
16+
System.out.println("Hello world");
17+
}
1818

1919
}

jacoco-maven-plugin.test/it/it-offline-instrumentation/child/src/main/java/Example.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
*******************************************************************************/
1313
public class Example {
1414

15-
public void sayHello() {
16-
System.out.println("Hello world");
17-
}
15+
public void sayHello() {
16+
System.out.println("Hello world");
17+
}
1818

1919
}

jacoco-maven-plugin.test/it/it-offline-instrumentation/child/src/test/java/ExampleTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414

1515
public class ExampleTest {
1616

17-
@Test
18-
public void test() {
19-
new Example().sayHello();
20-
}
17+
@Test
18+
public void test() {
19+
new Example().sayHello();
20+
}
2121

2222
}

0 commit comments

Comments
 (0)