Showing 9,050 of 9,050 total issues
Method toString
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public String toString() {
StringBuilder sb = new StringBuilder("UiColumn (");
sb.append(key);
Method hashCode
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((this.key == null) ? 0 : this.key.hashCode());
Method start
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public Future<WTransition> start() {
// Here the move means that the transition has been bind to `from`
if (Objects.nonNull(this.move)) {
return Ux.future(this);
}
Method fromJson
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public default IWFlow fromJson(io.vertx.core.json.JsonObject json) {
setOrThrow(this::setKey,json::getString,"KEY","java.lang.String");
setOrThrow(this::setName,json::getString,"NAME","java.lang.String");
setOrThrow(this::setCode,json::getString,"CODE","java.lang.String");
Method hashCode
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((this.key == null) ? 0 : this.key.hashCode());
Method toString
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public String toString() {
StringBuilder sb = new StringBuilder("EEmployee (");
sb.append(key);
Method searchAsync
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public Future<List<UriMeta>> searchAsync(final String keyword, final String sigma) {
// 截断
if (Ut.isNil(keyword) || Ut.isNil(sigma)) {
return Ux.future(new ArrayList<>());
Method fromJson
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public default IIJob fromJson(io.vertx.core.json.JsonObject json) {
setOrThrow(this::setKey,json::getString,"KEY","java.lang.String");
setOrThrow(this::setNamespace,json::getString,"NAMESPACE","java.lang.String");
setOrThrow(this::setName,json::getString,"NAME","java.lang.String");
Method from
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public void from(IBBlock from) {
setKey(from.getKey());
setCode(from.getCode());
setName(from.getName());
Method from
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public void from(IBBlock from) {
setKey(from.getKey());
setCode(from.getCode());
setName(from.getName());
Method hashCode
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((this.key == null) ? 0 : this.key.hashCode());
Method toString
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public String toString() {
StringBuilder sb = new StringBuilder("SPath (");
sb.append(key);
Method execute
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
@SuppressWarnings("all")
public Future<JsonObject> execute(final String username, final String password) {
/* Find the user record with username */
return Sc.lockVerify(username, () -> Ux.Jooq.on(SUserDao.class).<SUser>fetchOneAsync(AuthKey.USER_NAME, username).compose(fetched -> {
Method saveDefinition
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public Future<JsonArray> saveDefinition(final JsonArray permissions, final SPermSet permSet) {
final String sigma = permSet.getSigma();
/*
Method hashCode
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((this.key == null) ? 0 : this.key.hashCode());
Method toString
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public String toString() {
StringBuilder sb = new StringBuilder("XAttachment (");
sb.append(key);
Method restoreTo
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private boolean restoreTo(final String file) {
final StringBuilder cmd = new StringBuilder();
final Database database = Database.getCurrent();
cmd.append("mysql")
.append(" -h").append(database.getHostname())
Method from
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public void from(IPOutItem from) {
setKey(from.getKey());
setSerial(from.getSerial());
setStatus(from.getStatus());
Method from
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public void from(IPOutItem from) {
setKey(from.getKey());
setSerial(from.getSerial());
setStatus(from.getStatus());
Method fromJson
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public default IPOutTicket fromJson(io.vertx.core.json.JsonObject json) {
setOrThrow(this::setKey,json::getString,"KEY","java.lang.String");
setOrThrow(this::setSerial,json::getString,"SERIAL","java.lang.String");
setOrThrow(this::setType,json::getString,"TYPE","java.lang.String");