Commit c83f1420 by chamberone

fix: fix runtime error

1 parent c341ad31
......@@ -66,7 +66,7 @@ public class BlockController {
}
region.setPoints(points);
if (StringUtils.isBlank(request.getParts())) {
if (StringUtils.isNotBlank(request.getParts())) {
String[] temp = request.getParts().split(",");
Integer[] parts = new Integer[temp.length];
for (int i = 0; i < parts.length; i++) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!