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 000fab6067e5bca9dac69baa72e9c10e7afaead6
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
    
    This closes #106
---
 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