Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
angelo.andreussi committed Mar 1, 2024
1 parent 3d5b3a5 commit 4d7bc77
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -346,11 +346,11 @@ public String normalizedIndexName(String index) {
* the end date ON OR BEFORE the window end will be returned
* Only indexes matching Kapua data index name pattern will be inserted inside the result list, namely this format:
*
* [<prefix>-]-data-message-YYYY-ww
* "scopeID-data-message-YYYY-ww"
* or
* [<prefix>-]-data-message-YYYY-ww-ee
* "scopeID-data-message-YYYY-ww-ee"
* or
* [<prefix>-]-data-message-YYYY-ww-ee-HH
* "scopeID-data-message-YYYY-ww-ee-HH"
*
* @param indexes
* @param windowStart
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,8 @@ private void performNullIndexTest(Date startDate, Date endDate) throws Datastore
String[] index = datastoreUtils.convertToDataIndexes(new String[]{null, null}, startDate != null ? startDate.toInstant() : null, endDate != null ? endDate.toInstant() : null, null);
compareResult(null, index);
}
// // YYYY-ww-ee-HH


private void performFormatValidationTest(Date startDate, Date endDate, String[] inputIndexes, String[] expectedIndexes) throws DatastoreException {
String[] index = datastoreUtils.convertToDataIndexes(inputIndexes, startDate != null ? startDate.toInstant() : null, endDate != null ? endDate.toInstant() : null, KapuaId.ONE);
compareResult(index,expectedIndexes);
Expand Down

0 comments on commit 4d7bc77

Please sign in to comment.