16 years, 3 months ago
(2009-12-29 18:52:33 UTC)
#2
http://codereview.appspot.com/152045/diff/1/5
File src/com/google/gwt/inject/rebind/BindingsProcessor.java (right):
http://codereview.appspot.com/152045/diff/1/5#newcode743
src/com/google/gwt/inject/rebind/BindingsProcessor.java:743: RequiredKeys keys =
keyUtil.getRequiredKeys(method);
On 2009/12/29 18:22:23, nwolf wrote:
> couldn't method potentially be null at line 743? Should the catch throw some
> sort of real exception? and if you're snoozing the error what does that really
> mean?
Thanks for catching this! Moved the method to the inner class where its used and
fixed error recording logic.
http://codereview.appspot.com/152045/diff/1/3
File test/com/google/gwt/inject/client/misc/StaticClass.java (right):
http://codereview.appspot.com/152045/diff/1/3#newcode59
test/com/google/gwt/inject/client/misc/StaticClass.java:59: public static
StaticInjectGinjector getInjector() {
On 2009/12/29 18:22:23, nwolf wrote:
> nit pick, order of methods seems off.
Done.
Issue 152045: Fixing static injections
(Closed)
Created 16 years, 5 months ago by Aragos
Modified 16 years, 3 months ago
Reviewers: lord_damokles_gmx.net, Brian_Stoler, nwolf
Base URL: http://google-gin.googlecode.com/svn/trunk/
Comments: 4