|
From: <lh...@us...> - 2010-03-01 19:39:07
|
Revision: 373
http://tinytim.svn.sourceforge.net/tinytim/?rev=373&view=rev
Author: lheuer
Date: 2010-03-01 19:39:00 +0000 (Mon, 01 Mar 2010)
Log Message:
-----------
Suppress unchecked warnings.... Would be nicer if I'd convert the classes to Java's generics, though
Modified Paths:
--------------
tinytim/trunk/src/main/java/org/tinytim/internal/utils/CompactHashSet.java
tinytim/trunk/src/main/java/org/tinytim/internal/utils/CompactIdentityHashSet.java
Modified: tinytim/trunk/src/main/java/org/tinytim/internal/utils/CompactHashSet.java
===================================================================
--- tinytim/trunk/src/main/java/org/tinytim/internal/utils/CompactHashSet.java 2010-03-01 14:33:04 UTC (rev 372)
+++ tinytim/trunk/src/main/java/org/tinytim/internal/utils/CompactHashSet.java 2010-03-01 19:39:00 UTC (rev 373)
@@ -16,6 +16,7 @@
* INTERNAL: Implements the Set interface more compactly than
* java.util.HashSet by using a closed hashtable.
*/
+@SuppressWarnings("unchecked")
class CompactHashSet<E> extends java.util.AbstractSet<E> {
protected final static int INITIAL_SIZE = 3;
Modified: tinytim/trunk/src/main/java/org/tinytim/internal/utils/CompactIdentityHashSet.java
===================================================================
--- tinytim/trunk/src/main/java/org/tinytim/internal/utils/CompactIdentityHashSet.java 2010-03-01 14:33:04 UTC (rev 372)
+++ tinytim/trunk/src/main/java/org/tinytim/internal/utils/CompactIdentityHashSet.java 2010-03-01 19:39:00 UTC (rev 373)
@@ -15,6 +15,7 @@
* INTERNAL: This class is a specialization of the CompactHashSet
* class, and uses the == operator to compare objects.
*/
+@SuppressWarnings("unchecked")
class CompactIdentityHashSet<E> extends CompactHashSet<E> {
public CompactIdentityHashSet() {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|