Skip to content

Commit 12b5d78

Browse files
author
eugenp
committed
cleanup work
1 parent 6e16b33 commit 12b5d78

3 files changed

Lines changed: 2 additions & 9 deletions

File tree

‎core-java/src/test/java/org/baeldung/java/io/JavaReadFromFileTest.java‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222

2323
import org.junit.Test;
2424

25-
2625
/*
2726
MappedByteBuffer
2827
@@ -113,7 +112,6 @@ public void whenReadTwoFilesWithSequenceInputStream_thenCorrect() throws IOExcep
113112
stream2.close();
114113
}
115114

116-
117115
@Test
118116
public void whenReadUTFEncodedFile_thenCorrect() throws IOException {
119117
final String expected_value = "青空";
@@ -177,5 +175,4 @@ public void whenReadLargeFileJava7_thenCorrect() throws IOException {
177175
assertEquals(expected_value, line);
178176
}
179177

180-
181178
}

‎gson/src/test/java/org/baeldung/gson/serialization/IgnoringFieldsNotMatchingCriteriaSerializer.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ public JsonElement serialize(SourceClass src, Type typeOfSrc, JsonSerializationC
2323

2424
return jObject;
2525
}
26-
26+
2727
}

‎guava/src/test/java/org/baeldung/guava/GuavaStringTest.java‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ public void whenLimitSplitting_thenLimited() {
116116
}
117117

118118
@Test
119-
public void whenRemoveSpecialCharacters_thenRemoved(){
119+
public void whenRemoveSpecialCharacters_thenRemoved() {
120120
final String input = "H*el.lo,}12";
121121
final CharMatcher matcher = CharMatcher.JAVA_LETTER_OR_DIGIT;
122122
final String result = matcher.retainFrom(input);
@@ -163,7 +163,6 @@ public void whenTrimString_thenTrimmed() {
163163
assertEquals("hello", result);
164164
}
165165

166-
167166
@Test
168167
public void whenCollapseFromString_thenCollapsed() {
169168
final String input = " hel lo ";
@@ -197,7 +196,4 @@ public void whenCountCharInString_thenCorrect() {
197196
assertEquals(2, result);
198197
}
199198

200-
201-
202199
}
203-

0 commit comments

Comments
 (0)