Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: User Interface
    • Labels:
      None
    • Environment:

      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.

        Activity

        Hide
        Eric Yang added a comment -

        Remove duplicated setProperties method for Jersey to work.

        Show
        Eric Yang added a comment - Remove duplicated setProperties method for Jersey to work.
        Hide
        Ari Rabkin added a comment -

        This test is now passing, even though patch has not been committed. Is this issue now a duplicate?

        Show
        Ari Rabkin added a comment - This test is now passing, even though patch has not been committed. Is this issue now a duplicate?
        Hide
        Eric Yang added a comment -

        This patch is still validate, and should be committed. I am not sure why the test case passed where it shouldn't.

        Show
        Eric Yang added a comment - This patch is still validate, and should be committed. I am not sure why the test case passed where it shouldn't.
        Hide
        Ari Rabkin added a comment -

        I just committed this; thanks, Eric.

        Show
        Ari Rabkin added a comment - I just committed this; thanks, Eric.
        Hide
        Hudson added a comment -
        Show
        Hudson added a comment - Integrated in Chukwa-trunk #330 (See http://hudson.zones.apache.org/hudson/job/Chukwa-trunk/330/ )

          People

          • Assignee:
            Eric Yang
            Reporter:
            Eric Yang
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development