Skip to content

Commit ab48750

Browse files
committed
checkstyle fixes and gitignore update
1 parent 1877ea5 commit ab48750

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

app/.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
*.class
2+
jte-classes
3+
*.settings
4+
bin
5+
16
**/.idea/
27
/demo.cast
38
**/logs/

app/src/main/java/hexlet/code/App.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ private static Javalin getApp() throws SQLException, IOException {
8383

8484
app.get(NamedRoutes.rootPath(), ctx -> {
8585
String currentUser = Objects.requireNonNullElse(
86-
ctx.sessionAttribute("currentUser"),"Гость"
86+
ctx.sessionAttribute("currentUser"), "Гость"
8787
);
8888
var page = MainPage.of(currentUser);
8989
ctx.render("index.jte", model("page", page));

0 commit comments

Comments
 (0)