Skip to content

Commit

Permalink
CB-5744. Refactor after review
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisSinelnikov committed Oct 11, 2024
1 parent 1a51928 commit 536891b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ public interface WebAppConfiguration {

boolean isFeatureEnabled(String id);

String[] getEnabledFeatures();

Check warning on line 47 in server/bundles/io.cloudbeaver.model/src/io/cloudbeaver/model/app/WebAppConfiguration.java

View check run for this annotation

Jenkins-CI-integration / CheckStyle Java Report

server/bundles/io.cloudbeaver.model/src/io/cloudbeaver/model/app/WebAppConfiguration.java#L47

Missing a Javadoc comment.

default boolean isSupportsCustomConnections() {
return true;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1153,6 +1153,12 @@ public List<SMTeamMemberInfo> getTeamMembersInfo(@NotNull String teamId) throws
}
}

@Nullable
@Override
public String[] getEnableFeatures() {
return application.getAppConfiguration().getEnabledFeatures();
}

@NotNull
private SMTeam fetchTeam(ResultSet dbResult) throws SQLException {
return new SMTeam(
Expand Down

0 comments on commit 536891b

Please sign in to comment.