Skip to content

Commit

Permalink
Remove some unused code in sdk module
Browse files Browse the repository at this point in the history
  • Loading branch information
ruanwenjun committed Nov 18, 2021
1 parent 0096cee commit 90e7864
Show file tree
Hide file tree
Showing 6 changed files with 73 additions and 417 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,12 @@ public EventMeshException(Throwable cause) {
super(cause);
}

public EventMeshException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
public EventMeshException(String message, Throwable cause, boolean enableSuppression,
boolean writableStackTrace) {
super(message, cause, enableSuppression, writableStackTrace);
}

public EventMeshException(Integer errCode, String errMsg) {
super((new StringBuilder()).append(errCode)
.append("|")
.append(errMsg).toString());
super(String.format("errorCode: %s, errorMessage: %s", errCode, errMsg));
}
}
6 changes: 6 additions & 0 deletions eventmesh-sdk-java/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,10 @@ dependencies {
testImplementation "io.netty:netty-all"
testImplementation "org.apache.httpcomponents:httpclient"

compileOnly 'org.projectlombok:lombok:1.18.22'
annotationProcessor 'org.projectlombok:lombok:1.18.22'

testCompileOnly 'org.projectlombok:lombok:1.18.22'
testAnnotationProcessor 'org.projectlombok:lombok:1.18.22'

}
Loading

0 comments on commit 90e7864

Please sign in to comment.