|
16 | 16 | */
|
17 | 17 | package io.cloudbeaver.service.sql;
|
18 | 18 |
|
19 |
| -import com.google.gson.internal.LinkedTreeMap; |
20 | 19 | import io.cloudbeaver.DBWebException;
|
21 | 20 | import io.cloudbeaver.model.WebConnectionInfo;
|
22 | 21 | import io.cloudbeaver.model.session.WebSession;
|
@@ -667,7 +666,7 @@ private DBSDataManipulator generateUpdateResultsDataBatch(
|
667 | 666 | for (int i = 0; i < allAttributes.length; i++) {
|
668 | 667 | if (addedValues[i] != null) {
|
669 | 668 | Object realCellValue;
|
670 |
| - if (addedValues[i] instanceof LinkedTreeMap variables) { |
| 669 | + if (addedValues[i] instanceof Map<?, ?> variables) { |
671 | 670 | realCellValue = setCellRowValue(variables, webSession, session, allAttributes[i], withoutExecution);
|
672 | 671 | } else {
|
673 | 672 | realCellValue = convertInputCellValue(session, allAttributes[i],
|
@@ -1140,8 +1139,8 @@ private static DBCExecutionPurpose resolveQueryPurpose(DBDDataFilter filter) {
|
1140 | 1139 | }
|
1141 | 1140 |
|
1142 | 1141 | private Object setCellRowValue(Object cellRow, WebSession webSession, DBCSession dbcSession, DBDAttributeBinding allAttributes, boolean withoutExecution) {
|
1143 |
| - if (cellRow instanceof LinkedTreeMap) { |
1144 |
| - LinkedTreeMap<String, Object> variables = (LinkedTreeMap<String, Object>) cellRow; |
| 1142 | + if (cellRow instanceof Map<?, ?>) { |
| 1143 | + Map<String, Object> variables = (Map<String, Object>) cellRow; |
1145 | 1144 | if (variables.get(FILE_ID) != null) {
|
1146 | 1145 | Path path = CBPlatform.getInstance()
|
1147 | 1146 | .getTempFolder(webSession.getProgressMonitor(), TEMP_FILE_FOLDER)
|
|
0 commit comments