diff options
author | Andrey Loskutov | 2017-01-09 13:12:58 +0000 |
---|---|---|
committer | Andrey Loskutov | 2017-01-13 20:56:39 +0000 |
commit | ebb2566c95427e5c7cffd5e27f1e910b0a187b17 (patch) | |
tree | f9b87db9c4ccf476dfb8c8d4b5fcfcfd3f871bbb /org.eclipse.core.externaltools | |
parent | 1c1d17b82a223fb8fcc69b4883a71b8744899ccb (diff) | |
download | eclipse.platform.debug-ebb2566c95427e5c7cffd5e27f1e910b0a187b17.tar.gz eclipse.platform.debug-ebb2566c95427e5c7cffd5e27f1e910b0a187b17.tar.xz eclipse.platform.debug-ebb2566c95427e5c7cffd5e27f1e910b0a187b17.zip |
Bug 510100 - [cleanup] Get rid of trailing white space in platform.debugY20170119-1000I20170119-2000I20170119-1010I20170119-0345I20170118-2000I20170118-1215I20170117-2000I20170116-2000I20170115-2000I20170114-2000I20170113-2000
Also enabled "cleanup whitespace on save" actions for debug.ui and
debug.tests bundles.
Change-Id: I755b879ab1d49144a1bec3f4318dbb8b29521bb3
Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
Diffstat (limited to 'org.eclipse.core.externaltools')
4 files changed, 35 insertions, 35 deletions
diff --git a/org.eclipse.core.externaltools/src/org/eclipse/core/externaltools/internal/launchConfigurations/ExternalToolsCoreUtil.java b/org.eclipse.core.externaltools/src/org/eclipse/core/externaltools/internal/launchConfigurations/ExternalToolsCoreUtil.java index 9239265a6..4f6dda350 100644 --- a/org.eclipse.core.externaltools/src/org/eclipse/core/externaltools/internal/launchConfigurations/ExternalToolsCoreUtil.java +++ b/org.eclipse.core.externaltools/src/org/eclipse/core/externaltools/internal/launchConfigurations/ExternalToolsCoreUtil.java @@ -52,14 +52,14 @@ public class ExternalToolsCoreUtil { protected static void abort(String message, Throwable exception, int code) throws CoreException { throw new CoreException(new Status(IStatus.ERROR, IExternalToolConstants.PLUGIN_ID, code, message, exception)); } - + /** * Expands and returns the location attribute of the given launch * configuration. The location is * verified to point to an existing file, in the local file system. - * + * * @param configuration launch configuration - * @return an absolute path to a file in the local file system + * @return an absolute path to a file in the local file system * @throws CoreException if unable to retrieve the associated launch * configuration attribute, if unable to resolve any variables, or if the * resolved location does not point to an existing file in the local file @@ -78,8 +78,8 @@ public class ExternalToolsCoreUtil { File file = new File(expandedLocation); if (file.isFile()) { return new Path(expandedLocation); - } - + } + String msg = NLS.bind(ExternalToolsProgramMessages.ExternalToolsUtil_invalidLocation__0_, new Object[] { configuration.getName()}); abort(msg, null, 0); } @@ -87,11 +87,11 @@ public class ExternalToolsCoreUtil { // execution will not reach here return null; } - + /** * Returns a boolean specifying whether or not output should be captured for * the given configuration - * + * * @param configuration the configuration from which the value will be * extracted * @return boolean specifying whether or not output should be captured @@ -106,7 +106,7 @@ public class ExternalToolsCoreUtil { * configuration. Returns <code>null</code> if a working directory is not * specified. If specified, the working is verified to point to an existing * directory in the local file system. - * + * * @param configuration launch configuration * @return an absolute path to a directory in the local file system, or * <code>null</code> if unspecified @@ -123,7 +123,7 @@ public class ExternalToolsCoreUtil { File path = new File(expandedLocation); if (path.isDirectory()) { return new Path(expandedLocation); - } + } String msg = NLS.bind(ExternalToolsProgramMessages.ExternalToolsUtil_invalidDirectory__0_, new Object[] { expandedLocation, configuration.getName()}); abort(msg, null, 0); } @@ -134,7 +134,7 @@ public class ExternalToolsCoreUtil { /** * Expands and returns the arguments attribute of the given launch * configuration. Returns <code>null</code> if arguments are not specified. - * + * * @param configuration launch configuration * @return an array of resolved arguments, or <code>null</code> if * unspecified @@ -153,13 +153,13 @@ public class ExternalToolsCoreUtil { private static IStringVariableManager getStringVariableManager() { return VariablesPlugin.getDefault().getStringVariableManager(); } - + /** * Returns whether the given launch configuration is enabled. This property * is intended only to apply to external tool builder configurations and * determines whether the project builder will launch the configuration * when it builds. - * + * * @param configuration the configuration for which the enabled state should * be determined. * @return whether the given configuration is enabled to be run when a build occurs. @@ -168,10 +168,10 @@ public class ExternalToolsCoreUtil { public static boolean isBuilderEnabled(ILaunchConfiguration configuration) throws CoreException { return configuration.getAttribute(IExternalToolConstants.ATTR_BUILDER_ENABLED, true); } - + /** * Returns the collection of resources for the build scope as specified by the given launch configuration. - * + * * @param configuration launch configuration * @throws CoreException if an exception occurs while retrieving the resources */ @@ -180,18 +180,18 @@ public class ExternalToolsCoreUtil { if (scope == null) { return null; } - + return RefreshUtil.toResources(scope); } - + /** * Parses the argument text into an array of individual * strings using the space character as the delimiter. * An individual argument containing spaces must have a - * double quote (") at the start and end. Two double + * double quote (") at the start and end. Two double * quotes together is taken to mean an embedded double * quote in the argument text. - * + * * @param arguments the arguments as one string * @return the array of arguments */ @@ -200,15 +200,15 @@ public class ExternalToolsCoreUtil { return new String[0]; } String[] res= DebugPlugin.parseArguments(arguments); - return res; - } + return res; + } /** * Returns a collection of projects referenced by a build scope attribute. - * + * * @return collection of projects referred to by configuration */ public static IProject[] getBuildProjects(ILaunchConfiguration configuration, String buildScopeId) { - + String scope = null; String id = buildScopeId ; if (id == null) { @@ -247,11 +247,11 @@ public class ExternalToolsCoreUtil { } return new IProject[0]; } - + /** * Whether referenced projects should be considered when building. Only valid * when a set of projects is to be built. - * + * * @param configuration * @return whether referenced projects should be considerd when building * @throws CoreException if unable to access the associated attribute @@ -263,10 +263,10 @@ public class ExternalToolsCoreUtil { } return configuration.getAttribute(id, true); } - + /** * Returns whether the given external builder configuration should build asynchronously. - * + * * @param configuration the configuration * @return whether the configuration is configured to build asynchronously */ diff --git a/org.eclipse.core.externaltools/src/org/eclipse/core/externaltools/internal/launchConfigurations/ExternalToolsProgramMessages.java b/org.eclipse.core.externaltools/src/org/eclipse/core/externaltools/internal/launchConfigurations/ExternalToolsProgramMessages.java index 889fe2b12..699365ad6 100644 --- a/org.eclipse.core.externaltools/src/org/eclipse/core/externaltools/internal/launchConfigurations/ExternalToolsProgramMessages.java +++ b/org.eclipse.core.externaltools/src/org/eclipse/core/externaltools/internal/launchConfigurations/ExternalToolsProgramMessages.java @@ -3,8 +3,8 @@ * program and the accompanying materials are made available under the terms of * the Eclipse Public License v1.0 which accompanies this distribution, and is * available at http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: + * + * Contributors: * IBM - Initial API and implementation **********************************************************************/ package org.eclipse.core.externaltools.internal.launchConfigurations; @@ -18,7 +18,7 @@ public class ExternalToolsProgramMessages extends NLS { public static String ProgramLaunchDelegate_3; public static String ProgramLaunchDelegate_4; - + public static String ExternalToolsUtil_Location_not_specified_by__0__1; public static String ExternalToolsUtil_invalidLocation__0_; public static String ExternalToolsUtil_invalidDirectory__0_; diff --git a/org.eclipse.core.externaltools/src/org/eclipse/core/externaltools/internal/model/ExternalToolsModelMessages.java b/org.eclipse.core.externaltools/src/org/eclipse/core/externaltools/internal/model/ExternalToolsModelMessages.java index 9e38b5041..eceec792a 100644 --- a/org.eclipse.core.externaltools/src/org/eclipse/core/externaltools/internal/model/ExternalToolsModelMessages.java +++ b/org.eclipse.core.externaltools/src/org/eclipse/core/externaltools/internal/model/ExternalToolsModelMessages.java @@ -3,8 +3,8 @@ * program and the accompanying materials are made available under the terms of * the Eclipse Public License v1.0 which accompanies this distribution, and is * available at http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: + * + * Contributors: * IBM - Initial API and implementation **********************************************************************/ package org.eclipse.core.externaltools.internal.model; @@ -13,10 +13,10 @@ import org.eclipse.osgi.util.NLS; public class ExternalToolsModelMessages extends NLS { private static final String BUNDLE_NAME = "org.eclipse.core.externaltools.internal.model.ExternalToolsModelMessages";//$NON-NLS-1$ - + public static String ExternalToolBuilder_Running__0_____1; public static String ExternalToolBuilder_0; - + static { // load message values from bundle file NLS.initializeMessages(BUNDLE_NAME, ExternalToolsModelMessages.class); diff --git a/org.eclipse.core.externaltools/src/org/eclipse/core/externaltools/internal/registry/ExternalToolsMigrationMessages.java b/org.eclipse.core.externaltools/src/org/eclipse/core/externaltools/internal/registry/ExternalToolsMigrationMessages.java index 3e5fa46f7..8ec6e41df 100644 --- a/org.eclipse.core.externaltools/src/org/eclipse/core/externaltools/internal/registry/ExternalToolsMigrationMessages.java +++ b/org.eclipse.core.externaltools/src/org/eclipse/core/externaltools/internal/registry/ExternalToolsMigrationMessages.java @@ -3,8 +3,8 @@ * program and the accompanying materials are made available under the terms of * the Eclipse Public License v1.0 which accompanies this distribution, and is * available at http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: + * + * Contributors: * IBM - Initial API and implementation **********************************************************************/ package org.eclipse.core.externaltools.internal.registry; |