servlet-spec
  1. servlet-spec
  2. SERVLET_SPEC-3

Use Generic for Class in javax.servlet.*

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      One has the following:
      javax.servlet.ServletRequestWrapper.java:
      public boolean isWrapperFor(Class wrappedType) {

      javax.servlet.ServletResponseWrapper.java:
      public boolean isWrapperFor(Class wrappedType) {

      javax.servlet.annotation.HandlesTypes.java:
      Class[] value();

      One should use Class<?> in above.

        Activity

        Hide
        Shing Wai Chan added a comment -

        Sending src/main/java/javax/servlet/ServletRequestWrapper.java
        Sending src/main/java/javax/servlet/ServletResponseWrapper.java
        Sending src/main/java/javax/servlet/annotation/HandlesTypes.java
        Transmitting file data ...
        Committed revision 51594.

        Show
        Shing Wai Chan added a comment - Sending src/main/java/javax/servlet/ServletRequestWrapper.java Sending src/main/java/javax/servlet/ServletResponseWrapper.java Sending src/main/java/javax/servlet/annotation/HandlesTypes.java Transmitting file data ... Committed revision 51594.

          People

          • Assignee:
            Shing Wai Chan
            Reporter:
            Shing Wai Chan
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: