diff --git a/org.adempiere.pipo/src/org/adempiere/pipo2/PackInHandler.java b/org.adempiere.pipo/src/org/adempiere/pipo2/PackInHandler.java index 50744f78c0..802452fb8c 100644 --- a/org.adempiere.pipo/src/org/adempiere/pipo2/PackInHandler.java +++ b/org.adempiere.pipo/src/org/adempiere/pipo2/PackInHandler.java @@ -483,6 +483,9 @@ public class PackInHandler extends DefaultHandler { if (!entry.startElement) { Element e = entry.element; + if (e.unresolved == null || e.unresolved.length() == 0) + continue; + StringBuilder s = new StringBuilder(e.qName); s.append(" ["); Set keys = e.properties.keySet(); @@ -498,8 +501,7 @@ public class PackInHandler extends DefaultHandler { i++; } s.append("]"); - if (e.unresolved != null && e.unresolved.length() > 0) - s.append(" unresolved ").append(e.unresolved); + s.append(" unresolved ").append(e.unresolved); log.warning(s.toString()); packIn.getNotifier().addFailureLine(s.toString()); }