Skip to content

Commit

Permalink
lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
trivialfis committed Feb 11, 2025
1 parent f7c4775 commit a5096da
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class ConfigContext implements AutoCloseable {
String orig;

ConfigContext() throws XGBoostError {
this.orig = this.getImpl();
this.orig = getImpl();
}

static String getImpl() throws XGBoostError {
Expand All @@ -43,7 +43,8 @@ public static Map<String, Object> get() throws XGBoostError {
ObjectMapper mapper = new ObjectMapper();
try {
Map<String, Object> config = mapper.readValue(jconfig,
new TypeReference<Map<String, Object>>() {});
new TypeReference<Map<String, Object>>() {
});
return config;
} catch (JsonProcessingException ex) {
throw new XGBoostError("Failed to get global config:", ex);
Expand Down

0 comments on commit a5096da

Please sign in to comment.