Skip to content
Snippets Groups Projects
Commit 2b8c9549 authored by tjc's avatar tjc
Browse files

ensure the Reader is closed after reading

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@11404 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent af1be70f
No related branches found
No related tags found
No related merge requests found
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* *
* $Header: //tmp/pathsoft/artemis/uk/ac/sanger/artemis/plot/UserDataAlgorithm.java,v 1.13 2009-07-21 08:36:20 tjc Exp $ * $Header: //tmp/pathsoft/artemis/uk/ac/sanger/artemis/plot/UserDataAlgorithm.java,v 1.14 2009-07-22 12:51:54 tjc Exp $
*/ */
package uk.ac.sanger.artemis.plot; package uk.ac.sanger.artemis.plot;
...@@ -48,7 +48,7 @@ import javax.swing.JPanel; ...@@ -48,7 +48,7 @@ import javax.swing.JPanel;
* set in the constructor. * set in the constructor.
* *
* @author Kim Rutherford <kmr@sanger.ac.uk> * @author Kim Rutherford <kmr@sanger.ac.uk>
* @version $Id: UserDataAlgorithm.java,v 1.13 2009-07-21 08:36:20 tjc Exp $ * @version $Id: UserDataAlgorithm.java,v 1.14 2009-07-22 12:51:54 tjc Exp $
**/ **/
public class UserDataAlgorithm extends BaseAlgorithm public class UserDataAlgorithm extends BaseAlgorithm
...@@ -167,6 +167,7 @@ public class UserDataAlgorithm extends BaseAlgorithm ...@@ -167,6 +167,7 @@ public class UserDataAlgorithm extends BaseAlgorithm
else else
readWiggle(pushback_reader); readWiggle(pushback_reader);
pushback_reader.close(); pushback_reader.close();
document_reader.close();
} }
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment