Skip to content

Commit 70b93ae

Browse files
committed
replace .contains() with containsIgnoreCase()
1 parent d431f03 commit 70b93ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/airsquared/blobsaver/TSSChecker.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ && containsIgnoreCase(tsscheckerLog, "Error] [TSSC] checking tss status failed!"
198198
} else if (containsIgnoreCase(tsscheckerLog, "[Error] [Error] can't save signing tickets at " + savePath)) {
199199
newUnreportableError("\'" + savePath + "\' is not a valid path\n\nIf this was done to test whether the preset works in the background, please cancel that preset, fix the error, and try again.");
200200
controller.pathField.setEffect(errorBorder);
201-
} else if (containsIgnoreCase(tsscheckerLog, "iOS " + version + " for device " + device + " IS NOT being signed!") || tsscheckerLog.contains("Build " + controller.buildIDField.getText() + " for device" + device + "IS NOT being signed!")) {
201+
} else if (containsIgnoreCase(tsscheckerLog, "iOS " + version + " for device " + device + " IS NOT being signed!") || containsIgnoreCase(tsscheckerLog, "Build " + controller.buildIDField.getText() + " for device" + device + "IS NOT being signed!")) {
202202
newUnreportableError("iOS/tvOS " + version + " is not being signed for device " + device);
203203
if (version.equals(controller.versionField.getText())) {
204204
controller.versionField.setEffect(errorBorder);

0 commit comments

Comments
 (0)