Skip to content

Commit

Permalink
Add final to variable
Browse files Browse the repository at this point in the history
Co-authored-by: Carly-1 <[email protected]>
  • Loading branch information
mvanaken and Carly-1 authored Feb 6, 2024
1 parent be1c5c7 commit 504572f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public void concatenatedValueSourceRead() {
new Random().nextBytes(bytes);

// Split the data in separate CoreValues.
int parts = 4;
final int parts = 4;
ImmutableList<Value> values = new ImmutableList<>();
for (int part = 0; part < parts; part++) {
values = values.add(new CoreValue(Slice.createFromBytes(Arrays.copyOfRange(bytes, (arraySize / parts) * part, (arraySize / parts) * (part + 1))), Encoding.DEFAULT_ENCODING));
Expand Down

0 comments on commit 504572f

Please sign in to comment.