Skip to content

Commit 5344221

Browse files
committed
refactor v2 code
1 parent 6ae098c commit 5344221

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/java/org/hdf5javalib/utils/HdfDisplayUtils.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -223,20 +223,20 @@ private static <T extends Comparable<T>> void displayAggregationForDataset(Seeka
223223

224224
switch (ds.getDimensionality()) {
225225
case 0:
226-
streamType = "streamScalar";
226+
streamType = "Scalar";
227227
aggregationResult = aggregateStream(dataSource.parallelStreamScalar(), mode);
228228
break;
229229
case 1:
230-
streamType = "streamVector";
230+
streamType = "Vector";
231231
aggregationResult = aggregateStream(dataSource.parallelStreamVector(), mode);
232232
break;
233233
case 2:
234-
streamType = "streamMatrix";
234+
streamType = "Matrix";
235235
Stream<T> matrixStream = dataSource.parallelStreamMatrix().flatMap(Arrays::stream);
236236
aggregationResult = aggregateStream(matrixStream, mode);
237237
break;
238238
default:
239-
streamType = "streamFlattened";
239+
streamType = "Flattened";
240240
aggregationResult = aggregateStream(dataSource.parallelStreamFlattened(), mode);
241241
break;
242242
}

0 commit comments

Comments
 (0)