We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e763320 commit 97332caCopy full SHA for 97332ca
biojava-core/src/main/java/org/biojava/nbio/core/sequence/io/GenbankSequenceParser.java
@@ -145,7 +145,7 @@ private String parse(BufferedReader bufferedReader) {
145
sectionKey = section.get(0)[0];
146
if (sectionKey == null) {
147
//if we reach the end of the file, section contains empty strings
148
- if(section.get(0)[1]==null || section.get(0)[1]=="" ||
+ if(section.get(0)[1]==null || section.get(0)[1].equals("") ||
149
section.get(0)[1].length()==0) {
150
throw new ParserException(Messages.ENDOFFILE);
151
}
0 commit comments