mirror of https://github.com/apache/nifi.git
NIFI-3708 - removed typo from character escape regex
Signed-off-by: Matt Burgess <mattyb149@apache.org> This closes #1674
This commit is contained in:
parent
deed25656f
commit
5f73ba7f2c
|
@ -217,7 +217,7 @@ public class JoltTransformJSON extends AbstractProcessor {
|
|||
.build());
|
||||
} else {
|
||||
//for validation we want to be able to ensure the spec is syntactically correct and not try to resolve variables since they may not exist yet
|
||||
Object specJson = SORTR.getValue().equals(transform) ? null : JsonUtils.jsonToObject(specValue.replaceAll("\\$\\{}","\\\\\\\\\\$\\{"), DEFAULT_CHARSET);
|
||||
Object specJson = SORTR.getValue().equals(transform) ? null : JsonUtils.jsonToObject(specValue.replaceAll("\\$\\{","\\\\\\\\\\$\\{"), DEFAULT_CHARSET);
|
||||
|
||||
if (CUSTOMR.getValue().equals(transform)) {
|
||||
if (StringUtils.isEmpty(customTransform)) {
|
||||
|
|
Loading…
Reference in New Issue