Skip to content

Commit 4c04f69

Browse files
author
Nico Piel
committed
Fixed typo
Signed-off-by: Nico Piel <nico.piel@hotmail.de>
1 parent 91dde14 commit 4c04f69

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎client/src/com/mirth/connect/client/ui/components/MirthTree.java‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646

4747
public 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 = "";

0 commit comments

Comments
 (0)