Skip to content

Commit 48c3c02

Browse files
committed
Remove unnecessary null assignment
1 parent 57e585e commit 48c3c02

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/test/java/com/tupilabs/human_name_parser/ParserTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public void testAll() throws IOException {
5151

5252
try (FileReader reader = new FileReader(testNames); BufferedReader buffer = new BufferedReader(reader)) {
5353

54-
String line = null;
54+
String line;
5555
while ((line = buffer.readLine()) != null) {
5656
if (StringUtils.isBlank(line)) {
5757
LOGGER.warning("Empty line in testNames.txt");

0 commit comments

Comments
 (0)