| <?xml version="1.0" encoding="UTF-8"?> |
| <problems> |
| <problem> |
| <file>IOResourceInspection.java</file> |
| <line>7</line> |
| <method> |
| <name>void foo()</name> |
| <display_name>foo()</display_name> |
| <package>com.siyeh.igtest.resources</package> |
| <class> |
| <name>IOResource</name> |
| <display_name>IOResource</display_name> |
| </class> |
| </method> |
| <problem_class>I/O resource opened but not safely closed</problem_class> |
| <description>'FileInputStream' should be opened in front of a try block and closed in the corresponding finally block #loc</description> |
| </problem> |
| |
| <problem> |
| <file>IOResourceInspection.java</file> |
| <line>11</line> |
| <method> |
| <name>void foo2()</name> |
| <display_name>foo2()</display_name> |
| <package>com.siyeh.igtest.resources</package> |
| <class> |
| <name>IOResource</name> |
| <display_name>IOResource</display_name> |
| </class> |
| </method> |
| <problem_class>I/O resource opened but not safely closed</problem_class> |
| <description>'FileInputStream' should be opened in front of a try block and closed in the corresponding finally block #loc</description> |
| </problem> |
| |
| |
| |
| <problem> |
| <file>IOResourceInspection.java</file> |
| <line>17</line> |
| <method> |
| <name>void foo25()</name> |
| <display_name>foo25()</display_name> |
| <package>com.siyeh.igtest.resources</package> |
| <class> |
| <name>IOResource</name> |
| <display_name>IOResource</display_name> |
| </class> |
| </method> |
| <problem_class>I/O resource opened but not safely closed</problem_class> |
| <description>'FileInputStream' should be opened in front of a try block and closed in the corresponding finally block #loc</description> |
| </problem> |
| |
| <problem> |
| <file>IOResourceInspection.java</file> |
| <line>57</line> |
| <method> |
| <name>void foo6()</name> |
| <display_name>foo6()</display_name> |
| <package>com.siyeh.igtest.resources</package> |
| <class> |
| <name>IOResource</name> |
| <display_name>IOResource</display_name> |
| </class> |
| </method> |
| <problem_class>I/O resource opened but not safely closed</problem_class> |
| <description>'FileInputStream' should be opened in front of a try block and closed in the corresponding finally block #loc</description> |
| </problem> |
| |
| <problem> |
| <file>IOResourceInspection.java</file> |
| <line>66</line> |
| <method> |
| <name>void foo7()</name> |
| <display_name>foo7()</display_name> |
| <package>com.siyeh.igtest.resources</package> |
| <class> |
| <name>IOResource</name> |
| <display_name>IOResource</display_name> |
| </class> |
| </method> |
| <problem_class>I/O resource opened but not safely closed</problem_class> |
| <description>'FileInputStream' should be opened in front of a try block and closed in the corresponding finally block #loc</description> |
| </problem> |
| |
| <problem> |
| <file>IOResourceInspection.java</file> |
| <line>94</line> |
| <method> |
| <name>void interrupting()</name> |
| <display_name>interrupting()</display_name> |
| <package>com.siyeh.igtest.resources.io</package> |
| <class> |
| <name>IOResource</name> |
| <display_name>IOResource</display_name> |
| </class> |
| </method> |
| <problem_class>I/O resource opened but not safely closed</problem_class> |
| <description>'FileInputStream' should be opened in front of a try block and closed in the corresponding finally block #loc</description> |
| </problem> |
| |
| <problem> |
| <file>IOResourceInspection.java</file> |
| <line>148</line> |
| <problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">I/O resource opened but not safely closed</problem_class> |
| <description>'InputStream' should be opened in front of a 'try' block and closed in the corresponding 'finally' block #loc</description> |
| </problem> |
| |
| <problem> |
| <file>IOResourceInspection.java</file> |
| <line>152</line> |
| <problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">I/O resource opened but not safely closed</problem_class> |
| <description>'FileInputStream' should be opened in front of a 'try' block and closed in the corresponding 'finally' block #loc</description> |
| </problem> |
| </problems> |
| |