Skip to content

Commit

Permalink
Fix compilation problem
Browse files Browse the repository at this point in the history
  • Loading branch information
sinattieng committed Jul 4, 2024
1 parent 9a59efb commit 20bc377
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 30 deletions.
Binary file removed pdfdocs/CHANGELOG.pdf
Binary file not shown.
Binary file removed pdfdocs/RELEASE-NOTES.pdf
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -195,19 +195,20 @@ public CommonsDataHttpClient() {
}

/**
* init method
* init method
*/
public void init() {
if (client == null) {
client = createHttpClient();
}
}

/**
* destroy method
*
* @throws IOException generic exception
*/
/**
* destroy method
*
* @throws IOException
* generic exception
*/
public void destroy() throws IOException {
if (client != null) {
client.close();
Expand Down
24 changes: 0 additions & 24 deletions src/main/java/it/eng/parer/eidas/core/helper/EidasHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
import java.nio.file.attribute.PosixFilePermissions;
import java.util.List;
import java.util.Set;
import java.util.concurrent.TimeUnit;

import javax.xml.XMLConstants;
import javax.xml.parsers.DocumentBuilder;
Expand Down Expand Up @@ -95,29 +94,6 @@ public class EidasHelper {
@Autowired
CommonsDataHttpClient dataHttpClient;

/*
* Standard httpclient
*/
// default 60 s
@Value("${parer.eidas.uriloader.httpclient.timeout:60}")
long httpClientTimeout;

// default 60 s
@Value("${parer.eidas.uriloader.httpclient.timeoutsocket:60}")
int httpClientSocketTimeout;

// default 4
@Value("${parer.eidas.uriloader.httpclient.connectionsmaxperroute:4}")
int httpClientConnectionsmaxperroute;

// default 40
@Value("${parer.eidas.uriloader.httpclient.connectionsmax:40}")
int httpClientConnectionsmax;

// default 60s
@Value("${parer.eidas.uriloader.httpclient.timetolive:60}")
long httpClientTimeToLive;

public String buildversion() {
return env.getProperty(BUILD_VERSION);
}
Expand Down

0 comments on commit 20bc377

Please sign in to comment.