Skip to content

Commit ced0efb

Browse files
author
Alex Klymenko
committed
checkstyle: fix formatting
1 parent a12ae61 commit ced0efb

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/main/java/com/thealgorithms/strings/AhoCorasick.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -200,15 +200,15 @@ private void setUpStartPoints(List<List<Integer>> positionByStringIndexValue) {
200200

201201
// Class to handle pattern position recording
202202
private record PatternPositionRecorder(List<List<Integer>> positionByStringIndexValue) {
203-
// Constructor to initialize the recorder with the position list
204-
205-
/**
206-
* Records positions for a pattern when it's found in the input text and follows
207-
* output links to record positions of other patterns.
208-
*
209-
* @param parent The current node representing a character in the pattern trie.
210-
* @param currentPosition The current position in the input text.
211-
*/
203+
// Constructor to initialize the recorder with the position list
204+
205+
/**
206+
* Records positions for a pattern when it's found in the input text and follows
207+
* output links to record positions of other patterns.
208+
*
209+
* @param parent The current node representing a character in the pattern trie.
210+
* @param currentPosition The current position in the input text.
211+
*/
212212
public void recordPatternPositions(final Node parent, final int currentPosition) {
213213
// Check if the current node represents the end of a pattern
214214
if (parent.getPatternInd() > -1) {

0 commit comments

Comments
 (0)