Skip to content

Commit 000fab6

Browse files
committed
[MCHECKSTYLE-426] Don't use Sink#figure()/Sink#figureCaption() since it distorts the output
This closes #106
1 parent 1068ace commit 000fab6

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/main/java/org/apache/maven/plugins/checkstyle/IconTool.java

-4
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,7 @@ public IconTool( Sink sink, ResourceBundle bundle )
5757
*/
5858
public void iconSeverity( String level )
5959
{
60-
sink.figure();
6160
sink.figureGraphics( "images/icon_" + level + "_sml.gif" );
62-
sink.figure_();
6361
}
6462

6563
/**
@@ -70,9 +68,7 @@ public void iconSeverity( String level )
7068
*/
7169
public void iconSeverity( String level, int textType )
7270
{
73-
sink.figure();
7471
sink.figureGraphics( "images/icon_" + level + "_sml.gif" );
75-
sink.figure_();
7672

7773
if ( textType > 0 )
7874
{

0 commit comments

Comments
 (0)