summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpelder2006-04-20 08:59:24 (EDT)
committer pelder2006-04-20 08:59:24 (EDT)
commit4f2300aa5ef6232de618f97225fc1c361ac6782f (patch)
tree9653a41a3bf8d2f8df02ec05e7ebd8f7f5790463
parentca27f4d552d1e08fab1b563cfd0b7ec9cc075101 (diff)
downloadorg.eclipse.jet-4f2300aa5ef6232de618f97225fc1c361ac6782f.zip
org.eclipse.jet-4f2300aa5ef6232de618f97225fc1c361ac6782f.tar.gz
org.eclipse.jet-4f2300aa5ef6232de618f97225fc1c361ac6782f.tar.bz2
[137706] Check for null tagInfo when printing trace info to stdout.
-rw-r--r--plugins/org.eclipse.jet/src/org/eclipse/jet/JET2Platform.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.jet/src/org/eclipse/jet/JET2Platform.java b/plugins/org.eclipse.jet/src/org/eclipse/jet/JET2Platform.java
index 4298595..a8a2749 100644
--- a/plugins/org.eclipse.jet/src/org/eclipse/jet/JET2Platform.java
+++ b/plugins/org.eclipse.jet/src/org/eclipse/jet/JET2Platform.java
@@ -341,7 +341,7 @@ public class JET2Platform
if(nlPos >= 0) {
message = message.substring(0, nlPos);
}
- System.out.println((templatePath == null ? "" : templatePath + " ") + td.toString() + ": " + message); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ System.out.println((templatePath == null ? "" : templatePath + " ") + (td != null ? td.toString() : "") + ": " + message); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
}
});
}