projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Convert “image insert failed” into EventBus-based event.
[Sone.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sone
/
text
/
LinkPart.java
diff --git
a/src/main/java/net/pterodactylus/sone/text/LinkPart.java
b/src/main/java/net/pterodactylus/sone/text/LinkPart.java
index
1b47080
..
202b9db
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/text/LinkPart.java
+++ b/
src/main/java/net/pterodactylus/sone/text/LinkPart.java
@@
-77,21
+77,26
@@
public class LinkPart implements Part {
}
/**
}
/**
- * Returns the t
ext
of this part.
+ * Returns the t
itle
of this part.
*
*
- * @return The t
ext
of this part
+ * @return The t
itle
of this part
*/
*/
- public String getT
ext
() {
- return t
ext
;
+ public String getT
itle
() {
+ return t
itle
;
}
}
+ //
+ // PART METHODS
+ //
+
/**
/**
- * Returns the t
itle
of this part.
+ * Returns the t
ext
of this part.
*
*
- * @return The t
itle
of this part
+ * @return The t
ext
of this part
*/
*/
- public String getTitle() {
- return title;
+ @Override
+ public String getText() {
+ return text;
}
}
}
}