Retroweaver isn't smart enough to take care of this Java 5 method

This commit is contained in:
Charlie Groves
2007-12-03 19:00:07 +00:00
parent 7341ac96f3
commit 511eaccc2e
@@ -61,7 +61,7 @@ public class GetdownApplet extends JApplet
final RotatingBackgrounds bgimages; final RotatingBackgrounds bgimages;
if (imgpath == null) { if (imgpath == null) {
bgimages = new RotatingBackgrounds(); bgimages = new RotatingBackgrounds();
} else if (imgpath.contains(",")) { } else if (imgpath.indexOf(",") > -1) {
bgimages = new RotatingBackgrounds(imgpath.split(","), this); bgimages = new RotatingBackgrounds(imgpath.split(","), this);
} else { } else {
bgimages = new RotatingBackgrounds(loadImage(imgpath)); bgimages = new RotatingBackgrounds(loadImage(imgpath));