File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
src/main/com/warcgenerator/core/helper Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 263
263
<dependency >
264
264
<groupId >com.google.guava</groupId >
265
265
<artifactId >guava</artifactId >
266
- <version >14.0.1 </version >
266
+ <version >24.1.1-jre </version >
267
267
</dependency >
268
268
<dependency >
269
269
<groupId >org.apache.geronimo.specs</groupId >
Original file line number Diff line number Diff line change @@ -102,7 +102,8 @@ public static String getDomainNameFromURL(String url) {
102
102
String privateDomain = "" ;
103
103
try {
104
104
privateDomain = InternetDomainName .from (url ).topPrivateDomain ()
105
- .name ();
105
+ //.name();
106
+ .toString ();
106
107
} catch (IllegalArgumentException ex ) {
107
108
String urlTmp = url .replaceAll ("http://" , "" );
108
109
urlTmp = urlTmp .replaceAll ("https://" , "" );
You can’t perform that action at this time.
0 commit comments