Code cleanup.
diff --git a/com.google.eclipse.protobuf.junit/src/com/google/eclipse/protobuf/junit/Finder.java b/com.google.eclipse.protobuf.junit/src/com/google/eclipse/protobuf/junit/Finder.java index e90e253..a12d595 100644 --- a/com.google.eclipse.protobuf.junit/src/com/google/eclipse/protobuf/junit/Finder.java +++ b/com.google.eclipse.protobuf.junit/src/com/google/eclipse/protobuf/junit/Finder.java
@@ -27,8 +27,7 @@ } public static Property findProperty(String name, Protobuf root) { - List<Property> proeperties = getAllContentsOfType(root, Property.class); - for (Property property : proeperties) + for (Property property : allProperties(root)) if (name.equals(property.getName())) return property; return null; }