aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/ru/sape/Sape.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2020-10-08 16:45:34 +0300
committerGravatar Vitaly Takmazov2020-10-08 16:45:34 +0300
commit7229f06e0bc5c61dc17cb539c7b54273b66b16b6 (patch)
tree5b282a284e3db575a0f9359b3e7313454ffb06d5 /src/main/java/ru/sape/Sape.java
parent94380f2301be01b395a2736e5c4539f073c9788d (diff)
Sape: refactoring
Diffstat (limited to 'src/main/java/ru/sape/Sape.java')
-rw-r--r--src/main/java/ru/sape/Sape.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/ru/sape/Sape.java b/src/main/java/ru/sape/Sape.java
index bf975550..83a18331 100644
--- a/src/main/java/ru/sape/Sape.java
+++ b/src/main/java/ru/sape/Sape.java
@@ -35,10 +35,9 @@ public class Sape {
"/code.php?user=" + sapeUser + "&host=" + host,
"SAPE_Client PHP", socketTimeout, cacheLifeTime);
}
- public boolean debug = false;
public Optional<SapePageLinks> getPageLinks(URI requestUri, String cookie) {
return sapePageLinkConnection.getData()
- .map(site -> new SapePageLinks(site, sapeUser, requestUri, cookie, debug));
+ .map(site -> new SapePageLinks(site, sapeUser, requestUri, cookie));
}
}