Skip to content

Commit

Permalink
Remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
srnagar committed Jun 7, 2021
1 parent 975d989 commit a817952
Showing 1 changed file with 0 additions and 31 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -315,35 +315,4 @@ private List<String> getAllWorkspaces(LogsQueryOptions body) {
}
return allWorkspaces;
}

// private LogsQueryResult getLogsQueryResult(QueryResults queryResults) {
// List<LogsTable> tables = new ArrayList<>();
// LogsQueryResult logsQueryResult = new LogsQueryResult(tables, new LogsQueryStatistics(queryResults.get));
//
// if (queryResults.getTables() == null) {
// return null;
// }
//
// for (Table table : queryResults.getTables()) {
// List<LogsTableCell> tableCells = new ArrayList<>();
// List<LogsTableRow> tableRows = new ArrayList<>();
// List<LogsTableColumn> tableColumns = new ArrayList<>();
// LogsTable logsTable = new LogsTable(tableCells, tableRows, tableColumns);
// tables.add(logsTable);
// List<List<String>> rows = table.getRows();
//
// for (int i = 0; i < rows.size(); i++) {
// List<String> row = rows.get(i);
// LogsTableRow tableRow = new LogsTableRow(i, new ArrayList<>());
// tableRows.add(tableRow);
// for (int j = 0; j < row.size(); j++) {
// LogsTableCell cell = new LogsTableCell(table.getColumns().get(j).getName(),
// table.getColumns().get(j).getType(), j, i, row.get(j));
// tableCells.add(cell);
// tableRow.getTableRow().add(cell);
// }
// }
// }
// return logsQueryResult;
// }
}

0 comments on commit a817952

Please sign in to comment.