Bug 515805: Some help pages needed for modules contain invalid HTML
fixed some invalid HTML tags in the documentation
Change-Id: Id6d697cad4e9ba1c9b9cbc620595d8dba0d02a42
diff --git a/plugins/org.eclipse.ease.modules.jvm/src/org/eclipse/ease/modules/java/JVMModule.java b/plugins/org.eclipse.ease.modules.jvm/src/org/eclipse/ease/modules/java/JVMModule.java
index 03baf44..633e172 100644
--- a/plugins/org.eclipse.ease.modules.jvm/src/org/eclipse/ease/modules/java/JVMModule.java
+++ b/plugins/org.eclipse.ease.modules.jvm/src/org/eclipse/ease/modules/java/JVMModule.java
@@ -68,7 +68,7 @@
* If a security manager, s, is present and the caller's class loader is not the same as or an ancestor of the class loader for the current
* class and invocation of s.checkPackageAccess() denies access to the package of this class.
* @throws NoSuchMethodException
- * if a matching method is not found or if the name is "<init>"or "<clinit>".
+ * if a matching method is not found or if the name is "<init>"or "<clinit>".
* @throws InvocationTargetException
* if the underlying method throws an exception.
* @throws IllegalArgumentException
diff --git a/plugins/org.eclipse.ease.modules.platform/src/org/eclipse/ease/modules/platform/debug/LaunchModule.java b/plugins/org.eclipse.ease.modules.platform/src/org/eclipse/ease/modules/platform/debug/LaunchModule.java
index 36a2ef9..8eb2f6c 100644
--- a/plugins/org.eclipse.ease.modules.platform/src/org/eclipse/ease/modules/platform/debug/LaunchModule.java
+++ b/plugins/org.eclipse.ease.modules.platform/src/org/eclipse/ease/modules/platform/debug/LaunchModule.java
@@ -33,8 +33,10 @@
* </pre>
*
* where "Client" is the name of a launch configuration in the workbench and "debug" is the launch mode to use.
+ * </p>
* <p>
* More examples of using the launch method are available in JavaScript Snippets.
+ * </p>
*/
public class LaunchModule extends AbstractScriptModule {
public static final String MODULE_NAME = "/System/Launch";
@@ -59,8 +61,8 @@
*/
@WrapToScript
public static String[] getLaunchConfigurationNames() throws CoreException {
- ILaunchConfiguration[] configurations = getLaunchConfigurations();
- String[] names = new String[configurations.length];
+ final ILaunchConfiguration[] configurations = getLaunchConfigurations();
+ final String[] names = new String[configurations.length];
for (int i = 0; i < names.length; i++) {
names[i] = configurations[i].getName();
}
@@ -92,8 +94,8 @@
*/
@WrapToScript
public static ILaunchConfiguration getLaunchConfiguration(String name) throws CoreException, IllegalArgumentException {
- ILaunchConfiguration[] configurations = getLaunchConfigurations();
- for (ILaunchConfiguration configuration : configurations) {
+ final ILaunchConfiguration[] configurations = getLaunchConfigurations();
+ for (final ILaunchConfiguration configuration : configurations) {
if (configuration.getName().equals(name)) {
return configuration;
}
@@ -134,6 +136,7 @@
* <p>
* This method, unlike {@module #launch(String, String)}, does not return the ILaunch because it is delegated to run via the UI thread and perform UI tasks
* before the launch (such as prompting the user).
+ * </p>
*
* @param launchConfiguration
* the {@link ILaunchConfiguration}, or the name of the launch configuration to be resolved with {@module #getLaunchConfiguration(String)}
@@ -149,12 +152,6 @@
} else {
config = getLaunchConfiguration(launchConfiguration.toString());
}
- Display.getDefault().syncExec(new Runnable() {
-
- @Override
- public void run() {
- DebugUITools.launch(config, mode);
- }
- });
+ Display.getDefault().syncExec(() -> DebugUITools.launch(config, mode));
}
}