Skip to content

Commit

Permalink
Fix linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
pavetok committed Mar 17, 2024
1 parent 23a1a80 commit 41864b0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ public RegistrationResponse register(RegistrationRequest request) {
public ViewingResponse view(SepulkaMessageDm.ViewingRequest request) {
LOG.debug("Handling sepulka viewing request: {}", request);
var state = dao.getBy(request.internalId());
return state.map(factory::newMessage)
.orElseThrow(() -> new RuntimeException("NotFoundException"));
return state.map(factory::newMessage).orElseThrow(() -> new RuntimeException("NotFoundException"));
}
}
2 changes: 1 addition & 1 deletion tool/testing/src/main/resources/log4j2.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!-- Gear stack -->
<?xml version="1.0" encoding="UTF-8"?>
<!-- Gear stack logging -->
<Configuration status="WARN">
<Appenders>
<Console name="CONSOLE" target="SYSTEM_OUT">
Expand Down
2 changes: 1 addition & 1 deletion tool/testing/src/main/resources/logback.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!-- Product stack -->
<?xml version="1.0" encoding="UTF-8" ?>
<!-- Product stack logging -->
<configuration>
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
Expand Down

0 comments on commit 41864b0

Please sign in to comment.