Skip to content

Commit c384eb4

Browse files
committed
Fixed some issues with the javadoc.
1 parent 18906b8 commit c384eb4

File tree

2 files changed

+4
-12
lines changed

2 files changed

+4
-12
lines changed

src/main/java/com/diffplug/freshmark/Parser.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
* combines that output with the original document to generate
2424
* the final output.
2525
*
26-
* @see {@link ParserIntronExtron}
26+
* @see ParserIntronExtron
2727
*/
2828
public abstract class Parser {
2929
/** Interface which can compile a single section of a FreshMark document. */

src/main/java/com/diffplug/freshmark/ParserIntronExon.java

+3-11
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
/**
2222
* A parser defined by "intron" and "extron" chunks of text.
2323
*
24-
* @see {@link FreshMark}
24+
* @see FreshMark
2525
*/
2626
public class ParserIntronExon extends Parser {
2727
final String intron, exon;
@@ -42,7 +42,7 @@ public ParserIntronExon(String intron, String exon) {
4242
/**
4343
* A Parser with the given comment intron/exon pair, with a custom regex.
4444
* <p>
45-
* Usually, you should use the {@link #Parser(String, String)} constructor,
45+
* Usually, you should use the {@link #ParserIntronExon(String, String)} constructor,
4646
* unless there are some special rules for how comment blocks are parsed.
4747
*/
4848
public ParserIntronExon(String intron, String exon, String regex) {
@@ -74,15 +74,7 @@ protected void bodyAndTags(String rawInput, ChunkHandler body, ChunkHandler tag)
7474
}
7575
}
7676

77-
/**
78-
* Reassembles a section/script/output chunk back into
79-
* the full file.
80-
*
81-
* @param section
82-
* @param script
83-
* @param body
84-
* @return
85-
*/
77+
/** Reassembles a section/script/output chunk back into the full file. */
8678
@Override
8779
protected String reassemble(String section, String script, String body) {
8880
// make sure that the compiled output starts and ends with a newline,

0 commit comments

Comments
 (0)