fixed checkstyle errors

This commit is contained in:
Geoff Anderson 2015-07-27 15:19:35 -07:00
parent a70f0f8ce1
commit a62fb6c645
2 changed files with 2 additions and 2 deletions

View File

@ -92,7 +92,7 @@
<subpackage name="tools">
<allow pkg="org.apache.kafka.clients.producer" />
<allow pkg="org.apache.kafka.clients.consumer" />
<allow pkg="com.fasterxml.jackson.core" />
<allow pkg="com.fasterxml.jackson" />
<allow pkg="net.sourceforge.argparse4j" />
</subpackage>
</subpackage>

View File

@ -230,7 +230,7 @@ public class VerifiableProducer {
try {
ObjectMapper mapper = new ObjectMapper();
json = mapper.writeValueAsString(data);
} catch(JsonProcessingException e) {
} catch (JsonProcessingException e) {
json = "Bad data can't be written as json: " + e.getMessage();
}
return json;