Commons JXPath
  1. Commons JXPath
  2. JXPATH-41

Missing class org.apache.commons.jxpath.servlet.Util

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2 Final
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      Operating System: other
      Platform: All

      Description

      This class org.apache.commons.jxpath.servlet.Util is missing from the lastest
      release.

      In the javadocs we can see it:
      http://jakarta.apache.org/commons/jxpath/apidocs/org/apache/commons/jxpath/servlet/Util.html

      But it is removed from the CVS (3 months ago):

      http://cvs.apache.org/viewcvs.cgi/jakarta-commons/jxpath/src/java/org/apache/commons/jxpath/servlet/Attic/

      If the class will be removed, please provide a repleacement of the class.

        Activity

        Hide
        Dmitri Plotnikov added a comment -

        Documentation updated.

        Show
        Dmitri Plotnikov added a comment - Documentation updated.
        Hide
        Antonio Gallardo added a comment -

        Yep. I agree with you. I think the best is to redeploy the javadocs. In any case
        I already fized the 3 clasess that use it in Cocoon:

        http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=109204298403924&w=2

        The solution was:
        import org.apache.commons.collections.EnumerationUtils;

        return (String [])EnumerationUtils.toList(e).toArray();

        Show
        Antonio Gallardo added a comment - Yep. I agree with you. I think the best is to redeploy the javadocs. In any case I already fized the 3 clasess that use it in Cocoon: http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=109204298403924&w=2 The solution was: import org.apache.commons.collections.EnumerationUtils; return (String [])EnumerationUtils.toList(e).toArray();
        Hide
        Dmitri Plotnikov added a comment -

        Antonio,

        This was an unnecessary internal utility class - it had only one method in it
        and that method was completely ridiculous. I hope you did not use it! But in
        any case, you are right that I should not have simply removed it. I should've
        deprecated it instead.

        Now, I don't really know how to proceed. It's not in 1.2. So, should it come
        back in 1.3 as deprecated only to go away again in 1.4 or whatever release
        follows 1.3?

        For now I will redeploy javadoc to make sure the class is not mentioned there.

        Show
        Dmitri Plotnikov added a comment - Antonio, This was an unnecessary internal utility class - it had only one method in it and that method was completely ridiculous. I hope you did not use it! But in any case, you are right that I should not have simply removed it. I should've deprecated it instead. Now, I don't really know how to proceed. It's not in 1.2. So, should it come back in 1.3 as deprecated only to go away again in 1.4 or whatever release follows 1.3? For now I will redeploy javadoc to make sure the class is not mentioned there.

          People

          • Assignee:
            Unassigned
            Reporter:
            Antonio Gallardo
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development