Skip to content

Commit 53b0e06

Browse files
[IMG-2884] fix github issues
Signed-off-by: deshayesbas <bastien.deshayes_externe@rte-france.com>
1 parent 3fea776 commit 53b0e06

File tree

1 file changed

+7
-2
lines changed
  • metrix-commons/src/main/java/com/powsybl/metrix/commons/data/datatable

1 file changed

+7
-2
lines changed

metrix-commons/src/main/java/com/powsybl/metrix/commons/data/datatable/DataTable.java

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,10 +213,15 @@ public DataTable replaceValues(List<String> selectedColumns, Map<String, List<St
213213
return this;
214214
}
215215

216-
public void verify(List<String> listColumn, String nomDT) {
216+
/**
217+
* Verify datatable columns
218+
* @param listColumn list of column names to verify
219+
* @param dtName name of the datatable
220+
*/
221+
public void verify(List<String> listColumn, String dtName) {
217222
listColumn.forEach(columName -> {
218223
if (!this.columnExists(columName)) {
219-
throw new IllegalArgumentException("La datatable " + nomDT + " n'est pas bien formatée");
224+
throw new IllegalArgumentException("The datatable " + dtName + " is not formatted correctly");
220225
}
221226
});
222227
}

0 commit comments

Comments
 (0)