Skip to content

Commit

Permalink
Fixes (#25)
Browse files Browse the repository at this point in the history
Update libthrift version to be consist;
Change TSerializer to be an object variable for thread-safety;
  • Loading branch information
zzhhhzz authored Dec 16, 2019
1 parent 7e40a48 commit f795e36
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion singer-commons/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
<dependency>
<groupId>org.apache.thrift</groupId>
<artifactId>libthrift</artifactId>
<version>0.10.0</version>
<version>0.12.0</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
public class LoggingAuditHeadersInjector implements HeadersInjector {

private static final Logger LOG = LoggerFactory.getLogger(LoggingAuditHeadersInjector.class);

private static final String HEADER_KEY = "loggingAuditHeaders";
private static final TSerializer SER = new TSerializer();

private final TSerializer SER = new TSerializer();

public static String getHeaderKey() {
return HEADER_KEY;
Expand Down

0 comments on commit f795e36

Please sign in to comment.