Skip to content

Commit

Permalink
Merge pull request Azure#24 from Azure/revert-23-master
Browse files Browse the repository at this point in the history
Revert "Changes from AutoRest & SDK"
  • Loading branch information
jianghaolu authored Jul 18, 2016
2 parents 910cf5a + 06e3169 commit e4d8dda
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 148 deletions.
8 changes: 4 additions & 4 deletions azure-client-authentication/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ version = '1.0.0-SNAPSHOT'

checkstyle {
toolVersion = "6.18"
configFile = new File("$rootDir/src/client/Java/build-tools/src/main/resources/checkstyle.xml")
configProperties = [samedir: "$rootDir/src/client/Java/build-tools/src/main/resources"]
reportsDir = new File("$rootDir/src/client/Java/build-tools/reports")
configFile = new File("$rootDir/ClientRuntimes/Java/build-tools/src/main/resources/checkstyle.xml")
configProperties = [samedir: "$rootDir/ClientRuntimes/Java/build-tools/src/main/resources"]
reportsDir = new File("$rootDir/ClientRuntimes/Java/build-tools/reports")
}

dependencies {
Expand Down Expand Up @@ -92,7 +92,7 @@ artifacts {

test {
reports.getHtml()
reports.html.destination = file("$rootDir/TestResults/JavaAzureRuntime")
reports.html.destination = file("${projectDir}/../../../TestResults/JavaAzureRuntime")
}

tasks.compileJava.dependsOn 'clean'
8 changes: 4 additions & 4 deletions azure-client-runtime/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ version = '1.0.0-SNAPSHOT'

checkstyle {
toolVersion = "6.18"
configFile = new File("$rootDir/src/client/Java/build-tools/src/main/resources/checkstyle.xml")
configProperties = [samedir: "$rootDir/src/client/Java/build-tools/src/main/resources"]
reportsDir = new File("$rootDir/src/client/Java/build-tools/reports")
configFile = new File("$rootDir/ClientRuntimes/Java/build-tools/src/main/resources/checkstyle.xml")
configProperties = [samedir: "$rootDir/ClientRuntimes/Java/build-tools/src/main/resources"]
reportsDir = new File("$rootDir/ClientRuntimes/Java/build-tools/reports")
}

dependencies {
Expand Down Expand Up @@ -90,7 +90,7 @@ artifacts {

test {
reports.getHtml()
reports.html.destination = file("$rootDir/TestResults/JavaAzureRuntime")
reports.html.destination = file("${projectDir}/../../../TestResults/JavaAzureRuntime")
}

tasks.compileJava.dependsOn 'clean'
1 change: 1 addition & 0 deletions build-tools/src/main/resources/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@
-->

<module name="FinalClass"/>
<module name="HideUtilityClassConstructor"/>
<module name="InterfaceIsType"/>
<module name="VisibilityModifier">
<property name="protectedAllowed" value="true"/>
Expand Down
8 changes: 4 additions & 4 deletions client-runtime/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ version = '1.0.0-SNAPSHOT'

checkstyle {
toolVersion = "6.18"
configFile = new File("$rootDir/src/client/Java/build-tools/src/main/resources/checkstyle.xml")
configProperties = [samedir: "$rootDir/src/client/Java/build-tools/src/main/resources"]
reportsDir = new File("$rootDir/src/client/Java/build-tools/reports")
configFile = new File("$rootDir/ClientRuntimes/Java/build-tools/src/main/resources/checkstyle.xml")
configProperties = [samedir: "$rootDir/ClientRuntimes/Java/build-tools/src/main/resources"]
reportsDir = new File("$rootDir/ClientRuntimes/Java/build-tools/reports")
}

dependencies {
Expand Down Expand Up @@ -99,7 +99,7 @@ artifacts {

test {
reports.getHtml()
reports.html.destination = file("$rootDir/TestResults/JavaRuntime")
reports.html.destination = file("${projectDir}/../../../TestResults/JavaRuntime")
}

tasks.compileJava.dependsOn 'clean'
Expand Down
94 changes: 0 additions & 94 deletions client-runtime/src/main/java/com/microsoft/rest/Base64Url.java

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,6 @@ protected ServiceClient(String baseUrl) {
/**
* Initializes a new instance of the ServiceClient class.
*
* @param baseUrl the service base uri
* @param clientBuilder the http client builder
* @param restBuilder the retrofit rest client builder
*/
protected ServiceClient(String baseUrl, OkHttpClient.Builder clientBuilder, Retrofit.Builder restBuilder) {
if (clientBuilder == null) {
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ protected void initializeObjectMapper(ObjectMapper mapper) {
.setSerializationInclusion(JsonInclude.Include.NON_NULL)
.registerModule(new JodaModule())
.registerModule(ByteArraySerializer.getModule())
.registerModule(Base64UrlSerializer.getModule())
.registerModule(DateTimeSerializer.getModule())
.registerModule(DateTimeRfc1123Serializer.getModule())
.registerModule(HeadersSerializer.getModule());
Expand Down

0 comments on commit e4d8dda

Please sign in to comment.