Skip to content

Commit a49aa81

Browse files
committed
Merge branch 'release130' of https://dolphindb.net/dolphindb/api-java into release130
2 parents 4200f28 + 3fd7f0b commit a49aa81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/com/xxdb/data/BasicTable.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ public void setColName (final List<String> colNames) {
129129
* @param newColName
130130
*/
131131
public void replaceColName(String originalColName, String newColName) {
132-
if (Objects.isNull(newColName) || Utils.isEmpty(newColName))
132+
if (Utils.isEmpty(originalColName) || Utils.isEmpty(newColName))
133133
throw new RuntimeException("The param 'newColName' cannot be null or empty.");
134134

135135
if (this.colNames.contains(newColName))

0 commit comments

Comments
 (0)