Revision: 1570
Author: sberlin
Date: Thu Jun 30 13:40:10 2011
Log:
Minor whitespace tweaks again.
Revision created by MOE tool push_codebase.
MOE_MIGRATION=2463
http://code.google.com/p/google-guice/source/detail?r=1570
Modified:
/trunk/extensions/struts2/src/com/google/inject/struts2/Struts2Factory.java
/trunk/extensions/struts2/test/com/google/inject/struts2/Struts2FactoryTest.java
=======================================
---
/trunk/extensions/struts2/src/com/google/inject/struts2/Struts2Factory.java
Wed Dec 8 19:14:07 2010
+++
/trunk/extensions/struts2/src/com/google/inject/struts2/Struts2Factory.java
Thu Jun 30 13:40:10 2011
@@ -97,7 +97,7 @@
}
@Override @SuppressWarnings("unchecked")
- public Object buildBean(Class clazz, Map<String, Object> extraContext) {
+ public Object buildBean(Class clazz, Map<String, Object>extraContext) {
if (strutsInjector == null) {
synchronized (this) {
if (strutsInjector == null) {
=======================================
---
/trunk/extensions/struts2/test/com/google/inject/struts2/Struts2FactoryTest.java
Thu Dec 2 15:23:17 2010
+++
/trunk/extensions/struts2/test/com/google/inject/struts2/Struts2FactoryTest.java
Thu Jun 30 13:40:10 2011
@@ -39,22 +39,22 @@
public class Struts2FactoryTest extends TestCase {
private static final Date TODAY = new Date();
-
+
public static class TestListener extends GuiceServletContextListener {
private final Module module;
-
+
public TestListener(Module module) {
this.module = module;
}
-
+
@Override
protected Injector getInjector() {
return Guice.createInjector(
new Struts2GuicePluginModule(),
new ServletModule() {
@Override
- protected void configureServlets() {
+ protected void configureServlets() {
// Struts 2 setup
bind(StrutsPrepareAndExecuteFilter.class).in(Singleton.class);
filter("/*").through(StrutsPrepareAndExecuteFilter.class);
@@ -63,9 +63,9 @@
module
);
}
-
- }
-
+
+ }
+
public void testStruts2Factory() {
Struts2Factory s2Factory = new Struts2Factory();
TestListener testListener = new TestListener(new AbstractModule() {
--
You received this message because you are subscribed to the Google Groups
"google-guice-dev" group.
To post to this group, send email to google-guice-dev@googlegroups.com.
To unsubscribe from this group, send email to
google-guice-dev+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/google-guice-dev?hl=en.