mirror of
https://github.com/querydsl/querydsl.git
synced 2026-07-03 21:07:49 +08:00
fixed raw types usage
This commit is contained in:
parent
29fd99da7a
commit
e6d0e6cc47
@ -11,6 +11,10 @@ import java.util.Set;
|
||||
|
||||
import com.mysema.query.types.Expression;
|
||||
|
||||
/**
|
||||
* @author sasa
|
||||
*
|
||||
*/
|
||||
public interface Group {
|
||||
|
||||
Object[] toArray();
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user