Skip to content

Commit

Permalink
Fix small mistakes (helidon-io#7757)
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Aleksandrov <dmitry.aleksandrov@oracle.com>
  • Loading branch information
dalexandrov committed Oct 17, 2023
1 parent 35c5be1 commit ec7bd69
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ public void routing(HttpRules rules) {
}

rules.get("/loggers")
.get("/loggers", this::allLoggersHandler)
.get("/loggers", this::allLoggersHandler)
.get("/loggers/{logger}", this::loggerHandler)
.post("/loggers/{logger}", this::setLevelHandler)
Expand Down Expand Up @@ -165,7 +164,6 @@ private void unsetLoggerHandler(ServerRequest req, ServerResponse res) {
}

private void setLevelHandler(ServerRequest req, ServerResponse res) {
System.out.println("Here");
String logger = req.path().pathParameters().first("logger").orElse("");
JsonObject requestJson = READER.read(JsonpSupport.JSON_OBJECT_TYPE,
req.content().inputStream(),
Expand Down

0 comments on commit ec7bd69

Please sign in to comment.