You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by jo...@gmail.com on 2010/05/21 01:24:55 UTC

Re: Lazy allocation of MutableContent#pipelinedData (issue1245044)

http://codereview.appspot.com/1245044/diff/1/3
File
java/gadgets/src/main/java/org/apache/shindig/gadgets/rewrite/MutableContent.java
(right):

http://codereview.appspot.com/1245044/diff/1/3#newcode229
java/gadgets/src/main/java/org/apache/shindig/gadgets/rewrite/MutableContent.java:229:
return pipelinedData;
to avoid mandating that clients to null-checks, how about returning a
private static final Map<String, Object> EMPTY_MAP = ImmutableMap.of();
?

http://codereview.appspot.com/1245044/show