- Timestamp:
- 2019-10-17T23:12:38+13:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gs3-extensions/maori-lang-detection/src/org/greenstone/atea/CCWETProcessor.java
r33575 r33582 240 240 * This retains any www. or subdomain prefix. 241 241 */ 242 p rivateString getDomainForURL(String url, boolean withProtocol) {242 public static String getDomainForURL(String url, boolean withProtocol) { 243 243 int startIndex = startIndex = url.indexOf("//"); // for http:// or https:// prefix 244 244 startIndex = (startIndex == -1) ? 0 : (startIndex+2); // skip past the protocol's // portion
Note:
See TracChangeset
for help on using the changeset viewer.