Skip to content

Commit be8e215

Browse files
committed
Avoiding star import
* As it is forbidden in Checkstyle config. To make build pass.
1 parent d08b805 commit be8e215

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

build.gradle

+2
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ checkstyle {
8585
toolVersion = "6.13"
8686
}
8787

88+
checkstyleMain.source = "src/main/java"
89+
8890
tasks.withType(JavaCompile) {
8991
options.compilerArgs += ["-Xlint:-options"]
9092
}

src/main/java/com/cdancy/bitbucket/rest/features/BranchApi.java

+8-4
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,17 @@
2828
import org.jclouds.rest.annotations.Payload;
2929
import org.jclouds.rest.annotations.PayloadParam;
3030
import org.jclouds.rest.annotations.RequestFilters;
31-
3231
import org.jclouds.rest.binders.BindToJsonPayload;
3332

3433
import javax.inject.Named;
35-
36-
import javax.ws.rs.*;
37-
34+
import javax.ws.rs.Consumes;
35+
import javax.ws.rs.DELETE;
36+
import javax.ws.rs.GET;
37+
import javax.ws.rs.POST;
38+
import javax.ws.rs.PUT;
39+
import javax.ws.rs.Path;
40+
import javax.ws.rs.PathParam;
41+
import javax.ws.rs.Produces;
3842
import javax.ws.rs.core.MediaType;
3943

4044
@Produces(MediaType.APPLICATION_JSON)

0 commit comments

Comments
 (0)