e.getName());                 }             }         }         cache.clear(); //clear the cache after a change     }      /**      * @param typeWriters      * @param mediaType      * @param reference      */     private void removeTypeWriter(Map<MediaType,List<ServiceReference>> typeWriters,             MediaType mediaType,             ServiceReference reference) {         List<ServiceReference> l = typeWriters.get(mediaType);         if(l != null && l.