Remove test for default implementation of toString(). #1555
Fixes `ObjectToString` inspection violations in test code. Description: >Reports any calls to .toString() which use the default implementation from java.lang.Object. The default implementation is rarely desired, but easy to use by accident. Calls to .toString() on objects of type java.lang.Object are ignored by this inspection.
This commit is contained in:
parent
3ac5d486ec
commit
77979aa80e
|
|
@ -72,12 +72,6 @@ public class FilterSetTest {
|
|||
assertEquals("size is the same", 1, filter.getFilters().size());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testToString() {
|
||||
filter.addFilter(new IntMatchFilter(0));
|
||||
assertNotNull("toString works", filter.toString());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testGetFilters2() {
|
||||
FilterSet filterSet = new FilterSet();
|
||||
|
|
|
|||
Loading…
Reference in New Issue