Changed isCodecAvailable to be a static method (as it should have

been).
This commit is contained in:
Robert Greene 2004-07-04 04:20:18 +00:00
parent 513571a919
commit 1abe035cf0

View File

@ -71,14 +71,13 @@ public class GraphicsFileFilter implements FileFilter {
*/ */
public GraphicsFileFilter() { public GraphicsFileFilter() {
super(); super();
appleImage = AppleImage.create(1,1); // used by isCodecAvailable
} }
/** /**
* Indicate if a codec is available (assist with interface requirements). * Indicate if a codec is available (assist with interface requirements).
*/ */
public boolean isCodecAvailable() { public static boolean isCodecAvailable() {
return appleImage != null; return AppleImage.create(1,1) != null;
} }
/** /**