1 <BugCollection version="1.3.9" sequence="0" timestamp="1289571354000" analysisTimestamp="1289571687788" release="">
2 <Project projectName="">
4 <!-- Before SONAR-1280 type was OBL_UNSATISFIED_OBLIGATION -->
5 <BugInstance type="UNKNOWN" priority="2" abbrev="OBL" category="EXPERIMENTAL" instanceHash="4d5bb62bd620a4713ef04e9450237c02" instanceOccurrenceNum="0" instanceOccurrenceMax="0">
6 <ShortMessage>Method may fail to clean up stream or resource</ShortMessage>
7 <LongMessage>Method com.exedio.csvtools.DBTool.executeUpdate(String) may fail to clean up java.sql.Statement</LongMessage>
8 <Class classname="com.exedio.csvtools.DBTool" primary="true">
9 <SourceLine classname="com.exedio.csvtools.DBTool" start="55" end="338" sourcefile="DBTool.java" sourcepath="com/exedio/csvtools/DBTool.java">
10 <Message>At DBTool.java:[lines 55-338]</Message>
12 <Message>In class com.exedio.csvtools.DBTool</Message>
14 <Method classname="com.exedio.csvtools.DBTool" name="executeUpdate" signature="(Ljava/lang/String;)V" isStatic="false" primary="true">
15 <SourceLine classname="com.exedio.csvtools.DBTool" start="301" end="313" startBytecode="0" endBytecode="234" sourcefile="DBTool.java" sourcepath="com/exedio/csvtools/DBTool.java"/>
16 <Message>In method com.exedio.csvtools.DBTool.executeUpdate(String)</Message>
18 <Class classname="java.sql.Statement" role="CLASS_REFTYPE">
19 <SourceLine classname="java.sql.Statement" sourcefile="Statement.java" sourcepath="java/sql/Statement.java">
20 <Message>In Statement.java</Message>
22 <Message>Reference type java.sql.Statement</Message>
24 <Int value="1" role="INT_OBLIGATIONS_REMAINING">
25 <Message>1 instances of obligation remaining</Message>
27 <SourceLine classname="com.exedio.csvtools.DBTool" primary="true" start="302" end="302" startBytecode="8" endBytecode="8" sourcefile="DBTool.java" sourcepath="com/exedio/csvtools/DBTool.java" role="SOURCE_LINE_OBLIGATION_CREATED">
28 <Message>Obligation to clean up resource created at DBTool.java:[line 302] is not discharged</Message>
30 <SourceLine classname="com.exedio.csvtools.DBTool" start="303" end="303" startBytecode="14" endBytecode="14" sourcefile="DBTool.java" sourcepath="com/exedio/csvtools/DBTool.java" role="SOURCE_LINE_PATH_CONTINUES">
31 <Message>Path continues at DBTool.java:[line 303]</Message>
33 <SourceLine classname="com.exedio.csvtools.DBTool" start="313" end="313" startBytecode="91" endBytecode="91" sourcefile="DBTool.java" sourcepath="com/exedio/csvtools/DBTool.java" role="SOURCE_LINE_PATH_CONTINUES">
34 <Message>Path continues at DBTool.java:[line 313]</Message>
36 <String value="{Statement x 1}" role="STRING_REMAINING_OBLIGATIONS">
37 <Message>Remaining obligations: {Statement x 1}</Message>