Skip to content

Commit 99612c0

Browse files
authored
fixed #474 by removing @Inject annotation (#475)
1 parent eca6e41 commit 99612c0

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

plugins/com.gwtplugins.gdt.eclipse.suite/META-INF/MANIFEST.MF

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,5 @@ Require-Bundle:
4141
org.eclipse.equinox.common,
4242
system.bundle,
4343
org.eclipse.core.runtime,
44-
com.gwtplugins.gdt.eclipse.apiclientlib,
45-
javax.inject;bundle-version="1.0.0"
44+
com.gwtplugins.gdt.eclipse.apiclientlib
4645
Import-Package: org.eclipse.core.runtime.preferences

plugins/com.gwtplugins.gdt.eclipse.suite/src/com/google/gdt/eclipse/suite/wizards/WebAppProjectCreator.java

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,6 @@
8383
import java.util.Arrays;
8484
import java.util.List;
8585

86-
import javax.inject.Inject;
87-
8886
/**
8987
* Web application project creator.
9088
*/
@@ -387,6 +385,7 @@ private void setGwtSdk(Sdk gwtSdk) {
387385
this.gwtSdk = gwtSdk;
388386
}
389387

388+
@Override
390389
public Sdk getGwtSdk() {
391390
return gwtSdk;
392391
}
@@ -409,11 +408,6 @@ private void includeExtensionPartipants() throws CoreException {
409408
}
410409
}
411410

412-
@Inject
413-
public void doSomething(IExtensionRegistry registry) {
414-
registry.getConfigurationElementsFor("com.gwtplugins.gdt.eclipse.suite.webAppCreatorParticipant");
415-
}
416-
417411
public List<IPath> getContainerPaths() {
418412
return containerPaths;
419413
}

0 commit comments

Comments
 (0)