Skip to content

Commit

Permalink
New package name for version 2.
Browse files Browse the repository at this point in the history
JakeWharton committed Dec 5, 2015
1 parent fe7dba2 commit 138e2bd
Showing 120 changed files with 328 additions and 333 deletions.
2 changes: 1 addition & 1 deletion checkstyle.xml
Original file line number Diff line number Diff line change
@@ -32,7 +32,7 @@
<module name="LocalVariableName"/>
<module name="MemberName"/>
<module name="MethodName"/>
<module name="PackageName"/>
<!--<module name="PackageName"/>-->
<module name="ParameterName"/>
<module name="StaticVariableName"/>
<module name="TypeName"/>
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@
<version>7</version>
</parent>

<groupId>com.squareup.retrofit</groupId>
<groupId>com.squareup.retrofit2</groupId>
<artifactId>parent</artifactId>
<version>2.0.0-SNAPSHOT</version>
<packaging>pom</packaging>
2 changes: 1 addition & 1 deletion retrofit-adapters/pom.xml
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>com.squareup.retrofit</groupId>
<groupId>com.squareup.retrofit2</groupId>
<artifactId>parent</artifactId>
<version>2.0.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
8 changes: 4 additions & 4 deletions retrofit-adapters/rxjava-mock/pom.xml
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>com.squareup.retrofit</groupId>
<groupId>com.squareup.retrofit2</groupId>
<artifactId>retrofit-adapters</artifactId>
<version>2.0.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
@@ -15,17 +15,17 @@

<dependencies>
<dependency>
<groupId>com.squareup.retrofit</groupId>
<groupId>${project.groupId}</groupId>
<artifactId>retrofit</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.squareup.retrofit</groupId>
<groupId>${project.groupId}</groupId>
<artifactId>retrofit-mock</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.squareup.retrofit</groupId>
<groupId>${project.groupId}</groupId>
<artifactId>adapter-rxjava</artifactId>
<version>${project.version}</version>
</dependency>
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package retrofit.mock;
package retrofit2.mock;

import rx.Observable;
import rx.functions.Func1;
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package retrofit.mock;
package retrofit2.mock;

import rx.Observable;
import rx.Single;
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package retrofit.mock;
package retrofit2.mock;

import java.util.Random;
import java.util.concurrent.CountDownLatch;
4 changes: 2 additions & 2 deletions retrofit-adapters/rxjava/pom.xml
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>com.squareup.retrofit</groupId>
<groupId>com.squareup.retrofit2</groupId>
<artifactId>retrofit-adapters</artifactId>
<version>2.0.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
@@ -15,7 +15,7 @@

<dependencies>
<dependency>
<groupId>com.squareup.retrofit</groupId>
<groupId>${project.groupId}</groupId>
<artifactId>retrofit</artifactId>
<version>${project.version}</version>
</dependency>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package retrofit;
package retrofit2;

