summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbkolb2007-09-25 14:19:55 (EDT)
committer bkolb2007-09-25 14:19:55 (EDT)
commit1361c04120d42e00648b61c828a8f51fccf65636 (patch)
tree7ea0d7a3eb897410b9c308230390f36770de16ec
parent405a46d9696d39620d0447999232e398790dbfe7 (diff)
downloadorg.eclipse.mwe-1361c04120d42e00648b61c828a8f51fccf65636.zip
org.eclipse.mwe-1361c04120d42e00648b61c828a8f51fccf65636.tar.gz
org.eclipse.mwe-1361c04120d42e00648b61c828a8f51fccf65636.tar.bz2
removed warnings
-rw-r--r--plugins/org.eclipse.emf.mwe.core/src/org/eclipse/emf/mwe/core/container/CompositeComponent.java3
-rw-r--r--plugins/org.eclipse.emf.mwe.core/src/org/eclipse/emf/mwe/core/issues/IssuesImpl.java12
2 files changed, 8 insertions, 7 deletions
diff --git a/plugins/org.eclipse.emf.mwe.core/src/org/eclipse/emf/mwe/core/container/CompositeComponent.java b/plugins/org.eclipse.emf.mwe.core/src/org/eclipse/emf/mwe/core/container/CompositeComponent.java
index 2b56f0b..d8ba042 100644
--- a/plugins/org.eclipse.emf.mwe.core/src/org/eclipse/emf/mwe/core/container/CompositeComponent.java
+++ b/plugins/org.eclipse.emf.mwe.core/src/org/eclipse/emf/mwe/core/container/CompositeComponent.java
@@ -274,7 +274,8 @@ public class CompositeComponent implements WorkflowComponentWithID {
addComponent(comp);
}
- public void addBean(final Object obj) {
+ public void addBean(@SuppressWarnings("unused")
+ final Object obj) {
// noop
}
diff --git a/plugins/org.eclipse.emf.mwe.core/src/org/eclipse/emf/mwe/core/issues/IssuesImpl.java b/plugins/org.eclipse.emf.mwe.core/src/org/eclipse/emf/mwe/core/issues/IssuesImpl.java
index 55c4df7..6cb598e 100644
--- a/plugins/org.eclipse.emf.mwe.core/src/org/eclipse/emf/mwe/core/issues/IssuesImpl.java
+++ b/plugins/org.eclipse.emf.mwe.core/src/org/eclipse/emf/mwe/core/issues/IssuesImpl.java
@@ -34,7 +34,7 @@ public class IssuesImpl implements Issues {
}
public void addError(final WorkflowComponent ctx, final String msg) {
- addError(ctx, msg, null, null, Collections.EMPTY_LIST);
+ addError(ctx, msg, null, null, Collections.emptyList());
}
public void addError(final String msg, final Object element) {
@@ -54,7 +54,7 @@ public class IssuesImpl implements Issues {
}
public void addWarning(final WorkflowComponent ctx, final String msg) {
- addWarning(ctx, msg, null, null, Collections.EMPTY_LIST);
+ addWarning(ctx, msg, null, null, Collections.emptyList());
}
public void addWarning(final String msg, final Object element) {
@@ -79,7 +79,7 @@ public class IssuesImpl implements Issues {
}
public void addInfo(final WorkflowComponent ctx, final String msg) {
- addInfo(ctx, msg, null, null, Collections.EMPTY_LIST);
+ addInfo(ctx, msg, null, null, Collections.emptyList());
}
public void addInfo(final String msg, final Object element) {
@@ -144,7 +144,7 @@ public class IssuesImpl implements Issues {
}
private static MWEDiagnostic createInfo(String msg, Object element) {
- return createWarning(null, msg, element, null, Collections.EMPTY_LIST);
+ return createWarning(null, msg, element, null, Collections.emptyList());
}
private static MWEDiagnostic createWarning(WorkflowComponent ctx,
@@ -156,7 +156,7 @@ public class IssuesImpl implements Issues {
}
private static MWEDiagnostic createWarning(String msg, Object element) {
- return createWarning(null, msg, element, null, Collections.EMPTY_LIST);
+ return createWarning(null, msg, element, null, Collections.emptyList());
}
private static MWEDiagnostic createError(WorkflowComponent ctx, String msg,
@@ -167,7 +167,7 @@ public class IssuesImpl implements Issues {
}
private static MWEDiagnostic createError(String msg, Object element) {
- return createWarning(null, msg, element, null, Collections.EMPTY_LIST);
+ return createWarning(null, msg, element, null, Collections.emptyList());
}
private Diagnostic[] filterIssues(int severity) {