vcs: Make "CommitMessageInspectionProfile.getTool()" public for plugin compatibility (IDEA-219221)

699c50ae6d587443371ea38f8267c5b95f84843a follow-up

GitOrigin-RevId: 85823bee2a0f6f8f9a2ce9d425b5603d7c31cb3a
This commit is contained in:
Konstantin Kolosovsky
2019-08-01 21:02:48 +03:00
committed by intellij-monorepo-bot
parent e1b9c775d2
commit 51dee91235
@@ -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();