From bd5a95acbfe1e4bcee484c0e1f8c4bc0075e94d0 Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Fri, 22 Jul 2022 10:12:42 +0000 Subject: [PATCH] remove comment git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902936 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/poi/xslf/usermodel/TestXSLFDiagram.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/poi-ooxml/src/test/java/org/apache/poi/xslf/usermodel/TestXSLFDiagram.java b/poi-ooxml/src/test/java/org/apache/poi/xslf/usermodel/TestXSLFDiagram.java index c3ae9c4e0f..21dadf57c2 100644 --- a/poi-ooxml/src/test/java/org/apache/poi/xslf/usermodel/TestXSLFDiagram.java +++ b/poi-ooxml/src/test/java/org/apache/poi/xslf/usermodel/TestXSLFDiagram.java @@ -41,8 +41,7 @@ public class TestXSLFDiagram { .map(s -> (XSLFDiagram) s) .collect(Collectors.toList()); } - - // https://stackoverflow.com/a/3607942 + private static String colorToHex(Color color) { return String.format("#%02x%02x%02x", color.getRed(), color.getGreen(), color.getBlue()); } -- 2.39.5