Uploaded image for project: 'Velocity'
  1. Velocity
  2. VELOCITY-266

change AbstractContext.internalRemove() to have consistent key type

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.0-Release
    • 2.0
    • Engine
    • None
    • Operating System: other
      Platform: All
    • 28605

    Description

      org.apache.velocity.context.AbstractContext.internalRemove(Object key) uses an
      argument type of java.lang.Object for the key. This is inconsistent with other
      methods (internalGet, internalPut, internalContainsKey), which all use a type
      of java.lang.String for the key.

      Of course, this will probably require deprecating it, but maybe there's still
      time to fix it, assuming few users have implemented their own.

      • Jerry Oberle
        perl -e 'printf "%silto%c%sberle%cearthlink%cnet%c", "ma", 58, "go", 64, 46,
        10;' # Sorry but I do not know whether spammers can harvest addresses from here

      Attachments

        Activity

          People

            Unassigned Unassigned
            goberle@hotmail.com Gerard Oberle
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: