Commit 18ef269
committed
Simplify code by removing usage of String.format() for log messages.
From http://www.baeldung.com/slf4j-log-exceptions
%
In presence of multiple parameters, if the last argument in a logging
statement is an exception, then SLF4J will presume that the user wants
the last argument to be treated as an exception instead of a simple
parameter.
%
No functional changes.1 parent 1fa959a commit 18ef269
File tree
2 files changed
+5
-8
lines changed- src/main/java/ru/mystamps/web
- controller
- service
2 files changed
+5
-8
lines changedLines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
71 | | - | |
| 70 | + | |
| 71 | + | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
| 74 | + | |
74 | 75 | | |
75 | | - | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
| 169 | + | |
173 | 170 | | |
174 | 171 | | |
175 | 172 | | |
| |||
0 commit comments