From d6e12565fecaf46fa891c0d5f45c3fd7ffd2f3e0 Mon Sep 17 00:00:00 2001 From: Ilia Motornyi Date: Fri, 20 Dec 2019 18:10:46 +0300 Subject: [PATCH] CPP-18381 partial fix -relax Tool setters access GitOrigin-RevId: 71bb577afff995e3f3567b91580670f8c47f4114 --- .../src/com/intellij/tools/Tool.java | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/platform/lang-impl/src/com/intellij/tools/Tool.java b/platform/lang-impl/src/com/intellij/tools/Tool.java index da5ff3cdff10..fffce5f58a36 100644 --- a/platform/lang-impl/src/com/intellij/tools/Tool.java +++ b/platform/lang-impl/src/com/intellij/tools/Tool.java @@ -121,27 +121,27 @@ public class Tool implements SchemeElement { return mySynchronizeAfterExecution; } - void setName(String name) { + public void setName(String name) { myName = name; } - void setDescription(String description) { + public void setDescription(String description) { myDescription = description; } - void setGroup(@NotNull String group) { - myGroup = StringUtil.isEmpty(group)?DEFAULT_GROUP_NAME:group; + public void setGroup(@NotNull String group) { + myGroup = StringUtil.isEmpty(group) ? DEFAULT_GROUP_NAME : group; } - void setShownInMainMenu(boolean shownInMainMenu) { + public void setShownInMainMenu(boolean shownInMainMenu) { myShownInMainMenu = shownInMainMenu; } - void setShownInEditor(boolean shownInEditor) { + public void setShownInEditor(boolean shownInEditor) { myShownInEditor = shownInEditor; } - void setShownInProjectViews(boolean shownInProjectViews) { + public void setShownInProjectViews(boolean shownInProjectViews) { myShownInProjectViews = shownInProjectViews; } @@ -149,15 +149,15 @@ public class Tool implements SchemeElement { myShownInSearchResultsPopup = shownInSearchResultsPopup; } - void setUseConsole(boolean useConsole) { + public void setUseConsole(boolean useConsole) { myUseConsole = useConsole; } - void setShowConsoleOnStdOut(boolean showConsole) { + public void setShowConsoleOnStdOut(boolean showConsole) { myShowConsoleOnStdOut = showConsole; } - void setShowConsoleOnStdErr(boolean showConsole) { + public void setShowConsoleOnStdErr(boolean showConsole) { myShowConsoleOnStdErr = showConsole; }