Commit 381699b2 by shenjunjie

2022/11/16 17:22

parent 1d666e71
...@@ -84,7 +84,9 @@ public class BaseMap { ...@@ -84,7 +84,9 @@ public class BaseMap {
} }
public void subStringContentTop() { public void subStringContentTop() {
this.content = content.substring(0, 200); if (null != content) {
this.content = content.substring(0, Math.min(200, content.length()));
}
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment