Skip to content

Commit

Permalink
errorprone :: fix sysout ServiceProviderPlaceGetTLDTest (#929)
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-mlb authored Sep 16, 2024
1 parent 67a536a commit cb18a9e
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.io.IOException;
import java.util.ArrayList;
Expand Down Expand Up @@ -59,6 +61,8 @@ void testGettingTLDThroughPlace() throws Exception {

private static final class PlaceTest extends ServiceProviderPlace {

private static final Logger logger = LoggerFactory.getLogger(PlaceTest.class);

public PlaceTest() throws IOException {
super();
}
Expand All @@ -69,7 +73,7 @@ public void process(IBaseDataObject d) {
if (p != null && p.hasParameter("PARENT_INFO")) {
d.putParameter("CHILD_INFO", p.getStringParameter("PARENT_INFO").toUpperCase(Locale.getDefault()));
} else {
System.err.println("COuld not get parent " + p);
logger.warn("Could not get parent {}", p);
}
}
}
Expand Down

0 comments on commit cb18a9e

Please sign in to comment.