| commit | 76fcd87487983f857eb8f7c040d2c71103bf662b | [log] [tgz] |
|---|---|---|
| author | Alex Ruiz <alruiz@google.com> | Fri Sep 09 10:39:49 2011 -0700 |
| committer | Alex Ruiz <alruiz@google.com> | Fri Sep 09 10:39:49 2011 -0700 |
| tree | 062baf7c8fec20fa9fa9c24def72a3ecfec07906 | |
| parent | ae298235a41884e760126b41ea2a2e73de9ca4e1 [diff] |
Code cleanup.
diff --git a/com.google.eclipse.protobuf.test/src/com/google/eclipse/protobuf/junit/stubs/protobuf/PackageStub.java b/com.google.eclipse.protobuf.test/src/com/google/eclipse/protobuf/junit/stubs/protobuf/PackageStub.java index 12895f5..87be946 100644 --- a/com.google.eclipse.protobuf.test/src/com/google/eclipse/protobuf/junit/stubs/protobuf/PackageStub.java +++ b/com.google.eclipse.protobuf.test/src/com/google/eclipse/protobuf/junit/stubs/protobuf/PackageStub.java
@@ -8,8 +8,6 @@ */ package com.google.eclipse.protobuf.junit.stubs.protobuf; -import java.lang.reflect.InvocationTargetException; - import org.eclipse.emf.common.notify.*; import org.eclipse.emf.common.util.*; import org.eclipse.emf.ecore.*; @@ -101,7 +99,7 @@ } /** {@inheritDoc} */ - public Object eInvoke(EOperation operation, EList<?> arguments) throws InvocationTargetException { + public Object eInvoke(EOperation operation, EList<?> arguments) { throw new UnsupportedOperationException(); }
diff --git a/com.google.eclipse.protobuf/src/com/google/eclipse/protobuf/validation/ProtobufJavaValidator.java b/com.google.eclipse.protobuf/src/com/google/eclipse/protobuf/validation/ProtobufJavaValidator.java index 2d3cc3f..9de1574 100644 --- a/com.google.eclipse.protobuf/src/com/google/eclipse/protobuf/validation/ProtobufJavaValidator.java +++ b/com.google.eclipse.protobuf/src/com/google/eclipse/protobuf/validation/ProtobufJavaValidator.java
@@ -34,10 +34,6 @@ @Inject private ImportUriResolver uriResolver; @Inject private IQualifiedNameProvider qualifiedNameProvider; @Inject private Properties properties; - @Inject private ModelNodes nodes; - - @Check public void checkComment(EObject o) { - } @Check public void checkDefaultValueType(FieldOption option) { if (!fieldOptions.isDefaultValueOption(option)) return;