Skip to content

Commit

Permalink
kind 改位String
Browse files Browse the repository at this point in the history
  • Loading branch information
gedoor committed Aug 2, 2019
1 parent fc96563 commit 6a9952a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public class BookKindBean {

public BookKindBean(String kindS) {
if (TextUtils.isEmpty(kindS)) return;
for (String kind : kindS.split(",")) {
for (String kind : kindS.split("[,|\n]")) {
if (StringUtils.isContainNumber(kind) && TextUtils.isEmpty(wordsS)) {
if (StringUtils.isNumeric(kind)) {
int words = Integer.valueOf(kind);
Expand Down

0 comments on commit 6a9952a

Please sign in to comment.