Skip to content

Commit bfee1bb

Browse files
fix: correct package and test structure for StringRotation
1 parent 08fa4a9 commit bfee1bb

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
11
package com.thealgorithms.strings;
22

3-
/**
4-
* Checks if one string is a rotation of another string.
5-
*/
63
public class StringRotation {
74

85
/**
9-
* Checks if str2 is a rotation of str1.
10-
*
6+
* Checks if str2 is a rotation of str1
117
* @param str1 Original string
128
* @param str2 String to check for rotation
139
* @return true if str2 is a rotation of str1, false otherwise

0 commit comments

Comments
 (0)