Skip to content

Commit 94d3bb6

Browse files
Minor improvement
-- nano optimization
1 parent 6ed3b5c commit 94d3bb6

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

wffweb/src/main/java/com/webfirmframework/wffweb/server/page/ChildTagAppendListenerImpl.java

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,9 @@ public void childAppended(final Event event) {
9595

9696
final DataWffId dataWffId = parentTag.getDataWffId();
9797

98-
if (dataWffId == null) {
99-
if (LOGGER.isLoggable(Level.WARNING)) {
100-
LOGGER.warning(
101-
"Could not find data-wff-id from direct parent tag");
102-
}
98+
if (dataWffId == null && LOGGER.isLoggable(Level.WARNING)) {
99+
LOGGER.warning(
100+
"Could not find data-wff-id from direct parent tag");
103101
}
104102

105103
//@formatter:off

0 commit comments

Comments
 (0)