Skip to content

Commit

Permalink
fix: facade (#855)
Browse files Browse the repository at this point in the history
  • Loading branch information
masaimu authored May 23, 2024
1 parent adec9f4 commit 8d62253
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -295,8 +295,8 @@ public DetailResult queryDetail(QueryParam queryParam) {
}
}

private DetailResult transToDetailResult(QueryParam queryParam, String[] header, List<Row> rows,
List<String> tables) {
public static DetailResult transToDetailResult(QueryParam queryParam, String[] header,
List<Row> rows, List<String> tables) {
DetailResult detailResult = DetailResult.empty();
if (header == null || header.length == 0) {
return detailResult;
Expand Down Expand Up @@ -442,7 +442,7 @@ private Map<Map<String, String>, Result> getTagsWithResults(QueryParam queryPara
return tagsToResult;
}

private String[] getHeader(Row row) {
public static String[] getHeader(Row row) {
List<Column> columns = row.getColumns();
String[] headers = new String[columns.size()];
for (int i = 0; i < columns.size(); i++) {
Expand Down

0 comments on commit 8d62253

Please sign in to comment.