diff --git a/metafix/src/main/java/org/metafacture/metafix/Value.java b/metafix/src/main/java/org/metafacture/metafix/Value.java index 1280e049..25d54496 100644 --- a/metafix/src/main/java/org/metafacture/metafix/Value.java +++ b/metafix/src/main/java/org/metafacture/metafix/Value.java @@ -433,9 +433,7 @@ public void add(final Value value) { } /* package-private */ void add(final Value value, final boolean appendToPath) { - if (!isNull(value)) { - list.add(appendToPath ? value.withPathAppend(list.size() + 1) : value); - } + add(list.size(), value, appendToPath); } /* package-private */ void add(final int index, final Value value) {