projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Throw exception on invalid replies.
[Sone.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sone
/
text
/
SoneTextParser.java
diff --git
a/src/main/java/net/pterodactylus/sone/text/SoneTextParser.java
b/src/main/java/net/pterodactylus/sone/text/SoneTextParser.java
index
0edd5f3
..
a9208dc
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/text/SoneTextParser.java
+++ b/
src/main/java/net/pterodactylus/sone/text/SoneTextParser.java
@@
-237,7
+237,7
@@
public class SoneTextParser implements Parser<SoneTextParserContext> {
* don’t use create=true above, we don’t want
* the empty shell.
*/
* don’t use create=true above, we don’t want
* the empty shell.
*/
- sone = Optional.<Sone>of(new DefaultSone(database, soneId, false));
+ sone = Optional.<Sone>of(new DefaultSone(database, soneId, false
, null
));
}
parts.add(new SonePart(sone.get()));
line = line.substring(50);
}
parts.add(new SonePart(sone.get()));
line = line.substring(50);