projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rewrite shell cache to create shells, if necessary.
[Sone.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sone
/
data
/
ReplyShell.java
diff --git
a/src/main/java/net/pterodactylus/sone/data/ReplyShell.java
b/src/main/java/net/pterodactylus/sone/data/ReplyShell.java
index
11a6ee5
..
afcf295
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/data/ReplyShell.java
+++ b/
src/main/java/net/pterodactylus/sone/data/ReplyShell.java
@@
-181,7
+181,7
@@
public class ReplyShell extends Reply implements Shell<Reply> {
*/
@Override
public boolean canUnshell() {
*/
@Override
public boolean canUnshell() {
- return (sone != null) && (
id != null) && (post != null
) && (time != null) && (text != null);
+ return (sone != null) && (
!(sone instanceof Shell<?>)) && (id != null) && (post != null) && (!(post instanceof Shell<?>)
) && (time != null) && (text != null);
}
/**
}
/**