fixed raw types usage

This commit is contained in:
Timo Westkämper 2011-09-20 11:08:54 +03:00
parent 29fd99da7a
commit e6d0e6cc47
2 changed files with 6 additions and 3 deletions

View File

@ -11,6 +11,10 @@ import java.util.Set;
import com.mysema.query.types.Expression;
/**
* @author sasa
*
*/
public interface Group {
Object[] toArray();

View File

@ -70,9 +70,8 @@ public final class QPair<K, V> extends ExpressionBase<Pair<K, V>> implements Fac
public boolean equals(Object o) {
if (o == this) {
return true;
} else if (o instanceof QPair) {
@SuppressWarnings("rawtypes")
QPair other = (QPair) o;
} else if (o instanceof QPair<?,?>) {
QPair<?,?> other = (QPair<?,?>) o;
return this.key.equals(other.key) && this.value.equals(other.value);
} else {
return false;