| <?xml version="1.0" encoding="UTF-8"?> |
| <problems> |
| <problem> |
| <file>SizeReplaceableByIsEmpty.java</file> |
| <line>8</line> |
| <problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">'size() == 0' replaceable with 'isEmpty()'</problem_class> |
| <description><code>s.length() == 0</code> can be replaced with 's.isEmpty()' #loc</description> |
| </problem> |
| |
| <problem> |
| <file>SizeReplaceableByIsEmpty.java</file> |
| <line>16</line> |
| <problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">'size() == 0' replaceable with 'isEmpty()'</problem_class> |
| <description><code>c.size() == 0</code> can be replaced with 'c.isEmpty()' #loc</description> |
| </problem> |
| </problems> |