# HG changeset patch # User Andre Heinecke # Date 1369380215 -7200 # Node ID a596ddb42fb395f2d445402f61b3f7f6678be8f4 # Parent 806fa23dffb3276aa268cc630082d8b94601f144 Return an empty string for the NULL object. This makes it "disappear" if it is used as part of a description or info string diff -r 806fa23dffb3 -r a596ddb42fb3 artifacts/src/main/java/org/dive4elements/river/artifacts/datacage/templating/StackFrames.java --- a/artifacts/src/main/java/org/dive4elements/river/artifacts/datacage/templating/StackFrames.java Fri May 24 09:22:39 2013 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/datacage/templating/StackFrames.java Fri May 24 09:23:35 2013 +0200 @@ -31,7 +31,12 @@ { private static Logger log = Logger.getLogger(StackFrames.class); - public static final Object NULL = new Object(); + public static final Object NULL = new Object() { + @Override + public String toString() { + return ""; + } + }; /** The frames (used like a stack). */ protected List> frames;