http://codereview.appspot.com/669043/diff/9001/10002
File
java/gadgets/src/main/java/org/apache/shindig/gadgets/features/FeatureRegistry.java
(left):

http://codereview.appspot.com/669043/diff/9001/10002#oldcode153
java/gadgets/src/main/java/org/apache/shindig/gadgets/features/FeatureRegistry.java:153:
connectDependencyGraph();
On 2010/03/24 20:52:22, zhoresh wrote:
Where is this check gone to?

This moves to the main constructor.  This allows for a better separation
of concerns.  The register method generates the featureMap, and the
dependency graph generation and cache clearing move to up a level.  This
is possible since we can guarantee that register() is called only once
per object.

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

Reply via email to