Skip to content

Commit

Permalink
New package name for version 2.
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeWharton committed Dec 5, 2015
1 parent fe7dba2 commit 138e2bd
Show file tree
Hide file tree
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
Expand Up @@ -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"/>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion retrofit-adapters/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
8 changes: 4 additions & 4 deletions retrofit-adapters/rxjava-mock/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions retrofit-adapters/rxjava/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -15,7 +15,7 @@

<dependencies>
<dependency>
<groupId>com.squareup.retrofit</groupId>
<groupId>${project.groupId}</groupId>
<artifactId>retrofit</artifactId>
<version>${project.version}</version>
</dependency>
Expand Down
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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions retrofit-converters/gson/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -15,7 +15,7 @@

<dependencies>
<dependency>
<groupId>com.squareup.retrofit</groupId>
<groupId>${project.groupId}</groupId>
<artifactId>retrofit</artifactId>
<version>${project.version}</version>
</dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;

Expand Down
4 changes: 2 additions & 2 deletions retrofit-converters/jackson/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -15,7 +15,7 @@

<dependencies>
<dependency>
<groupId>com.squareup.retrofit</groupId>
<groupId>${project.groupId}</groupId>
<artifactId>retrofit</artifactId>
<version>${project.version}</version>
</dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;

Expand Down
4 changes: 2 additions & 2 deletions retrofit-converters/moshi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -15,7 +15,7 @@

<dependencies>
<dependency>
<groupId>com.squareup.retrofit</groupId>
<groupId>${project.groupId}</groupId>
<artifactId>retrofit</artifactId>
<version>${project.version}</version>
</dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion retrofit-converters/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
4 changes: 2 additions & 2 deletions retrofit-converters/protobuf/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -15,7 +15,7 @@

<dependencies>
<dependency>
<groupId>com.squareup.retrofit</groupId>
<groupId>${project.groupId}</groupId>
<artifactId>retrofit</artifactId>
<version>${project.version}</version>
</dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Loading

0 comments on commit 138e2bd

Please sign in to comment.