Permalink
Browse files

Insert type arguments for Java 1.6

  • Loading branch information...
1 parent e3a2a37 commit 26394f3a88cdaa9e3863bba99607d1dc5a76e6e7 @mikera committed Oct 18, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/main/java/mikera/image/ImageUtils.java
@@ -71,8 +71,8 @@ public void paint(Graphics g) {
return f;
}
- private static final HashMap<String,JFrame> imageFrames=new HashMap<>();
- private static final HashMap<String,Image> images=new HashMap<>();
+ private static final HashMap<String,JFrame> imageFrames=new HashMap<String, JFrame>();
+ private static final HashMap<String,Image> images=new HashMap<String, Image>();
@SuppressWarnings("serial")
public static Frame display(final String s, Image image) {

0 comments on commit 26394f3

Please sign in to comment.