You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -328,12 +329,16 @@ void validateGridAlignment(int columns, int rows) {
328
329
}
329
330
330
331
if (columns > 0) {
332
+
interrorLastLine = 0;
331
333
introwCount = 1;
332
334
for (Map.Entry<Integer, AtomicLong> entry : map.entrySet()) {
333
335
if (rowCount <= mapSize) {
334
336
intactualInARow = entry.getValue().intValue();
335
337
if (actualInARow != columns) {
336
-
putJsonDetailsWithoutElement(String.format("Elements in a grid are not aligned properly in row #%d. Expected %d elements in a row. Actually it's %d", rowCount, columns, actualInARow));
338
+
errorLastLine ++;
339
+
if (errorLastLine > 1) {
340
+
putJsonDetailsWithoutElement(String.format("Elements in a grid are not aligned properly in row #%d. Expected %d elements in a row. Actually it's %d", rowCount, columns, actualInARow));
0 commit comments