Skip to content

Commit aca465b

Browse files
issue fix
1 parent 3917b52 commit aca465b

File tree

1 file changed

+1
-1
lines changed
  • src/main/java/io/appium/java_client/pagefactory/bys/builder

1 file changed

+1
-1
lines changed

src/main/java/io/appium/java_client/pagefactory/bys/builder/ByAll.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public ByAll(By[] bys) {
3737

3838
this.bys = Arrays.asList(bys);
3939

40-
checkArgument(this.bys.isEmpty(), "By array should not be empty");
40+
checkArgument(!this.bys.isEmpty(), "By array should not be empty");
4141
}
4242

4343
@Override

0 commit comments

Comments
 (0)