mirror of
https://github.com/AppleCommander/AppleCommander.git
synced 2024-12-22 23:29:34 +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() {
|
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user