Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit353dc7b

Browse files
fix build
1 parentec87dec commit353dc7b

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

‎src/main/java/com/fishercoder/solutions/_1071.java

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -62,17 +62,6 @@ private boolean isDivisor(String str2, int length) {
6262
returntrue;
6363
}
6464

65-
privateintnextPossibleLength(Stringstr2,intbound) {
66-
if (bound <=0) {
67-
return -1;
68-
}
69-
intlen =bound;
70-
while (str2.length() %len !=0) {
71-
len--;
72-
}
73-
returnlen;
74-
}
75-
7665
privatebooleanisDivisor(Stringstr1,StringcommomDivisor) {
7766
if (str1.length() ==commomDivisor.length()) {
7867
returnstr1.equals(commomDivisor);
@@ -86,5 +75,15 @@ private boolean isDivisor(String str1, String commomDivisor) {
8675
returni == (str1.length() -commomDivisor.length());
8776
}
8877

78+
privateintnextPossibleLength(Stringstr2,intbound) {
79+
if (bound <=0) {
80+
return -1;
81+
}
82+
intlen =bound;
83+
while (str2.length() %len !=0) {
84+
len--;
85+
}
86+
returnlen;
87+
}
8988
}
9089
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp