Skip to content

Commit 236e68d

Browse files
github-actionsgithub-actions
github-actions
authored and
github-actions
committed
Formatted with Google Java Formatter
1 parent cc9d37b commit 236e68d

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
package com.examplehub.basics.collection;
22

3-
public class CollectionExample {
4-
}
3+
public class CollectionExample {}

src/test/java/com/examplehub/basics/collection/CollectionExampleTest.java

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
package com.examplehub.basics.collection;
22

3-
import org.junit.jupiter.api.Test;
3+
import static org.junit.jupiter.api.Assertions.*;
44

55
import java.util.ArrayList;
66
import java.util.Arrays;
77
import java.util.Collection;
88
import java.util.Iterator;
9-
10-
import static org.junit.jupiter.api.Assertions.*;
9+
import org.junit.jupiter.api.Test;
1110

1211
class CollectionExampleTest {
1312

@@ -134,7 +133,6 @@ void testRemoveUsingIterator() {
134133
assertEquals("[]", collection.toString());
135134
}
136135

137-
138136
@Test
139137
void testForEach() {
140138
Collection<String> collection = new ArrayList<>();
@@ -148,4 +146,4 @@ void testForEach() {
148146
assertEquals(count++ + "", item);
149147
}
150148
}
151-
}
149+
}

0 commit comments

Comments
 (0)