We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4200f28 + 3fd7f0b commit a49aa81Copy full SHA for a49aa81
src/com/xxdb/data/BasicTable.java
@@ -129,7 +129,7 @@ public void setColName (final List<String> colNames) {
129
* @param newColName
130
*/
131
public void replaceColName(String originalColName, String newColName) {
132
- if (Objects.isNull(newColName) || Utils.isEmpty(newColName))
+ if (Utils.isEmpty(originalColName) || Utils.isEmpty(newColName))
133
throw new RuntimeException("The param 'newColName' cannot be null or empty.");
134
135
if (this.colNames.contains(newColName))
0 commit comments