Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
simonz130 committed Dec 10, 2020
1 parent 74150be commit 1c83b6a
Showing 1 changed file with 5 additions and 6 deletions.
Expand Up @@ -31,13 +31,12 @@ public class TraceLoggingEventEnhancer implements LoggingEventEnhancer {
*
* @param id The traceID, in the form projects/[PROJECT_ID]/traces/[TRACE_ID]
*/
public static void setCurrentTraceId(String id) { MDC.put(TRACE_ID, id); }
public static void setCurrentTraceId(String id) {
MDC.put(TRACE_ID, id);
}

/**
* Clearing a trace Id from the MDC
*
*/
public static void clearTraceId() {
/** Clearing a trace Id from the MDC */
public static void clearTraceId() {
MDC.remove(TRACE_ID);
}
/**
Expand Down

0 comments on commit 1c83b6a

Please sign in to comment.