mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
vcs: Make "CommitMessageInspectionProfile.getTool()" public for plugin compatibility (IDEA-219221)
699c50ae6d587443371ea38f8267c5b95f84843a follow-up GitOrigin-RevId: 85823bee2a0f6f8f9a2ce9d425b5603d7c31cb3a
This commit is contained in:
committed by
intellij-monorepo-bot
parent
e1b9c775d2
commit
51dee91235
+1
-1
@@ -82,7 +82,7 @@ public class CommitMessageInspectionProfile extends InspectionProfileImpl
|
||||
}
|
||||
|
||||
@NotNull
|
||||
private <T extends LocalInspectionTool> T getTool(@NotNull Class<T> aClass) {
|
||||
public <T extends LocalInspectionTool> T getTool(@NotNull Class<T> aClass) {
|
||||
InspectionToolWrapper tool = getInspectionTool(InspectionProfileEntry.getShortName(aClass.getSimpleName()), myProject);
|
||||
//noinspection unchecked
|
||||
return (T)ObjectUtils.notNull(tool).getTool();
|
||||
|
||||
Reference in New Issue
Block a user