@@ -77,7 +77,7 @@ protected void addTag(Map<String,String> m, String k, String v) {
7777 protected void addTag (Map <String ,String > m , String kv ) {
7878 if (kv != null && !kv .isBlank ()) {
7979 String [] parts = kv .split ("=" );
80- if (parts .length == 2 ) {
80+ if (parts .length == 2 ) {
8181 addTag (m , parts [0 ], parts [1 ]);
8282 }
8383 }
@@ -297,10 +297,10 @@ private void processInternal(ValueList vl, OutputStream out) {
297297 }
298298 Double value = vl .getValues ().get (i ).doubleValue ();
299299 String tagString = tagMap .entrySet ().stream ().map (e -> e .getKey () + "=" + e .getValue ()).collect (Collectors .joining (" " ));
300-
300+
301301 if (metricName .isBlank () || timestamp == null || value == null ) {
302- logDebug (String .format ("Not writing unhandled metric: plugin:%s pluginInstance:%s type:%s typeInstance:%s" ,
303- plugin , pluginInstance , type , typeInstance ));
302+ logDebug (String .format ("Not writing unhandled metric: plugin:%s pluginInstance:%s type:%s typeInstance:%s" , plugin , pluginInstance , type ,
303+ typeInstance ));
304304 } else {
305305 String datapoint = MessageFormat .format (PUT , metricName , timestamp .toString (), value .toString (), tagString );
306306 logDebug (String .format ("Writing: %s" , datapoint ));
0 commit comments