Skip to content

Commit

Permalink
chore(sonar): Remove unnecessary Lombok annotations
Browse files Browse the repository at this point in the history
This removes unneeded Lombok annotations for purely internal access classes.
  • Loading branch information
MichaelsJP committed Nov 25, 2024
1 parent cdff3c4 commit 4df7fd5
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.heigit.ors.routing.graphhopper.extensions.manage.remote;

import lombok.NoArgsConstructor;
import lombok.Setter;
import org.apache.commons.io.FileUtils;
import org.apache.commons.lang3.StringUtils;
import org.apache.log4j.Logger;
Expand All @@ -21,13 +20,10 @@

import static com.google.common.base.Strings.isNullOrEmpty;

@Setter
@NoArgsConstructor
public class HttpRepoManager extends AbstractRepoManager implements ORSGraphRepoManager {

private static final Logger LOGGER = Logger.getLogger(HttpRepoManager.class.getName());
private int connectionTimeoutMillis = 2000;
private int readTimeoutMillis = 200000;
private GraphManagementRuntimeProperties managementProps;
private ORSGraphFileManager orsGraphFileManager;
private ORSGraphRepoStrategy orsGraphRepoStrategy;
Expand Down Expand Up @@ -161,6 +157,8 @@ public void downloadFile(URL downloadUrl, File outputFile) {
LOGGER.info("[%s] Downloading %s...".formatted(getProfileDescriptiveName(), downloadUrl));
}
try {
int connectionTimeoutMillis = 2000;
int readTimeoutMillis = 200000;
FileUtils.copyURLToFile(
downloadUrl,
tempDownloadFile,
Expand Down

0 comments on commit 4df7fd5

Please sign in to comment.