Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(29)

Issue 1245044: Lazy allocation of MutableContent#pipelinedData (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
15 years, 11 months ago by janluehe
Modified:
15 years, 9 months ago
Reviewers:
johnfargo, shindig.remailer
Base URL:
http://svn.apache.org/repos/asf/shindig/trunk/
Visibility:
Public.

Description

This change has MutableContent allocate its "pipelinedData" field (of type java.util.Map) only if needed. This fixes https://issues.apache.org/jira/browse/SHINDIG-1336

Patch Set 1 #

Total comments: 1

Patch Set 2 : Updated patch, based on johnfargo's comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -4 lines) Patch
java/gadgets/src/main/java/org/apache/shindig/gadgets/rewrite/MutableContent.java View 1 5 chunks +8 lines, -4 lines 0 comments Download

Messages

Total messages: 4
janluehe
15 years, 11 months ago (2010-05-20 16:23:33 UTC) #1
johnfargo
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, ...
15 years, 11 months ago (2010-05-20 23:24:55 UTC) #2
janluehe
Updated patch, based on johnfargo's comment
15 years, 11 months ago (2010-05-20 23:52:36 UTC) #3
johnfargo
15 years, 11 months ago (2010-05-21 18:44:35 UTC) #4
Thanks! Committed.

On 2010/05/20 23:52:36, janluehe wrote:
> Updated patch, based on johnfargo's comment
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b