This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a commit to branch MCHECKSTYLE-426
in repository https://gitbox.apache.org/repos/asf/maven-checkstyle-plugin.git

commit 3ef091b8888fd9ccc89787d911856a4f8075ddf6
Author: Michael Osipov <micha...@apache.org>
AuthorDate: Thu Jan 26 17:53:35 2023 +0100

    [MCHECKSTYLE-426] Don't use Sink#figure()/Sink#figureCaption() since it 
distorts the output
---
 src/main/java/org/apache/maven/plugins/checkstyle/IconTool.java | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/main/java/org/apache/maven/plugins/checkstyle/IconTool.java 
b/src/main/java/org/apache/maven/plugins/checkstyle/IconTool.java
index 4092dca..c549c5f 100644
--- a/src/main/java/org/apache/maven/plugins/checkstyle/IconTool.java
+++ b/src/main/java/org/apache/maven/plugins/checkstyle/IconTool.java
@@ -57,9 +57,7 @@ public class IconTool
      */
     public void iconSeverity( String level )
     {
-        sink.figure();
         sink.figureGraphics( "images/icon_" + level + "_sml.gif" );
-        sink.figure_();
     }
 
     /**
@@ -70,9 +68,7 @@ public class IconTool
      */
     public void iconSeverity( String level, int textType )
     {
-        sink.figure();
         sink.figureGraphics( "images/icon_" + level + "_sml.gif" );
-        sink.figure_();
 
         if ( textType > 0 )
         {

Reply via email to