Skip to content

Commit 1902fb8

Browse files
larrydiamonddiemol
andauthored
Performance improvements (#10105)
* Performance improvements * Rolling back changes in the deprecated thoughtworks package Co-authored-by: Diego Molina <[email protected]>
1 parent c968637 commit 1902fb8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

java/src/org/openqa/selenium/Platform.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ public static Platform fromString(String name) {
370370

371371
for (Platform os : Platform.values()) {
372372
for (String matcher : os.partOfOsName) {
373-
if (name.toLowerCase().equals(matcher.toLowerCase())) {
373+
if (name.equalsIgnoreCase(matcher)) {
374374
return os;
375375
}
376376
}

0 commit comments

Comments
 (0)