Uploaded image for project: 'Chukwa (retired)'
  1. Chukwa (retired)
  2. CHUKWA-457

TestUserResource test failed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • User Interface
    • 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.

      Attachments

        1. CHUKWA-457.patch
          2 kB
          Eric Yang

        Activity

          People

            eyang Eric Yang
            eyang Eric Yang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: