diff --git a/src/main/java/org/thymeleaf/spring3/util/DetailedError.java b/src/main/java/org/thymeleaf/spring3/util/DetailedError.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/thymeleaf/spring3/util/DetailedError.java
+++ b/src/main/java/org/thymeleaf/spring3/util/DetailedError.java
@@ -47,7 +47,6 @@ public final class DetailedError {
             final String fieldName, final String code, final Object[] arguments, final String message) {
 	    super();
         Validate.notNull(fieldName, "Field name cannot be null");
-        Validate.notNull(code, "Code cannot be null");
         Validate.notNull(message, "Message cannot be null");
         this.fieldName = fieldName;
         this.code = code;
Validate removed: if FieldError is created using the constructor with no codes, this Validate makes it fail