File tree Expand file tree Collapse file tree
client/src/com/mirth/connect/client/ui/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4646
4747public class MirthTree extends JXTree implements DropTargetListener {
4848
49- private static final Pattern PAREN_PATTERN = Pattern .compile (" (\\ (.*\\ ))" );
49+ private static final Pattern PARENT_PATTERN = Pattern .compile (" (\\ (.*\\ ))" );
5050
5151 private Frame parent ;
5252 private MyFilter mf ;
@@ -504,7 +504,7 @@ public static String constructVariable(TreeNode parent) {
504504 // because we don't want to include the root node.
505505 while (node != null && node .getParent () != null ) {
506506 String parentName = node .getValue ();
507- Matcher matcher = PAREN_PATTERN .matcher (parentName .toString ());
507+ Matcher matcher = PARENT_PATTERN .matcher (parentName .toString ());
508508
509509 if (serializationType .equals (SerializationType .JSON ) && node .isArrayElement ()) {
510510 if (variable .length () != 0 ) {
@@ -567,7 +567,7 @@ public static String constructNodeDescription(TreeNode parent) {
567567 // because we don't want to include the root node.
568568 while (node != null && node .getParent () != null ) {
569569 String parentName = node .getValue ();
570- Matcher matcher = PAREN_PATTERN .matcher (parentName .toString ());
570+ Matcher matcher = PARENT_PATTERN .matcher (parentName .toString ());
571571
572572 // Get the index of the parent about to be added.
573573 String parentIndex = "" ;
You can’t perform that action at this time.
0 commit comments