Code maintenance, resolving IDE warnings.
diff --git a/org.eclipse.amp.escape/plugins/org.eclipse.amp.escape.testing.ide/src/org/eclipse/amp/amf/testing/ide/ExecuteParameterTestHandler.java b/org.eclipse.amp.escape/plugins/org.eclipse.amp.escape.testing.ide/src/org/eclipse/amp/amf/testing/ide/ExecuteParameterTestHandler.java
index 9c276ef..1c9fd03 100644
--- a/org.eclipse.amp.escape/plugins/org.eclipse.amp.escape.testing.ide/src/org/eclipse/amp/amf/testing/ide/ExecuteParameterTestHandler.java
+++ b/org.eclipse.amp.escape/plugins/org.eclipse.amp.escape.testing.ide/src/org/eclipse/amp/amf/testing/ide/ExecuteParameterTestHandler.java
@@ -103,37 +103,37 @@
}
}
- private boolean checkResource(Object res) {
- if (res instanceof IStructuredSelection) {
- IStructuredSelection ss = (IStructuredSelection) res;
- if (ss != null) {
- for (Object object : ss.toList()) {
- boolean check = checkResource(object);
- if (check) {
- return true;
- }
- }
- }
- } else if (res instanceof IFile) {
- IFile file = (IFile) res;
- if (file.getFileExtension() != null && file.getFileExtension().equals("atest")) {
- return true;
- }
- } else if (res instanceof IFolder) {
- IFolder folder = (IFolder) res;
- try {
- for (IResource resMember : folder.members()) {
- boolean check = checkResource(resMember);
- if (check) {
- return true;
- }
- }
- } catch (CoreException e) {
- throw new RuntimeException(e);
- }
- }
- return false;
- }
+ // private boolean checkResource(Object res) {
+ // if (res instanceof IStructuredSelection) {
+ // IStructuredSelection ss = (IStructuredSelection) res;
+ // if (ss != null) {
+ // for (Object object : ss.toList()) {
+ // boolean check = checkResource(object);
+ // if (check) {
+ // return true;
+ // }
+ // }
+ // }
+ // } else if (res instanceof IFile) {
+ // IFile file = (IFile) res;
+ // if (file.getFileExtension() != null && file.getFileExtension().equals("atest")) {
+ // return true;
+ // }
+ // } else if (res instanceof IFolder) {
+ // IFolder folder = (IFolder) res;
+ // try {
+ // for (IResource resMember : folder.members()) {
+ // boolean check = checkResource(resMember);
+ // if (check) {
+ // return true;
+ // }
+ // }
+ // } catch (CoreException e) {
+ // throw new RuntimeException(e);
+ // }
+ // }
+ // return false;
+ // }
public int getRunsPerTest() {
return 1;
diff --git a/org.eclipse.amp.escape/plugins/org.eclipse.amp.escape.testing.ide/src/org/eclipse/amp/amf/testing/ide/TestRun.java b/org.eclipse.amp.escape/plugins/org.eclipse.amp.escape.testing.ide/src/org/eclipse/amp/amf/testing/ide/TestRun.java
index ffef862..9de081a 100644
--- a/org.eclipse.amp.escape/plugins/org.eclipse.amp.escape.testing.ide/src/org/eclipse/amp/amf/testing/ide/TestRun.java
+++ b/org.eclipse.amp.escape/plugins/org.eclipse.amp.escape.testing.ide/src/org/eclipse/amp/amf/testing/ide/TestRun.java
@@ -101,6 +101,7 @@
initialize();
final AParInterpreter apar = atest.getAparInterpreter();
final EclipseEscapeRunner runner = new EclipseEscapeRunner() {
+ private static final long serialVersionUID = 1L;
protected synchronized void runMainLoop() {
super.runMainLoop();
if (!parentMonitor.isCanceled() && getMonitor() != null) {