Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(769)

Side by Side Diff: mojo/public/tools/bindings/generators/java_templates/constant_definition.tmpl

Issue 396063006: Mojo: Always suffix int literals with L in generated Java bindings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: -1L Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 {% macro constant_def(constant) %} 1 {% macro constant_def(constant) %}
2 public static final {{constant.kind|java_type}} {{constant|name}} = ({{constant. kind|java_type}}) {{constant.value|expression_to_text}}; 2 public static final {{constant.kind|java_type}} {{constant|name}} = {{constant|c onstant_value}};
3 {% endmacro %} 3 {% endmacro %}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698