mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-09 20:20:56 +08:00
Merge pull request #1123 from UntouchedOdin0/patch-6
Update CountWords.java
This commit is contained in:
@ -44,7 +44,5 @@ public class CountWords {
|
||||
}
|
||||
s = sb.toString();
|
||||
return s.trim().split("[\\s]+").length;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user