Skip to content

Commit

Permalink
Rearranged slightly more logically.
Browse files Browse the repository at this point in the history
  • Loading branch information
DamonHD committed May 27, 2024
1 parent f1d1a0e commit 50676cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion javasrc/org/hd/d/statsHouse/feedHits/data/FeedStatus.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ public record FeedStatus(int hits, int bytes, String colTypes, List<Integer> col
if(bytes < 0) { throw new IllegalArgumentException(); }
Objects.nonNull(colTypes);
Objects.nonNull(cols);
if(cols.size() != colTypes.split(":").length) { throw new IllegalArgumentException("colTypes element count must match cols"); }
for(final int c : cols) { if(c < 0) { throw new IllegalArgumentException(); } }
Objects.nonNull(index);
if(cols.size() != colTypes.split(":").length) { throw new IllegalArgumentException("colTypes element count must match cols"); }
}

/**Charset for feed status data (ASCII 7-bit). */
Expand Down

0 comments on commit 50676cf

Please sign in to comment.