summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpelder2007-05-17 10:57:44 (EDT)
committerpelder2007-05-17 10:57:44 (EDT)
commit56b5c5fba9a2a665971a115d136aefa847834c3d (patch)
tree9b111bce7d17ff77fb8decf96a242a1a36fbc6e0
parent52f40316247d76430ab2a4f3b07bbdc1f87fe034 (diff)
downloadorg.eclipse.jet-56b5c5fba9a2a665971a115d136aefa847834c3d.zip
org.eclipse.jet-56b5c5fba9a2a665971a115d136aefa847834c3d.tar.gz
org.eclipse.jet-56b5c5fba9a2a665971a115d136aefa847834c3d.tar.bz2
[187555] Generated _TAGS_ class only makes Java output larger
-rw-r--r--tests/org.eclipse.jet.tests/data/simplifiedCompiler/templates/simple.v2.usePredefTagLibs.jet.predefs.expected.java8
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/org.eclipse.jet.tests/data/simplifiedCompiler/templates/simple.v2.usePredefTagLibs.jet.predefs.expected.java b/tests/org.eclipse.jet.tests/data/simplifiedCompiler/templates/simple.v2.usePredefTagLibs.jet.predefs.expected.java
index e57c391..dfe6f79 100644
--- a/tests/org.eclipse.jet.tests/data/simplifiedCompiler/templates/simple.v2.usePredefTagLibs.jet.predefs.expected.java
+++ b/tests/org.eclipse.jet.tests/data/simplifiedCompiler/templates/simple.v2.usePredefTagLibs.jet.predefs.expected.java
@@ -15,8 +15,7 @@ public class _jet_simplev2usePredefTagLibs implements JET2Template {
private static final String NL = System.getProperties().getProperty("line.separator"); //$NON-NLS-1$
- private static final class _TAGS {
- static final TagInfo c_get_3_1 = new TagInfo("c:get", //$NON-NLS-1$
+ private static final TagInfo _td_c_get_3_1 = new TagInfo("c:get", //$NON-NLS-1$
3, 1,
new String[] {
"select", //$NON-NLS-1$
@@ -24,16 +23,15 @@ public class _jet_simplev2usePredefTagLibs implements JET2Template {
new String[] {
"$useMe/@attr", //$NON-NLS-1$
} );
- }
public void generate(final JET2Context context, final JET2Writer __out) {
JET2Writer out = __out;
out.write("This template uses a predefined tag library:"); //$NON-NLS-1$
out.write(NL);
out.write(NL);
- RuntimeTagElement _jettag_c_get_3_1 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _TAGS.c_get_3_1); //$NON-NLS-1$ //$NON-NLS-2$
+ RuntimeTagElement _jettag_c_get_3_1 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_3_1); //$NON-NLS-1$ //$NON-NLS-2$
_jettag_c_get_3_1.setRuntimeParent(null);
- _jettag_c_get_3_1.setTagInfo(_TAGS.c_get_3_1);
+ _jettag_c_get_3_1.setTagInfo(_td_c_get_3_1);
_jettag_c_get_3_1.doStart(context, out);
_jettag_c_get_3_1.doEnd();
out.write(NL);