mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-100178 ("make public" on a package local class gives wrong error message.)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2012 JetBrains s.r.o.
|
||||
* Copyright 2000-2013 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -94,7 +94,7 @@ abstract class ModifierIntention extends Intention implements LowPriorityAction
|
||||
final String name = FileUtil.getNameWithoutExtension(javaFile.getName());
|
||||
final String className = aClass.getName();
|
||||
if (name.equals(className)) {
|
||||
MultiMap.emptyInstance();
|
||||
return MultiMap.emptyInstance();
|
||||
}
|
||||
final MultiMap<PsiElement, String> conflicts = new MultiMap();
|
||||
conflicts.putValue(aClass, IntentionPowerPackBundle.message(
|
||||
|
||||
Reference in New Issue
Block a user