summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2007-12-21 05:10:22 (EST)
committerEike Stepper2007-12-21 05:10:22 (EST)
commiteb3540c3289de84072aca8522cfab2608bf8e568 (patch)
tree6d856868ca267d62a8f4e7460ecc38f0e0e9b2ec
parent8b4c7904d14bfe21d02734bacf7d8b993c1e1395 (diff)
downloadcdo-eb3540c3289de84072aca8522cfab2608bf8e568.zip
cdo-eb3540c3289de84072aca8522cfab2608bf8e568.tar.gz
cdo-eb3540c3289de84072aca8522cfab2608bf8e568.tar.bz2
Fixed some warnings
-rw-r--r--plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/internal/util/collection/History.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/internal/util/collection/History.java b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/internal/util/collection/History.java
index c0cd95c..1d24851 100644
--- a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/internal/util/collection/History.java
+++ b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/internal/util/collection/History.java
@@ -136,6 +136,7 @@ public class History<T> extends Notifier implements IHistory<T>
return elements.get(0).getData();
}
+ @SuppressWarnings("unchecked")
public <D> D[] getData(D[] a)
{
lazyLoad();
@@ -158,6 +159,7 @@ public class History<T> extends Notifier implements IHistory<T>
return a;
}
+ @SuppressWarnings("unchecked")
public IHistoryElement<T>[] toArray()
{
lazyLoad();