2 Replies Latest reply on Jul 30, 2009 6:24 PM by Scott Stark

    ProfileService Server.getMetadata() - immutable OK?

    Andrew Rubinger Master

      Probably this one's for Scott/Emanuel:


       * Get the optional server configuration metadata
       * @return A possibly empty map of configuration metadata
       Map<String, Object> getMetaData();

      Can I wrap this in Collection.unmodifiableMap() when returning so we don't leak out the mutable state of the server? Or is something in the ProfileService depending upon altering the contents?