From 27fe3b733165230c4f5ae6f9bbf3242b095b8ad7 Mon Sep 17 00:00:00 2001 From: dhoard Date: Sat, 5 Aug 2023 19:03:17 -0400 Subject: [PATCH] Changed to remove use of inefficient String method Signed-off-by: dhoard --- .../prometheus/client/exporter/common/TextFormat.java | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/simpleclient_common/src/main/java/io/prometheus/client/exporter/common/TextFormat.java b/simpleclient_common/src/main/java/io/prometheus/client/exporter/common/TextFormat.java index db2de3a5b..58c0ebfa9 100644 --- a/simpleclient_common/src/main/java/io/prometheus/client/exporter/common/TextFormat.java +++ b/simpleclient_common/src/main/java/io/prometheus/client/exporter/common/TextFormat.java @@ -137,8 +137,9 @@ public static void write004(Writer writer, Enumeration