kr11 commented on a change in pull request #25: Fix sonar
URL: https://github.com/apache/incubator-iotdb/pull/25#discussion_r250517748
##########
File path: tsfile/src/main/java/org/apache/iotdb/tsfile/read/common/Path.java
##########
@@ -32,28 +32,37 @@
private String measurement = null;
private String device = null;
private String fullPath;
+ private String illegalPathArgument = "Path parameter is null";
public Path(StringContainer pathSc) {
- assert pathSc != null;
+ if (pathSc == null) {
+ throw new IllegalArgumentException("");
Review comment:
fixed
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services