Skip to content
Snippets Groups Projects
Commit b708394d authored by tcarver's avatar tcarver
Browse files

fixes for java 1.5

parent e70d3b26
No related branches found
No related tags found
No related merge requests found
......@@ -104,7 +104,8 @@ abstract public class DocumentEntryFactory
final ReadListener listener)
throws IOException, EntryInformationException
{
if(document.getInputStream() instanceof net.sf.samtools.util.BlockCompressedInputStream)
if(!System.getProperty("java.version").startsWith("1.5.") &&
document.getInputStream() instanceof net.sf.samtools.util.BlockCompressedInputStream)
{
if(IndexedGFFDocumentEntry.isIndexed( ((File)document.getLocation()) ))
return new IndexedGFFDocumentEntry(document);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment