Skip to content

Commit bcda3e4

Browse files
committed
dbeaver/pro#7253 Remove redundant code + comments.
1 parent 72a007c commit bcda3e4

File tree

2 files changed

+0
-23
lines changed

2 files changed

+0
-23
lines changed

server/bundles/io.cloudbeaver.model/src/io/cloudbeaver/WebSessionProjectImpl.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -95,16 +95,6 @@ protected void saveProjectSettings(
9595
}
9696
}
9797

98-
@Override
99-
protected void deleteProjectSettings(
100-
@NotNull SMObjectType objectType,
101-
@NotNull String objectId,
102-
@NotNull Set<String> settings
103-
) throws DBException {
104-
if (webSession.getUserContext().isNonAnonymousUserAuthorizedInSM()) {
105-
webSession.getSecurityController().deleteObjectSettings(getId(), objectType, objectId, settings);
106-
}
107-
}
10898
};
10999
}
110100

server/bundles/io.cloudbeaver.service.security/src/io/cloudbeaver/service/security/CBEmbeddedSecurityController.java

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -224,19 +224,6 @@ private static List<SMObjectSettings> convertMapToSettingList(
224224
return sList;
225225
}
226226

227-
@Override
228-
public void deleteObjectSettings(
229-
@NotNull String projectId,
230-
@NotNull SMObjectType objectType, @NotNull String objectId,
231-
@Nullable Set<String> settingIds
232-
) throws DBException {
233-
try (Connection dbCon = database.openConnection()) {
234-
deleteObjectSettings(dbCon, projectId, objectId, objectType, settingIds);
235-
} catch (SQLException e) {
236-
throw new DBCException("Error while deleting object settings", e);
237-
}
238-
}
239-
240227
private void deleteObjectSettings(
241228
@NotNull Connection dbCon,
242229
@NotNull String projectId,

0 commit comments

Comments
 (0)