Skip to content

Commit

Permalink
Remove ff.forward
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaspj10 committed Sep 24, 2024
1 parent 24f1ae0 commit 2c6d5d8
Showing 1 changed file with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,10 @@
public class FrankElement implements Comparable<FrankElement> {
static final String JAVADOC_PARAMETERS = "@ff.parameters";
public static final String JAVADOC_PARAMETER = "@ff.parameter";
public static final String JAVADOC_FORWARD = "@ff.forward";
public static final String JAVADOC_FORWARD_ANNOTATION_CLASSNAME = "org.frankframework.doc.Forward";
public static final String JAVADOC_FORWARDS_ANNOTATION_CLASSNAME = "org.frankframework.doc.Forwards";
public static final String JAVADOC_SEE = "@see";
public static final String JAVADOC_TAG = "@ff.tag";
public static final String JAVADOC_INFO_NOTE_TAG = "@ff.info";
public static final String JAVADOC_TIP_NOTE_TAG = "@ff.tip";
public static final String JAVADOC_WARNING_NOTE_TAG = "@ff.warning";
public static final String JAVADOC_DANGER_NOTE_TAG = "@ff.danger";
public static final String LABEL = "org.frankframework.doc.Label";
public static final String LABEL_NAME = "name";

Expand Down Expand Up @@ -223,10 +218,7 @@ private String parseParametersJavadocTag(FrankClass clazz) {
}

private List<Forward> parseForwardJavadocTags(FrankClass clazz) {
// The following line can be removed when ff.forward should no longer be supported.
List<Forward> forwards = new ArrayList<>(parseJavadocTags(clazz, JAVADOC_FORWARD).stream()
.map(tag -> new Forward(tag.getName(), tag.getDescription()))
.toList());
List<Forward> forwards = new ArrayList<>();

// The Forwards annotation contains an array of Forward annotation (repeatable annotation).
// The Forwards annotation will not exist when the class has only one Forward annotation.
Expand Down

0 comments on commit 2c6d5d8

Please sign in to comment.