Commit ad4bf0c2 authored by balaskoa's avatar balaskoa
Browse files

correction after review


Signed-off-by: default avatarbalaskoa <jeno.balasko@ericsson.com>
parent a0629d84
......@@ -59,8 +59,9 @@ public final class PathConverter {
* @return the path in cygwin style or the value of the path parameter.
* */
public static String convert(final String path, final boolean reportDebugInformation, final MessageConsole outputConsole) {
if("".equals(path.trim())){
ErrorReporter.logWarning("The empty path could not be converted");
return path;
}
......
......@@ -90,7 +90,6 @@ public abstract class LaunchShortcut implements ILaunchShortcut {
labelProvider.dispose();
}
//old: final String configurationName = "new configuration (" + project.getName() + ")";
final String configurationName = "new configuration (" + file.getFullPath().toString().replace("/", "__") + ")";
ILaunchConfigurationWorkingCopy wc = configurationType.newInstance(null, configurationName);
wc.setMappedResources(new IResource[] {project});
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment