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:
Michal Kordas 2015-08-19 20:00:31 +02:00 committed by Roman Ivanov
parent 3ac5d486ec
commit 77979aa80e
1 changed files with 0 additions and 6 deletions

View File

@ -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();