Skip to content

Commit

Permalink
[MCHECKSTYLE-426] Don't use Sink#figure()/Sink#figureCaption() since …
Browse files Browse the repository at this point in the history
…it distorts the output

This closes #106
  • Loading branch information
michael-o committed Jan 26, 2023
1 parent 1068ace commit 000fab6
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,7 @@ public IconTool( Sink sink, ResourceBundle bundle )
*/
public void iconSeverity( String level )
{
sink.figure();
sink.figureGraphics( "images/icon_" + level + "_sml.gif" );
sink.figure_();
}

/**
Expand All @@ -70,9 +68,7 @@ public void iconSeverity( String level )
*/
public void iconSeverity( String level, int textType )
{
sink.figure();
sink.figureGraphics( "images/icon_" + level + "_sml.gif" );
sink.figure_();

if ( textType > 0 )
{
Expand Down

0 comments on commit 000fab6

Please sign in to comment.