No more null icons!

This commit is contained in:
AlgorithmX2
2014-05-07 20:54:28 -05:00
parent dd74fce634
commit 0338902021
2 changed files with 11 additions and 5 deletions
+3 -3
View File
@@ -10,10 +10,10 @@ public class FlipableIcon implements IIcon
boolean flip_v;
public FlipableIcon(IIcon o) {
if ( o == null )
throw new RuntimeException("Cannot create a wrapper icon with a null icon.");
throw new RuntimeException( "Cannot create a wrapper icon with a null icon." );
original = o;
flip_u = false;
flip_v = false;