From fba184e707edc02ac0f7fc89a4378549a4602476 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Wed, 9 Apr 2008 11:14:50 +0000 Subject: [PATCH] fix warning with an assertion git-svn-id: http://trooper/svn/projects/jSite/trunk@658 c3eda9e8-030b-0410-8277-bc7414b0a119 --- src/net/pterodactylus/util/fcp/FcpConnectionHandler.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/net/pterodactylus/util/fcp/FcpConnectionHandler.java b/src/net/pterodactylus/util/fcp/FcpConnectionHandler.java index cbea0e2..67dd65e 100644 --- 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; -- 2.7.4