Skip to content

Commit

Permalink
Fix incomplete javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
ato committed Jun 28, 2024
1 parent 9771f23 commit 6953a77
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/org/netpreserve/jwarc/WarcParser.java
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ public void reset() {
* <ul>
* <li>permitting ASCII control characters in header field names and values
* <li>allowing lines to end with LF instead of CRLF
* <ul>
* <li>permitting multi-digit WARC minor versions like "0.18"
* </ul>
* Calling this method also resets the state of the parser.
*/
public void setLenient(boolean lenient) {
Expand Down Expand Up @@ -108,7 +109,7 @@ public void parse(ByteBuffer data) {
int pe = data.limit();


// line 112 "WarcParser.java"
// line 113 "WarcParser.java"
{
int _klen;
int _trans = 0;
Expand Down Expand Up @@ -306,7 +307,7 @@ else if ( ( (data.get(p) & 0xff)) > _warc_trans_keys[_mid+1] )
// line 183 "WarcParser.rl"
{ { p += 1; _goto_targ = 5; if (true) continue _goto;} }
break;
// line 310 "WarcParser.java"
// line 311 "WarcParser.java"
}
}
}
Expand All @@ -326,7 +327,7 @@ else if ( ( (data.get(p) & 0xff)) > _warc_trans_keys[_mid+1] )
break; }
}

// line 271 "WarcParser.rl"
// line 272 "WarcParser.rl"

position += p - data.position();
data.position(p);
Expand Down Expand Up @@ -380,7 +381,7 @@ private void setHeader(String name, String value) {
}


// line 384 "WarcParser.java"
// line 385 "WarcParser.java"
private static byte[] init__warc_actions_0()
{
return new byte [] {
Expand Down Expand Up @@ -1030,5 +1031,5 @@ private static byte[] init__warc_trans_actions_0()
static final int warc_en_any_header = 1;


// line 324 "WarcParser.rl"
// line 325 "WarcParser.rl"
}

0 comments on commit 6953a77

Please sign in to comment.