File tree 1 file changed +4
-4
lines changed
src/main/java/ru/mystamps/web/service
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -113,8 +113,8 @@ protected List<Integer> extractCategory(String fragment) {
113
113
114
114
log .debug ("Determining category from a fragment: '{}'" , fragment );
115
115
116
- String [] candidates = StringUtils .split (fragment , "\n \t ," );
117
- List <String > uniqueCandidates = Arrays .stream (candidates )
116
+ String [] names = StringUtils .split (fragment , "\n \t ," );
117
+ List <String > uniqueCandidates = Arrays .stream (names )
118
118
.filter (tooShortCategoryName )
119
119
.filter (tooLongCategoryName )
120
120
.filter (invalidCategoryName )
@@ -153,8 +153,8 @@ protected List<Integer> extractCountry(String fragment) {
153
153
154
154
log .debug ("Determining country from a fragment: '{}'" , fragment );
155
155
156
- String [] candidates = StringUtils .split (fragment , "\n \t ," );
157
- List <String > uniqueCandidates = Arrays .stream (candidates )
156
+ String [] names = StringUtils .split (fragment , "\n \t ," );
157
+ List <String > uniqueCandidates = Arrays .stream (names )
158
158
.filter (tooShortCountryName )
159
159
.filter (tooLongCountryName )
160
160
.filter (invalidCountryName )
You can’t perform that action at this time.
0 commit comments