Skip to content

Commit

Permalink
spotless apply for document chunking processor
Browse files Browse the repository at this point in the history
Signed-off-by: yuye-aws <[email protected]>
  • Loading branch information
yuye-aws committed Mar 7, 2024
1 parent fa8d9ea commit 57a3ef7
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,9 @@ private List<String> chunkString(String content) {
current_chunk_count += result.size();
if (max_chunk_limit != DEFAULT_MAX_CHUNK_LIMIT && current_chunk_count > max_chunk_limit) {
throw new IllegalArgumentException(
"Unable to create the processor as the number of chunks [" + current_chunk_count + "] exceeds the maximum chunk limit ["
"Unable to create the processor as the number of chunks ["
+ current_chunk_count
+ "] exceeds the maximum chunk limit ["
+ MAX_CHUNK_LIMIT_FIELD
+ "]"
);
Expand Down

0 comments on commit 57a3ef7

Please sign in to comment.