Reviewers: Lex, cromwellian,

Message:
Please review.

Description:
Small tweak to avoid initializing the values map until needed.  The
functionality is rarely used, so eager initialization seems kind of
silly.  I suppose a similar argument could be made for the values array.

Please review this at http://gwt-code-reviews.appspot.com/280801/show

Affected files:
  M dev/core/src/com/google/gwt/dev/jjs/ast/JClassLiteral.java
  M dev/core/src/com/google/gwt/dev/jjs/impl/GenerateJavaAST.java
  M user/super/com/google/gwt/emul/java/lang/Class.java
  M user/super/com/google/gwt/emul/java/lang/Enum.java
  M user/test/com/google/gwt/dev/jjs/test/EnumsTest.java


--
http://groups.google.com/group/Google-Web-Toolkit-Contributors

To unsubscribe from this group, send email to 
google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this email with 
the words "REMOVE ME" as the subject.

Reply via email to