diff options
author | kevinb9n <kevinb9n@d779f126-a31b-0410-b53b-1d3aecad763e> | 2007-02-28 22:54:06 +0000 |
---|---|---|
committer | kevinb9n <kevinb9n@d779f126-a31b-0410-b53b-1d3aecad763e> | 2007-02-28 22:54:06 +0000 |
commit | 27f8a58ed9075879d22844647bff806dd4ed9b5c (patch) | |
tree | 3058b4d372e4c33ba4d43d3293e9e5b7cb3086ea /struts2 | |
parent | 57b8d5a74c3116421248a32dbe05ae3cd7d19f75 (diff) | |
download | guice-27f8a58ed9075879d22844647bff806dd4ed9b5c.tar.gz |
Re-add the Injector.getInstance() methods which were removed frankly by mistake.
git-svn-id: https://google-guice.googlecode.com/svn/trunk@244 d779f126-a31b-0410-b53b-1d3aecad763e
Diffstat (limited to 'struts2')
-rw-r--r-- | struts2/plugin/src/com/google/inject/struts2/GuiceObjectFactory.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/struts2/plugin/src/com/google/inject/struts2/GuiceObjectFactory.java b/struts2/plugin/src/com/google/inject/struts2/GuiceObjectFactory.java index 2730c013..613e84d1 100644 --- a/struts2/plugin/src/com/google/inject/struts2/GuiceObjectFactory.java +++ b/struts2/plugin/src/com/google/inject/struts2/GuiceObjectFactory.java @@ -117,7 +117,7 @@ public class GuiceObjectFactory extends ObjectFactory { } } - return injector.getProvider(clazz).get(); + return injector.getInstance(clazz); } public Interceptor buildInterceptor(InterceptorConfig interceptorConfig, |