src/main/java/net/rehttp/base/DyTake.java
Method act
has 99 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
@SuppressWarnings({ "unchecked", "PMD.ExcessiveMethodLength" })
public Response act(final Request req) throws Exception {
final URI uri = URI.create(this.item.get("url").getS());
Request request = req;
Method request
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static Request request(final Request req, final URI uri) {
final StringBuilder path = new StringBuilder(0);
path.append(uri.getRawPath());
if (path.length() == 0) {
path.append('/');