projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove @author tags
[Sone.git]
/
src
/
test
/
java
/
net
/
pterodactylus
/
sone
/
text
/
SoneTextParserTest.java
diff --git
a/src/test/java/net/pterodactylus/sone/text/SoneTextParserTest.java
b/src/test/java/net/pterodactylus/sone/text/SoneTextParserTest.java
index
b763cd1
..
ff2a175
100644
(file)
--- a/
src/test/java/net/pterodactylus/sone/text/SoneTextParserTest.java
+++ b/
src/test/java/net/pterodactylus/sone/text/SoneTextParserTest.java
@@
-41,8
+41,6
@@
import org.junit.Test;
/**
* JUnit test case for {@link SoneTextParser}.
/**
* JUnit test case for {@link SoneTextParser}.
- *
- * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
*/
public class SoneTextParserTest {
*/
public class SoneTextParserTest {
@@
-408,8
+406,6
@@
public class SoneTextParserTest {
/**
* Mock Sone provider.
/**
* Mock Sone provider.
- *
- * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
*/
private static class TestSoneProvider implements SoneProvider {
*/
private static class TestSoneProvider implements SoneProvider {
@@
-467,9
+463,10
@@
public class SoneTextParserTest {
private static class TestPostProvider implements PostProvider {
private static class TestPostProvider implements PostProvider {
+ @Nullable
@Override
@Override
- public
Optional<Post> getPost(
final String postId) {
- return
Optional.<Post>of(
new Post() {
+ public
Post getPost(@Nonnull
final String postId) {
+ return new Post() {
@Override
public String getId() {
return postId;
@Override
public String getId() {
return postId;
@@
-514,7
+511,7
@@
public class SoneTextParserTest {
public Post setKnown(boolean known) {
return null;
}
public Post setKnown(boolean known) {
return null;
}
- }
)
;
+ };
}
@Override
}
@Override
@@
-531,9
+528,10
@@
public class SoneTextParserTest {
private static class AbsentPostProvider extends TestPostProvider {
private static class AbsentPostProvider extends TestPostProvider {
+ @Nullable
@Override
@Override
- public
Optional<Post> getPost(
String postId) {
- return
Optional.absent()
;
+ public
Post getPost(@Nonnull
String postId) {
+ return
null
;
}
}
}
}