Revision: 1188
Author: dhanji
Date: Mon Jul 5 19:06:36 2010
Log: limpbizkit review fixes for r1187
http://code.google.com/p/google-guice/source/detail?r=1188
Modified:
/trunk/servlet/src/com/google/inject/servlet/InternalServletModule.java
/trunk/servlet/test/com/google/inject/servlet/MultipleServletInjectorsTest.java
=======================================
--- /trunk/servlet/src/com/google/inject/servlet/InternalServletModule.java
Mon Jul 5 05:38:42 2010
+++ /trunk/servlet/src/com/google/inject/servlet/InternalServletModule.java
Mon Jul 5 19:06:36 2010
@@ -1,3 +1,18 @@
+/**
+ * Copyright (C) 2009 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package com.google.inject.servlet;
import com.google.inject.AbstractModule;
@@ -51,7 +66,8 @@
+ " warned that this MAY have unexpected behavior if you have
more"
+ " than one injector (with ServletModule) running in the same
JVM."
+ " Please consult the Guice documentation at"
- + " http://code.google.com/p/google-guice for more
information.");
+ + " http://code.google.com/p/google-guice/wiki/Servlets for more"
+ + " information.");
return GuiceFilter.getServletContext();
}
}
=======================================
---
/trunk/servlet/test/com/google/inject/servlet/MultipleServletInjectorsTest.java
Mon Jul 5 05:38:42 2010
+++
/trunk/servlet/test/com/google/inject/servlet/MultipleServletInjectorsTest.java
Mon Jul 5 19:06:36 2010
@@ -1,5 +1,18 @@
-// Copyright 2010 Google Inc. All Rights Reserved.
-
+/**
+ * Copyright (C) 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package com.google.inject.servlet;
import com.google.inject.Guice;
@@ -21,7 +34,7 @@
* This gorgeous test asserts that multiple servlet pipelines can
* run in the SAME JVM. booya.
*
- * @author [email protected] (Dhanji R. Prasanna)
+ * @author [email protected] (Dhanji R. Prasanna)
*/
public class MultipleServletInjectorsTest extends TestCase {
--
You received this message because you are subscribed to the Google Groups
"google-guice-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-guice-dev?hl=en.