Skip to content

Commit

Permalink
CB-4125 use base path
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-skoblikov committed Oct 25, 2023
1 parent a520aa1 commit a027f04
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
import org.jkiss.dbeaver.model.meta.Association;
import org.jkiss.dbeaver.model.meta.Property;
import org.jkiss.dbeaver.model.navigator.*;
import org.jkiss.dbeaver.model.navigator.fs.DBNPath;
import org.jkiss.dbeaver.model.navigator.fs.DBNPathBase;
import org.jkiss.dbeaver.model.rm.RMProject;
import org.jkiss.dbeaver.model.rm.RMProjectPermission;
import org.jkiss.dbeaver.model.struct.DBSEntity;
Expand Down Expand Up @@ -281,7 +281,7 @@ public WebDatabaseObjectInfo getObject() {

@Property
public String getObjectId() {
if (node instanceof DBNPath dbnPath) {
if (node instanceof DBNPathBase dbnPath) {
return dbnPath.getPath().toUri().toString();
}
return null;
Expand Down

0 comments on commit a027f04

Please sign in to comment.