| commit | 4b16ea1dd6859bde10820bf183ace6d5fa08876d | [log] [tgz] |
|---|---|---|
| author | Alex Ruiz <alruiz@google.com> | Wed Apr 27 00:45:31 2011 +0000 |
| committer | Alex Ruiz <alruiz@google.com> | Wed Apr 27 00:45:31 2011 +0000 |
| tree | 958ec11cc3f3f1ea4e64a5ea3973e94b22c5e389 | |
| parent | d2af452bdd68f745f98349e9030b4631264df679 [diff] |
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; }