remove trailing whitespaces
This commit is contained in:
@@ -29,10 +29,10 @@ public class FullIcon implements IIcon
|
||||
private final IIcon p;
|
||||
|
||||
public FullIcon(IIcon o) {
|
||||
|
||||
|
||||
if ( o == null )
|
||||
throw new RuntimeException("Cannot create a wrapper icon with a null icon.");
|
||||
|
||||
|
||||
this.p = o;
|
||||
}
|
||||
|
||||
|
||||
@@ -32,10 +32,10 @@ public class OffsetIcon implements IIcon
|
||||
private final IIcon p;
|
||||
|
||||
public OffsetIcon(IIcon o, float x, float y) {
|
||||
|
||||
|
||||
if ( o == null )
|
||||
throw new RuntimeException("Cannot create a wrapper icon with a null icon.");
|
||||
|
||||
|
||||
this.p = o;
|
||||
this.offsetX = x;
|
||||
this.offsetY = y;
|
||||
|
||||
@@ -31,10 +31,10 @@ public class TaughtIcon implements IIcon
|
||||
private final IIcon p;
|
||||
|
||||
public TaughtIcon(IIcon o, float tightness) {
|
||||
|
||||
|
||||
if ( o == null )
|
||||
throw new RuntimeException("Cannot create a wrapper icon with a null icon.");
|
||||
|
||||
|
||||
this.p = o;
|
||||
this.tightness = tightness * 0.4f;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user