Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,6 @@
<groupId>org.apache.commons</groupId>
<artifactId>commons-collections4</artifactId>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import com.gargoylesoftware.htmlunit.Page
import com.gargoylesoftware.htmlunit.WebClient
import com.gargoylesoftware.htmlunit.WebResponse
import groovy.util.logging.Slf4j
import org.apache.commons.lang3.StringUtils

import java.util.regex.Pattern

Expand Down Expand Up @@ -252,7 +251,7 @@ public final class VerifyURLBuilder {
*/
private Map build() {
if (url == null) throw new IllegalArgumentException("URL must not be null.")
if (StringUtils.isBlank(reqKey) != StringUtils.isBlank(reqValue)) {
if (reqKey?.allWhitespace != reqValue?.allWhitespace) {
throw new IllegalArgumentException("ReqKey and ReqValue have to have to be either both set or both empty.")
}

Expand Down
Loading