commit | 3d1f2de8f4bac3a15b9ea534a261b5c3d97745b4 | [log] [tgz] |
---|---|---|
author | Alex Ruiz <alruiz@google.com> | Mon Aug 29 11:51:00 2011 -0700 |
committer | Alex Ruiz <alruiz@google.com> | Mon Aug 29 11:51:00 2011 -0700 |
tree | 9497e4ba35dc74261a754eddbc692bb8af4f8b7e | |
parent | 4c5880d3339d76ebbc60a8c78318de5c8284d335 [diff] |
Fixed: [Issue 94] Importing "google/protobuf/descriptor.proto" does not work Fixed resolution of types from descriptor.proto to require FQNs.
diff --git a/com.google.eclipse.protobuf/src/com/google/eclipse/protobuf/scoping/ProtobufScopeProvider.java b/com.google.eclipse.protobuf/src/com/google/eclipse/protobuf/scoping/ProtobufScopeProvider.java index 9467c56..67accec 100644 --- a/com.google.eclipse.protobuf/src/com/google/eclipse/protobuf/scoping/ProtobufScopeProvider.java +++ b/com.google.eclipse.protobuf/src/com/google/eclipse/protobuf/scoping/ProtobufScopeProvider.java
@@ -149,9 +149,6 @@ if (!targetType.isInstance(t)) continue; T type = targetType.cast(t); descriptions.addAll(fullyQualifiedNamesOf(type)); - for (QualifiedName name : importedNamesProvider.namesOf(type)) { - descriptions.add(create(name, type)); - } } return descriptions; }