Showing 9,050 of 9,050 total issues
Method border
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public DyeCell border(final Short color, final BorderStyle... borders) {
// CSS Calculation
if (0 < borders.length) {
if (1 == borders.length) {
// length = 1, all border
Method aeonParseLine
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private int aeonParseLine(final URL u, final BufferedReader r, final int lc, final Set<String> names)
throws IOException {
String ln = r.readLine();
if (ln == null) {
return -1;
Method generateHeader
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
static boolean generateHeader(final Sheet sheet, final String identifier,
final JsonArray tableData, final HMetaAtom metaAtom) {
final Consumer<Integer> consumer = width -> {
/*
* Row creation
Method fetchAmp
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public Future<JsonObject> fetchAmp(final String sigma,
final JsonObject params) {
final JsonObject filters = params.copy();
filters.put(KName.SIGMA, sigma);
Method from
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public void from(IEProject from) {
setKey(from.getKey());
setName(from.getName());
setCode(from.getCode());
Method from
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public void from(IEProject from) {
setKey(from.getKey());
setName(from.getName());
setCode(from.getCode());
Method toJson
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public default io.vertx.core.json.JsonObject toJson() {
io.vertx.core.json.JsonObject json = new io.vertx.core.json.JsonObject();
json.put("KEY",getKey());
json.put("NAME",getName());
Method toJson
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public default io.vertx.core.json.JsonObject toJson() {
io.vertx.core.json.JsonObject json = new io.vertx.core.json.JsonObject();
json.put("KEY",getKey());
json.put("NAMESPACE",getNamespace());
Method searchJobs
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public Future<JsonObject> searchJobs(final String sigma, final JsonObject body, final boolean grouped) {
final Ir qr = Ir.create(body);
qr.getCriteria().save("sigma", sigma);
final JsonObject condition = qr.toJson();
Method fromJson
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public default IBBlock fromJson(io.vertx.core.json.JsonObject json) {
setOrThrow(this::setKey,json::getString,"KEY","java.lang.String");
setOrThrow(this::setCode,json::getString,"CODE","java.lang.String");
setOrThrow(this::setName,json::getString,"NAME","java.lang.String");
Method execute
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@SuppressWarnings("all")
static <T> T execute(final T original, final JsonObject updated, final DataAtom atom) {
return Ut.itJson(original, reference -> {
// updated 为 null
if (Objects.isNull(updated)) {
Method procAsync
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private Future<JsonObject> procAsync(final XNumber number) {
final String identifier = number.getIdentifier();
Ox.LOG.Shell.info(this.getClass(), "读取该标识下所有序号:identifier = {0}", identifier);
final HDao dao = this.ioDao(identifier);
Method toJson
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public default io.vertx.core.json.JsonObject toJson() {
io.vertx.core.json.JsonObject json = new io.vertx.core.json.JsonObject();
json.put("KEY",getKey());
json.put("SERIAL",getSerial());
Method fromJson
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public default IPOutItem 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::setStatus,json::getString,"STATUS","java.lang.String");
Method fromJson
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public default IFInvoice 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 update
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public Future<JsonObject> update(final String key, final JsonObject directoryJ) {
/*
* Here are updating action:
* 1. integrationId changing
Method leftJoin
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
static Table<Record> leftJoin(final String leader,
final ConcurrentMap<String, String> joined,
final ConcurrentMap<String, String> aliasMap) {
final Table<Record> first = table(leader, aliasMap.get(leader));
Fn.outWeb(1 == aliasMap.size() && Objects.isNull(first),
Method fromJson
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public default IIIntegration 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::setType,json::getString,"TYPE","java.lang.String");
Method from
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public void from(IMAttribute from) {
setKey(from.getKey());
setName(from.getName());
setAlias(from.getAlias());
Method synchron
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public boolean synchron(final Schema schema) {
// 检查表是否存在
final String tableName = schema.getTable();
final boolean exist = this.getVerifier().verifyTable(tableName);