mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-23 04:20:16 +08:00
style: enable TypeName
(#5214)
* style: enable `TypeName` in checkstyle * style: enable `TypeName` in checkstyle * Update directory * style: use proper formatting --------- Co-authored-by: StarDxxx <StarDxxx@users.noreply.github.com> Co-authored-by: Piotr Idzik <65706193+vil02@users.noreply.github.com>
This commit is contained in:
@ -2,8 +2,8 @@ package com.thealgorithms.strings;
|
||||
|
||||
import java.util.HashMap;
|
||||
|
||||
final class longestNonRepeativeSubstring {
|
||||
private longestNonRepeativeSubstring() {
|
||||
final class LongestNonRepeativeSubstring {
|
||||
private LongestNonRepeativeSubstring() {
|
||||
}
|
||||
|
||||
public static int lengthOfLongestSubstring(String s) {
|
@ -1,7 +1,7 @@
|
||||
package com.thealgorithms.strings.zigZagPattern;
|
||||
|
||||
final class zigZagPattern {
|
||||
private zigZagPattern() {
|
||||
final class ZigZagPattern {
|
||||
private ZigZagPattern() {
|
||||
}
|
||||
|
||||
public static String encode(String s, int numRows) {
|
Reference in New Issue
Block a user