Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Keller2015-02-06 08:38:43 -0500
committerMarkus Keller2015-02-06 08:38:43 -0500
commitfe387e762df676ad24634747cc572b02d6cad55f (patch)
tree887dc279f511d8c94ee04225c00159d43addb75d /org.eclipse.debug.core
parent394033d6b95599ca994cf6948bf5e104391016e9 (diff)
downloadeclipse.platform.debug-fe387e762df676ad24634747cc572b02d6cad55f.tar.gz
eclipse.platform.debug-fe387e762df676ad24634747cc572b02d6cad55f.tar.xz
eclipse.platform.debug-fe387e762df676ad24634747cc572b02d6cad55f.zip
Bug 459310: New API: DebugPlugin#splitArguments(String)I20150217-0800I20150210-0800
fixed incomplete Javadoc
Diffstat (limited to 'org.eclipse.debug.core')
-rw-r--r--org.eclipse.debug.core/core/org/eclipse/debug/core/DebugPlugin.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/DebugPlugin.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/DebugPlugin.java
index c2b9ed73a..665ffc876 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/DebugPlugin.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/DebugPlugin.java
@@ -1518,9 +1518,14 @@ public class DebugPlugin extends Plugin {
* Splits the given command line into separate arguments that can be
* concatenated with a space as joiner. Embedded quotes and backslashes are
* kept as is (i.e. not interpreted).
+ * <p>
+ * Use this method to avoid e.g. losing quotes around an argument like
+ * <code>"${env_var:A}"</code>, which may later be substituted by a string
+ * that contains spaces.
+ * </p>
*
* @param args command line arguments as a single string
- * @return individual arguments in original (
+ * @return individual arguments in original form
* @since 3.10
*/
public static String[] splitArguments(String args) {

Back to the top