Skip to content

Commit 9400316

Browse files
javier-godoymlopezFC
authored andcommitted
docs: fix swapped Javadocs for getContent/setContent
1 parent 3fc8452 commit 9400316

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/com/flowingcode/vaadin/addons/markdown/BaseMarkdownComponent.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public BaseMarkdownComponent(String content) {
5353
}
5454

5555
/**
56-
* Sets the content of the Markdown component.
56+
* Gets the content of the Markdown component.
5757
*
5858
* @return the content of the Markdown component
5959
*/
@@ -62,9 +62,9 @@ public String getContent() {
6262
}
6363

6464
/**
65-
* Gets the content of the Markdown component.
65+
* Sets the content of the Markdown component.
6666
*
67-
* @param content retrieved from the state of the component
67+
* @param content the content to be used in the Markdown component
6868
*/
6969
public void setContent(String content) {
7070
this.content = content;

0 commit comments

Comments
 (0)