Update CountWords.java
Cleaning the code
This commit is contained in:
parent
a60cb58be8
commit
3a8ab829a8
@ -44,7 +44,5 @@ public class CountWords {
|
|||||||
}
|
}
|
||||||
s = sb.toString();
|
s = sb.toString();
|
||||||
return s.trim().split("[\\s]+").length;
|
return s.trim().split("[\\s]+").length;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user