Le 18/09/2013 16:57, [email protected] a écrit : > public Map<String, Integer> getHeaderMap() { > - return new LinkedHashMap<String, Integer>(this.headerMap); > + return this.headerMap == null ? null : new LinkedHashMap<String, > Integer>(this.headerMap); > } >
Would it be possible to use an UnmodifiableMap for headerMap? That would avoid the need to copy the map on calling getHeaderMap(). Emmanuel Bourg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
