diff --git a/app/src/main/java/ch/nuth/zhaw/exbox/FuzzySearchServer.java b/app/src/main/java/ch/nuth/zhaw/exbox/FuzzySearchServer.java index 53a4b92..a1d9bd9 100644 --- a/app/src/main/java/ch/nuth/zhaw/exbox/FuzzySearchServer.java +++ b/app/src/main/java/ch/nuth/zhaw/exbox/FuzzySearchServer.java @@ -48,7 +48,7 @@ public class FuzzySearchServer implements CommandExecutor { name = nomalize(name); // TODO implement - for (int i = 0; i < name.length() - 3; i++) { + for (int i = 0; i <= name.length() - 3; i++) { result.add(name.substring(i, i + 3)); }