From ca68642d9202ed997e349d595c2b389f9af971f0 Mon Sep 17 00:00:00 2001 From: jansorg Date: Thu, 17 Oct 2019 15:36:09 +0300 Subject: [PATCH] fix API in sh run configuration Make properties of ShRunConfiguration public to allow 3rd-party plugins to use it. GitOrigin-RevId: 29960e97f9f6e6c4754035147bc706ee52c14105 --- .../intellij/sh/run/ShRunConfiguration.java | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/plugins/sh/src/com/intellij/sh/run/ShRunConfiguration.java b/plugins/sh/src/com/intellij/sh/run/ShRunConfiguration.java index acb62c58054f..aefdfd59e1b5 100644 --- a/plugins/sh/src/com/intellij/sh/run/ShRunConfiguration.java +++ b/plugins/sh/src/com/intellij/sh/run/ShRunConfiguration.java @@ -117,43 +117,43 @@ public class ShRunConfiguration extends LocatableConfigurationBase implements Re return vfile.getPath(); } - String getScriptPath() { + public String getScriptPath() { return myScriptPath; } - void setScriptPath(@NotNull String scriptPath) { + public void setScriptPath(@NotNull String scriptPath) { myScriptPath = scriptPath.trim(); } - String getScriptOptions() { + public String getScriptOptions() { return myScriptOptions; } - void setScriptOptions(@NotNull String scriptOptions) { + public void setScriptOptions(@NotNull String scriptOptions) { myScriptOptions = scriptOptions.trim(); } - String getScriptWorkingDirectory() { + public String getScriptWorkingDirectory() { return myScriptWorkingDirectory; } - void setScriptWorkingDirectory(String scriptWorkingDirectory) { + public void setScriptWorkingDirectory(String scriptWorkingDirectory) { myScriptWorkingDirectory = scriptWorkingDirectory.trim(); } - String getInterpreterPath() { + public String getInterpreterPath() { return myInterpreterPath; } - void setInterpreterPath(@NotNull String interpreterPath) { + public void setInterpreterPath(@NotNull String interpreterPath) { myInterpreterPath = interpreterPath.trim(); } - String getInterpreterOptions() { + public String getInterpreterOptions() { return myInterpreterOptions; } - void setInterpreterOptions(@NotNull String interpreterOptions) { + public void setInterpreterOptions(@NotNull String interpreterOptions) { myInterpreterOptions = interpreterOptions.trim(); } }