Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.jdt.core.tests.model/workspace/Formatter/test455/A_out.java')
-rw-r--r--org.eclipse.jdt.core.tests.model/workspace/Formatter/test455/A_out.java14
1 files changed, 6 insertions, 8 deletions
diff --git a/org.eclipse.jdt.core.tests.model/workspace/Formatter/test455/A_out.java b/org.eclipse.jdt.core.tests.model/workspace/Formatter/test455/A_out.java
index 3cd1c8d45..f04503344 100644
--- a/org.eclipse.jdt.core.tests.model/workspace/Formatter/test455/A_out.java
+++ b/org.eclipse.jdt.core.tests.model/workspace/Formatter/test455/A_out.java
@@ -4,16 +4,14 @@ public class A {
try {
IJavaProject javaProject = getJavaProject(configuration);
if ((javaProject == null) || !javaProject.exists()) {
- abort(
- PDEPlugin
- .getResourceString("JUnitLaunchConfiguration.error.invalidproject"), null, IJavaLaunchConfigurationConstants.ERR_NOT_A_JAVA_PROJECT); //$NON-NLS-1$
+ abort(PDEPlugin
+ .getResourceString("JUnitLaunchConfiguration.error.invalidproject"), null, IJavaLaunchConfigurationConstants.ERR_NOT_A_JAVA_PROJECT); //$NON-NLS-1$
}
IType[] testTypes = getTestTypes(configuration, javaProject,
new SubProgressMonitor(monitor, 1));
if (testTypes.length == 0) {
- abort(
- PDEPlugin
- .getResourceString("JUnitLaunchConfiguration.error.notests"), null, IJavaLaunchConfigurationConstants.ERR_UNSPECIFIED_MAIN_TYPE); //$NON-NLS-1$
+ abort(PDEPlugin
+ .getResourceString("JUnitLaunchConfiguration.error.notests"), null, IJavaLaunchConfigurationConstants.ERR_UNSPECIFIED_MAIN_TYPE); //$NON-NLS-1$
}
monitor.worked(1);
@@ -38,8 +36,8 @@ public class A {
setDefaultSourceLocator(launch, configuration);
launch.setAttribute(PORT_ATTR, Integer.toString(port));
- launch.setAttribute(TESTTYPE_ATTR, testTypes[0]
- .getHandleIdentifier());
+ launch.setAttribute(TESTTYPE_ATTR,
+ testTypes[0].getHandleIdentifier());
PDEPlugin.getDefault().getLaunchesListener().manage(launch);
launcher.getVMRunner(mode).run(runnerConfig, launch, monitor);
monitor.worked(1);

Back to the top