Bug fix
This commit is contained in:
parent
f22a5b9196
commit
938170b97b
1 changed files with 1 additions and 1 deletions
|
@ -320,7 +320,7 @@ public class ResourceListPane extends TranslatedVisibleComponent implements File
|
|||
}
|
||||
|
||||
//view classes
|
||||
if (MiscUtils.getFileHeaderMagicNumber(content).equalsIgnoreCase("cafebabe")
|
||||
if (content != null && MiscUtils.getFileHeaderMagicNumber(content).equalsIgnoreCase("cafebabe")
|
||||
|| name.endsWith(".class"))
|
||||
{
|
||||
try
|
||||
|
|
Loading…
Reference in a new issue