mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Make AddToRequirementsFix.getFamilyName context-independent
This commit is contained in:
@@ -659,9 +659,17 @@ public class PyPackageRequirementsInspection extends PyInspection {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Nls(capitalization = Nls.Capitalization.Sentence)
|
||||
@NotNull
|
||||
@Override
|
||||
public String getFamilyName() {
|
||||
return "Add requirement";
|
||||
}
|
||||
|
||||
@Nls(capitalization = Nls.Capitalization.Sentence)
|
||||
@NotNull
|
||||
@Override
|
||||
public String getName() {
|
||||
return String.format("Add requirement '%s' to %s", myPackageName, calculateTarget());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user