Skip to content

Commit

Permalink
Fix exceed title book
Browse files Browse the repository at this point in the history
  • Loading branch information
MonaiThang committed Oct 2, 2016
1 parent e5ec5d8 commit 4e99c70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/com/sixppl/importData/ExtractXMLGraph.java
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public static void main(String[] args) throws SQLException {
picId = 20;
}
if (p.getTitle().length() > 255) {
pubSell.title = p.getTitle().substring(0, 255);
pubSell.title = p.getTitle().substring(0, 254);
}
else {
pubSell.title = p.getTitle();
Expand Down

0 comments on commit 4e99c70

Please sign in to comment.