Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-384

LightweightBrowserCache doesn't invoke clear method (i.e. duplicate code)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.0-beta-3
    • 2.0-beta-2
    • jaxrs
    • None

      The org.jboss.resteasy.client.cache.LightweightBrowserCache.put(String, MediaType, MultivaluedMap<String, String>, byte[], int, String, String) method
      does not invoke it's org.jboss.resteasy.client.cache.LightweightBrowserCache.clear() method when the cache becomes full.

      Instead it contains the same implementation inside the put method.

      This means that a class that overrides the clear method, won't get notified if the cache has been cleared.

            patriot1burke@gmail.com Bill Burke (Inactive)
            sanjoa Joakim Sandstroem (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: