Skip to content

Commit bd40a90

Browse files
committed
Series import: improve parsing of non-perforated flag (make it case insensitive).
1 parent 00f1b4c commit bd40a90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/ru/mystamps/web/service/SeriesInfoExtractorServiceImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ protected Boolean extractPerforated(String fragment) {
198198

199199
log.debug("Determining perforation from a fragment: '{}'", fragment);
200200

201-
boolean withoutPerforation = StringUtils.contains(fragment, "б/з")
201+
boolean withoutPerforation = StringUtils.containsIgnoreCase(fragment, "б/з")
202202
|| StringUtils.containsIgnoreCase(fragment, "беззубцовые");
203203
if (withoutPerforation) {
204204
log.debug("Perforation is false");

0 commit comments

Comments
 (0)