projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Return an optional from the Sone parser.
[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
..
de7cb25
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/text/LinkPart.java
+++ b/
src/main/java/net/pterodactylus/sone/text/LinkPart.java
@@
-1,5
+1,5
@@
/*
/*
- * Sone - LinkPart.java - Copyright © 2011–201
2
David Roden
+ * Sone - LinkPart.java - Copyright © 2011–201
3
David Roden
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@
-77,15
+77,6
@@
public class LinkPart implements Part {
}
/**
}
/**
- * Returns the text of this part.
- *
- * @return The text of this part
- */
- public String getText() {
- return text;
- }
-
- /**
* Returns the title of this part.
*
* @return The title of this part
* Returns the title of this part.
*
* @return The title of this part
@@
-94,4
+85,13
@@
public class LinkPart implements Part {
return title;
}
return title;
}
+ //
+ // PART METHODS
+ //
+
+ @Override
+ public String getText() {
+ return text;
+ }
+
}
}