Starrier/commons

View on GitHub
src/main/java/org/starrier/common/result/Result.java

Summary

Maintainability
A
2 hrs
Test Coverage

Showing 2 of 2 total issues

Identical blocks of code found in 2 locations. Consider refactoring.
Open

private static class Builder {
private Integer code;
private String message;
private String url;
private Object data;
Severity: Major
Found in src/main/java/org/starrier/common/result/Result.java and 1 other location - About 1 hr to fix
src/main/java/org/starrier/common/result/ReactiveResult.java on lines 129..158

Similar blocks of code found in 2 locations. Consider refactoring.
Open

private Result(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.message = builder.message;
this.url = builder.url;
Severity: Minor
Found in src/main/java/org/starrier/common/result/Result.java and 1 other location - About 45 mins to fix
src/main/java/org/starrier/common/result/ReactiveResult.java on lines 33..38
Category
Status