From 8349ec6a66a59703c429ae0d66ddcaf928511021 Mon Sep 17 00:00:00 2001 From: Aleksandr Skoblikov Date: Tue, 12 Nov 2024 20:51:24 +0400 Subject: [PATCH] CB-5758 review fix --- .../src/org/jkiss/api/ObjectWithContextParameters.java | 2 -- ...riverAccessVerifier.java => FileSystemAccessVerifyer.java} | 2 +- .../{VerifiableDriver.java => ObjectWithVerification.java} | 4 +++- 3 files changed, 4 insertions(+), 4 deletions(-) rename modules/org.jkiss.utils/src/org/jkiss/api/verification/{DriverAccessVerifier.java => FileSystemAccessVerifyer.java} (95%) rename modules/org.jkiss.utils/src/org/jkiss/api/verification/{VerifiableDriver.java => ObjectWithVerification.java} (86%) diff --git a/modules/org.jkiss.utils/src/org/jkiss/api/ObjectWithContextParameters.java b/modules/org.jkiss.utils/src/org/jkiss/api/ObjectWithContextParameters.java index 044bca1..3acd2e0 100644 --- a/modules/org.jkiss.utils/src/org/jkiss/api/ObjectWithContextParameters.java +++ b/modules/org.jkiss.utils/src/org/jkiss/api/ObjectWithContextParameters.java @@ -25,8 +25,6 @@ * Object with contextual information */ public interface ObjectWithContextParameters { - String CONTEXT_PARAMETER_DRIVER_VERIFIER = "dbeaver.driver.verifier"; - @NotNull Map getObjectContextParameters(); diff --git a/modules/org.jkiss.utils/src/org/jkiss/api/verification/DriverAccessVerifier.java b/modules/org.jkiss.utils/src/org/jkiss/api/verification/FileSystemAccessVerifyer.java similarity index 95% rename from modules/org.jkiss.utils/src/org/jkiss/api/verification/DriverAccessVerifier.java rename to modules/org.jkiss.utils/src/org/jkiss/api/verification/FileSystemAccessVerifyer.java index c8a8327..4efa2f8 100644 --- a/modules/org.jkiss.utils/src/org/jkiss/api/verification/DriverAccessVerifier.java +++ b/modules/org.jkiss.utils/src/org/jkiss/api/verification/FileSystemAccessVerifyer.java @@ -20,7 +20,7 @@ import java.nio.file.Path; -public interface DriverAccessVerifier { +public interface FileSystemAccessVerifyer { /** * @param path - the path the driver is trying to access * @return true if access is allowed diff --git a/modules/org.jkiss.utils/src/org/jkiss/api/verification/VerifiableDriver.java b/modules/org.jkiss.utils/src/org/jkiss/api/verification/ObjectWithVerification.java similarity index 86% rename from modules/org.jkiss.utils/src/org/jkiss/api/verification/VerifiableDriver.java rename to modules/org.jkiss.utils/src/org/jkiss/api/verification/ObjectWithVerification.java index 7f607c0..77ef7d5 100644 --- a/modules/org.jkiss.utils/src/org/jkiss/api/verification/VerifiableDriver.java +++ b/modules/org.jkiss.utils/src/org/jkiss/api/verification/ObjectWithVerification.java @@ -16,5 +16,7 @@ */ package org.jkiss.api.verification; -public interface VerifiableDriver { +public interface ObjectWithVerification { + String CONTEXT_PARAMETER_DRIVER_VERIFIER = "dbeaver.verifier"; + }