cleanup work
This commit is contained in:
parent
6e16b3352c
commit
12b5d784e0
@ -22,7 +22,6 @@ import java.util.Scanner;
|
|||||||
|
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
MappedByteBuffer
|
MappedByteBuffer
|
||||||
|
|
||||||
@ -113,7 +112,6 @@ public class JavaReadFromFileTest {
|
|||||||
stream2.close();
|
stream2.close();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void whenReadUTFEncodedFile_thenCorrect() throws IOException {
|
public void whenReadUTFEncodedFile_thenCorrect() throws IOException {
|
||||||
final String expected_value = "青空";
|
final String expected_value = "青空";
|
||||||
@ -177,5 +175,4 @@ public class JavaReadFromFileTest {
|
|||||||
assertEquals(expected_value, line);
|
assertEquals(expected_value, line);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -116,7 +116,7 @@ public class GuavaStringTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void whenRemoveSpecialCharacters_thenRemoved(){
|
public void whenRemoveSpecialCharacters_thenRemoved() {
|
||||||
final String input = "H*el.lo,}12";
|
final String input = "H*el.lo,}12";
|
||||||
final CharMatcher matcher = CharMatcher.JAVA_LETTER_OR_DIGIT;
|
final CharMatcher matcher = CharMatcher.JAVA_LETTER_OR_DIGIT;
|
||||||
final String result = matcher.retainFrom(input);
|
final String result = matcher.retainFrom(input);
|
||||||
@ -163,7 +163,6 @@ public class GuavaStringTest {
|
|||||||
assertEquals("hello", result);
|
assertEquals("hello", result);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void whenCollapseFromString_thenCollapsed() {
|
public void whenCollapseFromString_thenCollapsed() {
|
||||||
final String input = " hel lo ";
|
final String input = " hel lo ";
|
||||||
@ -197,7 +196,4 @@ public class GuavaStringTest {
|
|||||||
assertEquals(2, result);
|
assertEquals(2, result);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user