git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
622abac
)
dataIn.ready() is not a test of data source validity!
author
jprocter
<Jim Procter>
Thu, 9 Dec 2010 16:02:26 +0000
(16:02 +0000)
committer
jprocter
<Jim Procter>
Thu, 9 Dec 2010 16:02:26 +0000
(16:02 +0000)
src/jalview/io/FileParse.java
patch
|
blob
|
history
diff --git
a/src/jalview/io/FileParse.java
b/src/jalview/io/FileParse.java
index
9f87c3a
..
4714b8f
100755
(executable)
--- a/
src/jalview/io/FileParse.java
+++ b/
src/jalview/io/FileParse.java
@@
-383,9
+383,14
@@
public class FileParse
}
}
- public Reader getReader() throws IOException
+ /**
+ * get the underlying bufferedReader for this data source.
+ * @return null if no reader available
+ * @throws IOException
+ */
+ public Reader getReader()
{
{
- if (dataIn != null && dataIn.ready())
+ if (dataIn != null) // Probably don't need to test for readiness && dataIn.ready())
{
return dataIn;
}
{
return dataIn;
}