Skip to content

Commit 6699e94

Browse files
author
chengyitian
committed
Merge branch 'dev' of dolphindb.net:dolphindb/api-java
2 parents 1b040f7 + 375aa9b commit 6699e94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/com/xxdb/data/BasicDictionary.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ public Entity get(Scalar key) {
115115

116116
@Override
117117
public boolean put(Scalar key, Entity value) {
118-
if(key.getDataType() != getKeyDataType() || ((value.getDataType() == DATA_TYPE.DT_ANY) && (value.getDataType() != getDataType())))
118+
if(key.getDataType() != getKeyDataType() || ((getDataType() != DATA_TYPE.DT_ANY) && (value.getDataType() != getDataType())))
119119
return false;
120120
else{
121121
dict.put(key, value);

0 commit comments

Comments
 (0)