package org.ybiquitous.messages;

final class Utils {

    public static <T> T notNull(T obj, String name) throws NullPointerException {
        if (obj == null) {
            throw new NullPointerException(name + " is required");
        }
        return obj;
    }

    private Utils() {
    }
}

@@ -153,24 +153,131 @@
  == null) %7B%0A
+            if (name == null) %7B%0A                throw new NullPointerException();%0A            %7D else %7B%0A    
             
@@ -331,16 +331,30 @@
 ired%22);%0A
+            %7D%0A
         

fix Utils#notNull: if name parameter is null, call NullPointerException() not NullPointerException(String)