File tree 2 files changed +1
-67
lines changed
main/java/org/apache/ibatis/scripting/xmltags
test/java/org/apache/ibatis/scripting/xmltags
2 files changed +1
-67
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2009-2024 the original author or authors.
2
+ * Copyright 2009-2023 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -80,9 +80,6 @@ protected MixedSqlNode parseDynamicTags(XNode node) {
80
80
XNode child = node .newXNode (children .item (i ));
81
81
if (child .getNode ().getNodeType () == Node .CDATA_SECTION_NODE || child .getNode ().getNodeType () == Node .TEXT_NODE ) {
82
82
String data = child .getStringBody ("" );
83
- if (data .trim ().isEmpty ()) {
84
- continue ;
85
- }
86
83
TextSqlNode textSqlNode = new TextSqlNode (data );
87
84
if (textSqlNode .isDynamic ()) {
88
85
contents .add (textSqlNode );
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments