package net.squanchy.search.engines;

import net.squanchy.schedule.domain.view.Event;

class TitleQuery implements Query {

    @Override
    public boolean matches(Event event, String query) {
        String normalizedQuery = StringNormalizer.normalize(query);
        String normalizedTitle = StringNormalizer.normalize(event.getTitle()g);

        return normalizedTitle.contains(normalizedQuery);
    }
}

@@ -331,17 +331,16 @@
 tTitle()
-g
 );%0A%0A    

Remove typo