Skip to content

Commit

Permalink
Initialize logger before using it. m)
Browse files Browse the repository at this point in the history
  • Loading branch information
huxi committed Apr 30, 2015
1 parent 8f5bc07 commit c75cef0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lilith/src/main/java/de/huxhorn/lilith/swing/Icons.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@

public class Icons
{
private static final Logger logger = LoggerFactory.getLogger(Icons.class);

public static final ImageIcon EMPTY_16_ICON = resolveImageIcon("/otherGraphics/empty16.png");
public static final ImageIcon CLEAR_MENU_ICON = resolveImageIcon("/tango/16x16/actions/edit-clear.png");
public static final ImageIcon CLEAR_TOOLBAR_ICON = resolveImageIcon("/tango/32x32/actions/edit-clear.png");
Expand Down Expand Up @@ -66,8 +68,6 @@ public class Icons
public static final ImageIcon PROGRESS_ICON = resolveImageIcon("/otherGraphics/Progress16.gif");
public static final ImageIcon FRAME_ICON = resolveImageIcon("/otherGraphics/Lilith16.jpg");

private static final Logger logger = LoggerFactory.getLogger(Icons.class);

private static ImageIcon resolveImageIcon(String resourcePath)
{
URL url = Icons.class.getResource(resourcePath);
Expand Down

0 comments on commit c75cef0

Please sign in to comment.