3日目 段階4 小澤
This commit is contained in:
@@ -60,6 +60,11 @@ public class StringCheck {
|
|||||||
public static boolean isTooLongInput(String text) {
|
public static boolean isTooLongInput(String text) {
|
||||||
return text.length() > 140;
|
return text.length() > 140;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public static boolean isTooLongInput(String text,int limmit) {
|
||||||
|
return text.length() > limmit;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user