/** Exception for an unexpected, non-2xx HTTP response. */
public final class HttpException extends Exception {
Original file line number Diff line number Diff line change
@@ -13,11 +13,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package retrofit;
package retrofit2;

import java.io.IOException;

import static retrofit.Utils.checkNotNull;
import static retrofit2.Utils.checkNotNull;

/** The result of executing an HTTP request. */
public final class Result<T> {
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package retrofit;
package retrofit2;

import java.lang.annotation.Annotation;
import java.lang.reflect.ParameterizedType;
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package retrofit;
package retrofit2;

import java.lang.reflect.Type;
import rx.Observable;
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package retrofit;
package retrofit2;

import java.io.IOException;
import org.junit.Test;
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package retrofit;
package retrofit2;

import com.google.common.reflect.TypeToken;
import com.squareup.okhttp.MediaType;
@@ -28,7 +28,7 @@
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import retrofit.http.GET;
import retrofit2.http.GET;
import rx.Observable;
import rx.Single;
import rx.observables.BlockingObservable;
4 changes: 2 additions & 2 deletions retrofit-converters/gson/pom.xml
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>com.squareup.retrofit</groupId>
<groupId>com.squareup.retrofit2</groupId>
<artifactId>retrofit-converters</artifactId>
<version>2.0.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
@@ -15,7 +15,7 @@

<dependencies>
<dependency>
<groupId>com.squareup.retrofit</groupId>
<groupId>${project.groupId}</groupId>
<artifactId>retrofit</artifactId>
<version>${project.version}</version>
</dependency>
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package retrofit;
package retrofit2;

import com.google.gson.Gson;
import com.google.gson.TypeAdapter;
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package retrofit;
package retrofit2;

import com.google.gson.Gson;
import com.google.gson.TypeAdapter;
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package retrofit;
package retrofit2;

import com.google.gson.TypeAdapter;
import com.squareup.okhttp.ResponseBody;
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package retrofit;
package retrofit2;

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
@@ -28,8 +28,8 @@
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import retrofit.http.Body;
import retrofit.http.POST;
import retrofit2.http.Body;
import retrofit2.http.POST;

import static org.assertj.core.api.Assertions.assertThat;

4 changes: 2 additions & 2 deletions retrofit-converters/jackson/pom.xml
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>com.squareup.retrofit</groupId>
<groupId>com.squareup.retrofit2</groupId>
<artifactId>retrofit-converters</artifactId>
<version>2.0.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
@@ -15,7 +15,7 @@

<dependencies>
<dependency>
<groupId>com.squareup.retrofit</groupId>
<groupId>${project.groupId}</groupId>
<artifactId>retrofit</artifactId>
<version>${project.version}</version>
</dependency>
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package retrofit;
package retrofit2;

import com.fasterxml.jackson.databind.JavaType;
import com.fasterxml.jackson.databind.ObjectMapper;
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package retrofit;
package retrofit2;

import com.fasterxml.jackson.databind.ObjectWriter;
import com.squareup.okhttp.MediaType;
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package retrofit;
package retrofit2;

import com.fasterxml.jackson.databind.ObjectReader;
import com.squareup.okhttp.ResponseBody;
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package retrofit;
package retrofit2;

import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.core.JsonGenerator;
@@ -33,8 +33,8 @@
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import retrofit.http.Body;
import retrofit.http.POST;
import retrofit2.http.Body;
import retrofit2.http.POST;

import static org.assertj.core.api.Assertions.assertThat;

4 changes: 2 additions & 2 deletions retrofit-converters/moshi/pom.xml
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>com.squareup.retrofit</groupId>
<groupId>com.squareup.retrofit2</groupId>
<artifactId>retrofit-converters</artifactId>
<version>2.0.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
@@ -15,7 +15,7 @@

<dependencies>
<dependency>
<groupId>com.squareup.retrofit</groupId>
<groupId>${project.groupId}</groupId>
<artifactId>retrofit</artifactId>
<version>${project.version}</version>
</dependency>
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package retrofit;
package retrofit2;

import com.squareup.moshi.JsonAdapter;
import com.squareup.moshi.Moshi;
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package retrofit;
package retrofit2;

import com.squareup.moshi.JsonAdapter;
import com.squareup.okhttp.MediaType;
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package retrofit;
package retrofit2;

import com.squareup.moshi.JsonAdapter;
import com.squareup.okhttp.ResponseBody;
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package retrofit;
package retrofit2;

import com.squareup.moshi.FromJson;
import com.squareup.moshi.JsonReader;
@@ -27,8 +27,8 @@
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import retrofit.http.Body;
import retrofit.http.POST;
import retrofit2.http.Body;
import retrofit2.http.POST;

import static org.assertj.core.api.Assertions.assertThat;

2 changes: 1 addition & 1 deletion retrofit-converters/pom.xml
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>com.squareup.retrofit</groupId>
<groupId>com.squareup.retrofit2</groupId>
<artifactId>parent</artifactId>
<version>2.0.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
4 changes: 2 additions & 2 deletions retrofit-converters/protobuf/pom.xml
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>com.squareup.retrofit</groupId>
<groupId>com.squareup.retrofit2</groupId>
<artifactId>retrofit-converters</artifactId>
<version>2.0.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
@@ -15,7 +15,7 @@

<dependencies>
<dependency>
<groupId>com.squareup.retrofit</groupId>
<groupId>${project.groupId}</groupId>
<artifactId>retrofit</artifactId>
<version>${project.version}</version>
</dependency>
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package retrofit;
package retrofit2;

import com.google.protobuf.MessageLite;
import com.google.protobuf.Parser;
Loading

0 comments on commit 138e2bd

Please sign in to comment.