src/main/java/net/rehttp/base/DyStatus.java
Method failures
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public Collection<Iterable<Directive>> failures(final long after) {
return new ListOf<>(
new Mapped<>(
item -> DyStatus.xembly(item, false),
Method xembly
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static Iterable<Directive> xembly(
final Item item, final boolean full) throws IOException {
final long time = Long.parseLong(item.get("time").getN());
final long when = Long.parseLong(item.get("when").getN());
final long ttl = Long.parseLong(item.get("ttl").getN())
Method history
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public Collection<Iterable<Directive>> history(final long after) {
return new ListOf<>(
new Mapped<>(
item -> DyStatus.xembly(item, false),