Skip to content

Commit

Permalink
Remove test code.
Browse files Browse the repository at this point in the history
  • Loading branch information
raphw committed Sep 28, 2023
1 parent c01c2fa commit b136b3d
Showing 1 changed file with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
import co.elastic.apm.agent.tracer.configuration.MetricsConfiguration;
import co.elastic.apm.agent.tracer.reporting.DataWriter;
import co.elastic.apm.agent.tracer.reporting.ReportingTracer;
import com.dslplatform.json.DslJson;
import com.dslplatform.json.JsonWriter;
import io.micrometer.core.instrument.Counter;
import io.micrometer.core.instrument.DistributionSummary;
import io.micrometer.core.instrument.FunctionCounter;
Expand Down Expand Up @@ -326,14 +324,4 @@ private static void serializeObjectStart(String key, String objectName, String s
private static boolean isValidValue(double value) {
return !Double.isNaN(value) && !Double.isInfinite(value);
}

public static void main(String[] args) {
DslJson<Object> dslJson = new DslJson<>(new DslJson.Settings<>());
JsonWriter jw = dslJson.newWriter(512);
jw.writeAscii("\"foo\"");
//jw.writeString("foo");
String string = jw.toString();
System.out.println(string);

}
}

0 comments on commit b136b3d

Please sign in to comment.