Skip to content

Commit

Permalink
refactor: remove code smells in KitLogger.java (eclipse-jkube#812)
Browse files Browse the repository at this point in the history
* declared line 136 as final and added @SuppressWarnings regarding the use of System.out in KitLogger.java

* reordered 'final' and 'private'

* .DS_Store banished!
  • Loading branch information
kev197 committed Aug 4, 2021
1 parent 2dcaf6d commit b25157b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ default void progressUpdate(String layerId, String status, String progressMessag
*/
default void progressFinished() {}

@SuppressWarnings("java:S106")
class StdoutLogger implements KitLogger {
@Override
public void debug(String format, Object... params) {
Expand Down Expand Up @@ -133,7 +134,7 @@ public boolean isDebugEnabled() {
enum LogVerboseCategory {
BUILD("build"), API("api");

private String category;
private final String category;

LogVerboseCategory(String category) {
this.category = category;
Expand Down

0 comments on commit b25157b

Please sign in to comment.