We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ccd457e commit 35bc274Copy full SHA for 35bc274
src/main/java/ru/mystamps/web/service/SeriesInfoExtractorServiceImpl.java
@@ -157,10 +157,17 @@ public Integer extractQuantity(String fragment) {
157
return null;
158
}
159
160
+ log.debug("Determining quantity from a fragment: '{}'", fragment);
161
+
162
Matcher matcher = NUMBER_OF_STAMPS_REGEXP.matcher(fragment);
163
if (matcher.find()) {
- return Integer.valueOf(matcher.group(1));
164
+ String quantity = matcher.group(1);
165
+ log.debug("Quantity is {}", quantity);
166
+ return Integer.valueOf(quantity);
167
168
169
+ log.debug("Could not extract quantity from a fragment");
170
171
172
173
0 commit comments