Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Redhat EL 5.1, Java 6
Description
Jersey does not like method overloading. For example:
@XmlElement public String getProperties() { } public void setProperties(String s) { } public void setProperties(JSONObject json) { }
Causes annotation to panic. It's probably better to only setProperties(JSONObject json) method.