mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-01 10:48:09 +07:00
inspection view: do not show empty package node under module-info node (re-fix for ec0783f)
This commit is contained in:
@@ -304,7 +304,7 @@ public class RefJavaUtilImpl extends RefJavaUtil{
|
||||
@Override
|
||||
@Nullable
|
||||
public String getPackageName(RefEntity refEntity) {
|
||||
if (refEntity instanceof RefProject || refEntity instanceof RefJavaFileImpl && ((RefJavaFileImpl)refEntity).isModuleFile()) {
|
||||
if (refEntity instanceof RefProject || refEntity instanceof RefJavaModule) {
|
||||
return null;
|
||||
}
|
||||
RefPackage refPackage = getPackage(refEntity);
|
||||
|
||||
Reference in New Issue
Block a user