[Minor] fixed compiler warnings
This commit is contained in:
parent
c9cbb53475
commit
e6f8343af7
|
@ -19,14 +19,14 @@
|
||||||
*/
|
*/
|
||||||
package ch.eitchnet.utils.objectfilter;
|
package ch.eitchnet.utils.objectfilter;
|
||||||
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
import org.junit.Test;
|
|
||||||
|
|
||||||
import static org.junit.Assert.assertEquals;
|
import static org.junit.Assert.assertEquals;
|
||||||
import static org.junit.Assert.assertTrue;
|
import static org.junit.Assert.assertTrue;
|
||||||
import static org.junit.Assert.fail;
|
import static org.junit.Assert.fail;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import org.junit.Test;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Robert von Burg <eitch@eitchnet.ch>
|
* @author Robert von Burg <eitch@eitchnet.ch>
|
||||||
*
|
*
|
||||||
|
@ -412,7 +412,7 @@ public class ObjectFilterTest {
|
||||||
final int prime = 31;
|
final int prime = 31;
|
||||||
int result = 1;
|
int result = 1;
|
||||||
result = prime * result + getOuterType().hashCode();
|
result = prime * result + getOuterType().hashCode();
|
||||||
result = prime * result + id;
|
result = prime * result + this.id;
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -427,7 +427,7 @@ public class ObjectFilterTest {
|
||||||
TestObject other = (TestObject) obj;
|
TestObject other = (TestObject) obj;
|
||||||
if (!getOuterType().equals(other.getOuterType()))
|
if (!getOuterType().equals(other.getOuterType()))
|
||||||
return false;
|
return false;
|
||||||
if (id != other.id)
|
if (this.id != other.id)
|
||||||
return false;
|
return false;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue