projects
/
jSite2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix warning with an assertion
[jSite2.git]
/
src
/
net
/
pterodactylus
/
util
/
fcp
/
FcpConnectionHandler.java
diff --git
a/src/net/pterodactylus/util/fcp/FcpConnectionHandler.java
b/src/net/pterodactylus/util/fcp/FcpConnectionHandler.java
index
cbea0e2
..
67dd65e
100644
(file)
--- a/
src/net/pterodactylus/util/fcp/FcpConnectionHandler.java
+++ b/
src/net/pterodactylus/util/fcp/FcpConnectionHandler.java
@@
-94,6
+94,7
@@
public class FcpConnectionHandler implements Runnable {
}
String field = line.substring(0, equalSign);
String value = line.substring(equalSign + 1);
+ assert fcpMessage != null : "fcp message is null";
fcpMessage.setField(field, value);
} catch (IOException e) {
break;