Delete CharacterCalculator.java

This commit is contained in:
Loredana Crusoveanu 2019-03-03 09:16:43 +02:00 committed by GitHub
parent 9611f5a5cf
commit 84c8c70dac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 15 deletions

View File

@ -1,15 +0,0 @@
package mocks;
public class CharacterCalculator {
public int countCharacterInString(String value, char characterToCount) {
int result = 0;
for (int i = 0; i < value.length(); i++) {
if (value.charAt(i) == characterToCount) {
result++;
}
}
return result;
}
}