http://codereview.appspot.com/90085/diff/1/8 File src/com/google/gwt/inject/rebind/binding/BindConstantBinding.java (right): http://codereview.appspot.com/90085/diff/1/8#newcode95 Line 95: className = className.substring(0, className.lastIndexOf("$")); Can you just check ...
16 years, 11 months ago
(2009-07-02 04:16:03 UTC)
#2
Thanks for taking a look so fast! :) http://codereview.appspot.com/90085/diff/1/8 File src/com/google/gwt/inject/rebind/binding/BindConstantBinding.java (right): http://codereview.appspot.com/90085/diff/1/8#newcode95 Line 95: ...
16 years, 11 months ago
(2009-07-02 20:34:57 UTC)
#3
Thanks for taking a look so fast! :)
http://codereview.appspot.com/90085/diff/1/8
File src/com/google/gwt/inject/rebind/binding/BindConstantBinding.java (right):
http://codereview.appspot.com/90085/diff/1/8#newcode95
Line 95: className = className.substring(0, className.lastIndexOf("$"));
On 2009/07/02 04:16:03, Brian_Stoler wrote:
> Can you just check if getEnclosingClass is non-null and use that if not?
Using getEnclosingClass instead of substring. I can't use it on the matcher
because it would also match inner enums.
Issue 90085: Fixed enum binding support (issue #49)
(Closed)
Created 16 years, 11 months ago by Aragos
Modified 16 years, 10 months ago
Reviewers: Brian_Stoler
Base URL: http://google-gin.googlecode.com/svn/trunk/
Comments: 2