Browse Source
Merge pull request #2253 from YevhenBondarenko/feature/batch-telemetry
Feature/batch telemetry (fix nullPointer)
pull/3727/head
Andrew Shvayka
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
dao/src/main/java/org/thingsboard/server/dao/sqlts/AbstractInsertRepository.java
|
|
|
@ -90,7 +90,7 @@ public abstract class AbstractInsertRepository { |
|
|
|
} |
|
|
|
|
|
|
|
protected String replaceNullChars(String strValue) { |
|
|
|
if (removeNullChars) { |
|
|
|
if (removeNullChars && strValue != null) { |
|
|
|
return PATTERN_THREAD_LOCAL.get().matcher(strValue).replaceAll(EMPTY_STR); |
|
|
|
} |
|
|
|
return strValue; |
|
|
|
|