Skip to content

Commit

Permalink
Fix compile warning
Browse files Browse the repository at this point in the history
  • Loading branch information
hexiaofeng committed Oct 14, 2024
1 parent b312210 commit 62a3e21
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
*/
@Getter
@Setter
@Builder
public class AppService {

/**
Expand Down Expand Up @@ -89,6 +88,7 @@ public AppService(String name) {
* @param protocol The service communication protocol.
* @param meta The service metadata.
*/
@Builder
public AppService(String name, GatewayRole gateway, String namespace, String group, String protocol, Map<String, String> meta) {
this.name = name;
this.gateway = gateway;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public class DegradeConfig {
public static final String TYPE_APPLICATION_JSON = "application/json";
public static final String TYPE_JSON = "json";

private int responseCode = 200;
private int responseCode;

private String contentType;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,17 @@

<artifactId>joylive-transmission-jdkhttp</artifactId>


<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<compilerArgs>
<arg>-Xlint:unchecked,-deprecation</arg>
</compilerArgs>
</configuration>
</plugin>
</plugins>
</build>
</project>

0 comments on commit 62a3e21

Please sign in to comment.