mirror of
https://github.com/AppleCommander/AppleCommander.git
synced 2024-12-22 08:30:35 +00:00
Changed isCodecAvailable to be a static method (as it should have
been).
This commit is contained in:
parent
513571a919
commit
1abe035cf0
@ -71,14 +71,13 @@ public class GraphicsFileFilter implements FileFilter {
|
||||
*/
|
||||
public GraphicsFileFilter() {
|
||||
super();
|
||||
appleImage = AppleImage.create(1,1); // used by isCodecAvailable
|
||||
}
|
||||
|
||||
/**
|
||||
* Indicate if a codec is available (assist with interface requirements).
|
||||
*/
|
||||
public boolean isCodecAvailable() {
|
||||
return appleImage != null;
|
||||
public static boolean isCodecAvailable() {
|
||||
return AppleImage.create(1,1) != null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user