Hi, This code doesn't seem to compile. I can't seem to figure out what's wrong with it. The error I get is: cannot find symbol - method contains (java.lang.string)
public void getName (String name) {
for (olympian filename: Olympians) {
if (filename.contains(name)) {
System.out.println(filename);
}
else {
System.out.println("Nothing found");
}
}
}