Control: tags -1 patch

Here is a patch fixing this issue.

Description: Fix a test failure with Java 8
Author: Emmanuel Bourg <[email protected]>
Forwarded: no
--- 
a/biojava3-core/src/main/java/org/biojava3/core/sequence/location/template/AbstractLocation.java
+++ 
b/biojava3-core/src/main/java/org/biojava3/core/sequence/location/template/AbstractLocation.java
@@ -108,7 +108,7 @@
         this.circular = circular;
         this.betweenCompounds = betweenCompounds;
         this.accession = accession;
-        this.subLocations = Collections.unmodifiableList(subLocations);
+        this.subLocations = subLocations != null ? 
Collections.unmodifiableList(subLocations) : Collections.<Location>emptyList();
         assertLocation();
     }
 

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to