Update references in code & configuration to point to github instead of
googlecode.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=70898906
diff --git a/build.xml b/build.xml
index 16f3c55..a0f117a 100644
--- a/build.xml
+++ b/build.xml
@@ -169,10 +169,10 @@
docletpath="${jdiff.home}/jdiff.jar${path.separator}${jdiff.home}/xerces.jar"
maxmemory="512M"
sourcefiles="${jdiff.home}/Null.java"
- classpath="lib/javax.inject.jar${path.separator}lib/aopalliance.jar${path.separator}lib/guava-16.0.1.jar">
+ classpath="lib/javax.inject.jar${path.separator}lib/aopalliance.jar${path.separator}lib/guava-16.0.1.jar">
<doclet name="jdiff.JDiff">
<param name="-oldapi" value="${old.api}"/>
- <param name="-oldapidir" value="latest-api-diffs"/>
+ <param name="-oldapidir" value="latest-api-diffs"/>
<param name="-javadocold" value="http://google.github.io/guice/api-docs/${old.api}/javadoc/"/>
<param name="-newapi" value="${new.api}"/>
<param name="-newapidir" value="${jdiff.tmp}"/>
@@ -286,5 +286,5 @@
<ant dir="extensions/grapher" antfile="build.xml" target="clean"/>
<ant dir="extensions/testlib" antfile="build.xml" target="clean"/>
</target>
-
+
</project>
diff --git a/common.xml b/common.xml
index a160759..6be7db6 100644
--- a/common.xml
+++ b/common.xml
@@ -35,8 +35,8 @@
<property name="Bundle-SymbolicName" value="${module}"/>
<property name="Bundle-Version" value="${replace;${version};^[^0-9];0.0.0.$0}"/>
- <property name="Bundle-Description" value="Guice is a lightweight dependency injection framework for Java 5 and above"/>
- <property name="Bundle-DocURL" value="http://code.google.com/p/google-guice/"/>
+ <property name="Bundle-Description" value="Guice is a lightweight dependency injection framework for Java 6 and above"/>
+ <property name="Bundle-DocURL" value="https://github.com/google/guice"/>
<property name="Bundle-Copyright" value="Copyright (C) 2006 Google Inc."/>
<property name="Bundle-License" value="http://www.apache.org/licenses/LICENSE-2.0.txt"/>
<property name="Bundle-RequiredExecutionEnvironment" value="JavaSE-1.6"/>
diff --git a/core/test/com/google/inject/BinderTest.java b/core/test/com/google/inject/BinderTest.java
index 536d34e..fb8f2c5 100644
--- a/core/test/com/google/inject/BinderTest.java
+++ b/core/test/com/google/inject/BinderTest.java
@@ -360,7 +360,7 @@
/**
* See issue 614, Problem One
- * http://code.google.com/p/google-guice/issues/detail?id=614
+ * https://github.com/google/guice/issues/614
*/
public void testJitDependencyDoesntBlockOtherExplicitBindings() {
Injector injector = Guice.createInjector(new AbstractModule() {
@@ -377,7 +377,7 @@
/**
* See issue 614, Problem Two
- * http://code.google.com/p/google-guice/issues/detail?id=614
+ * https://github.com/google/guice/issues/id=614
*/
public void testJitDependencyCanUseExplicitDependencies() {
Guice.createInjector(new AbstractModule() {
diff --git a/core/test/com/google/inject/ImplicitBindingTest.java b/core/test/com/google/inject/ImplicitBindingTest.java
index d1b0b45..601d632 100644
--- a/core/test/com/google/inject/ImplicitBindingTest.java
+++ b/core/test/com/google/inject/ImplicitBindingTest.java
@@ -225,7 +225,7 @@
static class JitValid2 {}
/**
- * Regression test for http://code.google.com/p/google-guice/issues/detail?id=319
+ * Regression test for https://github.com/google/guice/issues/319
*
* The bug is that a class that asks for a provider for itself during injection time,
* where any one of the other types required to fulfill the object creation was bound
diff --git a/extensions/assistedinject/src/com/google/inject/assistedinject/Parameter.java b/extensions/assistedinject/src/com/google/inject/assistedinject/Parameter.java
index bde7427..717d29c 100644
--- a/extensions/assistedinject/src/com/google/inject/assistedinject/Parameter.java
+++ b/extensions/assistedinject/src/com/google/inject/assistedinject/Parameter.java
@@ -116,7 +116,7 @@
* appropriate for testing if a key is bound and not for injecting.
*
* See Guice bug 125,
- * http://code.google.com/p/google-guice/issues/detail?id=125
+ * https://github.com/google/guice/issues/125
*/
public Key<?> fixAnnotations(Key<?> key) {
return key.getAnnotation() == null
diff --git a/extensions/persist/src/com/google/inject/persist/Transactional.java b/extensions/persist/src/com/google/inject/persist/Transactional.java
index 02526b4..9a8bbfb 100644
--- a/extensions/persist/src/com/google/inject/persist/Transactional.java
+++ b/extensions/persist/src/com/google/inject/persist/Transactional.java
@@ -24,7 +24,8 @@
/**
* <p> Any method or class marked with this annotation will be considered for transactionality.
- * Consult the documentation on http://code.google.com/p/google-guice for detailed semantics.
+ * Consult the documentation on https://github.com/google/guice/wiki/GuicePersist for detailed
+ * semantics.
* Marking a method {@code @Transactional} will start a new transaction before the method
* executes and commit it after the method returns.
* <p>
diff --git a/extensions/servlet/src/com/google/inject/servlet/InternalServletModule.java b/extensions/servlet/src/com/google/inject/servlet/InternalServletModule.java
index 046b8b6..4b234ba 100644
--- a/extensions/servlet/src/com/google/inject/servlet/InternalServletModule.java
+++ b/extensions/servlet/src/com/google/inject/servlet/InternalServletModule.java
@@ -72,7 +72,7 @@
+ " 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/wiki/Servlets for more"
+ + " https://github.com/google/guice/wiki/Servlets for more"
+ " information.");
return GuiceFilter.getServletContext();
}
diff --git a/extensions/servlet/src/com/google/inject/servlet/ServletDefinition.java b/extensions/servlet/src/com/google/inject/servlet/ServletDefinition.java
index 02a2acd..3b5aea8 100644
--- a/extensions/servlet/src/com/google/inject/servlet/ServletDefinition.java
+++ b/extensions/servlet/src/com/google/inject/servlet/ServletDefinition.java
@@ -209,7 +209,7 @@
int servletPathLength = servletPath.length();
String requestUri = getRequestURI();
pathInfo = requestUri.substring(getContextPath().length()).replaceAll("[/]{2,}", "/");
- // See: http://code.google.com/p/google-guice/issues/detail?id=372
+ // See: https://github.com/google/guice/issues/372
if (pathInfo.startsWith(servletPath)) {
pathInfo = pathInfo.substring(servletPathLength);
// Corner case: when servlet path & request path match exactly (without trailing '/'),
diff --git a/pom.xml b/pom.xml
index dece81f..9f63317 100644
--- a/pom.xml
+++ b/pom.xml
@@ -32,10 +32,10 @@
<name>Google Guice</name>
<description>
- Guice is a lightweight dependency injection framework for Java 5 and above
+ Guice is a lightweight dependency injection framework for Java 6 and above
</description>
- <url>http://code.google.com/p/google-guice/</url>
+ <url>https://github.com/google/guice</url>
<inceptionYear>2006</inceptionYear>
<organization>
@@ -61,19 +61,19 @@
</mailingLists>
<scm>
- <connection>scm:git:https://code.google.com/p/google-guice/</connection>
- <developerConnection>scm:git:https://code.google.com/p/google-guice/</developerConnection>
- <url>https://code.google.com/p/google-guice/</url>
+ <connection>scm:git:git://github.com/google/guice.git</connection>
+ <developerConnection>scm:git:ssh://git@github.com/google/guice.git</developerConnection>
+ <url>https://github.com/google/guice</url>
</scm>
<issueManagement>
<system>Google Code</system>
- <url>http://code.google.com/p/google-guice/issues/</url>
+ <url>https://github.com/google/guice/issues/</url>
</issueManagement>
<ciManagement>
- <system>Hudson</system>
- <url>https://grid.sonatype.org/ci/job/google-guice/</url>
+ <system>Travis</system>
+ <url>https://travis-ci.org/google/guice</url>
</ciManagement>
<licenses>
@@ -242,7 +242,7 @@
<module>com.google.inject</module>
<_include>-${project.basedir}/build.properties</_include>
<Bundle-Copyright>Copyright (C) 2006 Google Inc.</Bundle-Copyright>
- <Bundle-DocURL>http://code.google.com/p/google-guice/</Bundle-DocURL>
+ <Bundle-DocURL>https://github.com/google/guice</Bundle-DocURL>
<Bundle-Name>${project.artifactId}</Bundle-Name>
<Bundle-SymbolicName>$(module)</Bundle-SymbolicName>
<Bundle-RequiredExecutionEnvironment>