Skip to content

Commit d02ed45

Browse files
committed
used more appropriate property comment
1 parent 5cedab4 commit d02ed45

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

biojava-core/src/main/java/org/biojava/nbio/core/sequence/io/GenbankSequenceParser.java

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -118,12 +118,14 @@ public class GenbankSequenceParser<S extends AbstractSequence<C>, C extends Comp
118118
protected static final Pattern dbxp = Pattern.compile("^([^:]+):(\\S+)$");
119119

120120
protected static final InsdcParser locationParser = new InsdcParser(DataSource.GENBANK);
121-
//sections start at a line and continue till the first line afterwards with a
122-
//non-whitespace first character
123-
//we want to match any of the following as a new section within a section
124-
// \s{0,8} word \s{0,7} value
125-
// \s{21} /word = value
126-
// \s{21} /word
121+
/**
122+
* sections start at a line and continue till the first line afterwards with a
123+
* non-whitespace first character
124+
* we want to match any of the following as a new section within a section
125+
* \s{0,8} word \s{0,7} value
126+
* \s{21} /word = value
127+
* \s{21} /word
128+
*/
127129
protected static final Pattern sectp = Pattern.compile("^(\\s{0,8}(\\S+)\\s{0,7}(.*)|\\s{21}(/\\S+?)=(.*)|\\s{21}(/\\S+))$");
128130

129131
protected static final Pattern readableFiles = Pattern.compile(".*(g[bp]k*$|\\u002eg[bp].*)");
@@ -132,9 +134,6 @@ public class GenbankSequenceParser<S extends AbstractSequence<C>, C extends Comp
132134
private static final String PRIMARY = "PRIMARY";
133135
private static final String DBLINK = "DBLINK";
134136

135-
// private NCBITaxon tax = null;
136-
137-
138137

139138
private String parse(BufferedReader bufferedReader) {
140139
String sectionKey;

0 commit comments

Comments
 (0)