mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Java file icon patcher to patch not only Java file icon
This commit is contained in:
@@ -36,7 +36,7 @@ import javax.swing.*;
|
||||
*/
|
||||
public class JavaFileIconPatcher implements FileIconPatcher {
|
||||
public Icon patchIcon(final Icon baseIcon, final VirtualFile file, final int flags, final Project project) {
|
||||
if (project == null || file.getFileType() != StdFileTypes.JAVA) {
|
||||
if (project == null) {
|
||||
return baseIcon;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user