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:
3a993bb
)
ensure mark is set before identification is started.
author
jprocter
<Jim Procter>
Tue, 29 Jan 2008 10:15:36 +0000
(10:15 +0000)
committer
jprocter
<Jim Procter>
Tue, 29 Jan 2008 10:15:36 +0000
(10:15 +0000)
src/jalview/io/IdentifyFile.java
patch
|
blob
|
history
diff --git
a/src/jalview/io/IdentifyFile.java
b/src/jalview/io/IdentifyFile.java
index
86b04a8
..
46899da
100755
(executable)
--- a/
src/jalview/io/IdentifyFile.java
+++ b/
src/jalview/io/IdentifyFile.java
@@
-72,6
+72,10
@@
public class IdentifyFile
boolean lineswereskipped=false;
boolean isBinary = false; // true if length is non-zero and non-printable characters are encountered
try {
+ if (!closeSource)
+ {
+ source.mark();
+ }
while ( (data = source.nextLine()) != null)
{
length+=data.length();