From 7139ad1b0101177384e86274d4ef9de0ecfba752 Mon Sep 17 00:00:00 2001 From: Alexander Skjolden Date: Mon, 18 May 2015 21:24:50 +0200 Subject: [PATCH] RunTimeError in switch causing cast error - critical fix Signed-off-by: Alexander Skjolden --- src/main/view/form/Form.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/view/form/Form.java b/src/main/view/form/Form.java index 97ba050..0c05f53 100644 --- a/src/main/view/form/Form.java +++ b/src/main/view/form/Form.java @@ -158,7 +158,6 @@ private void validate() // switch on because each node might have different behaviours switch (fn.getType()) { case VALUE: - default: // check if required or value is not blank if (fn.getRequired() || !fn.getValue().equals("")) { FormValueNode fvn = (FormValueNode) fn;