mirror of
https://github.com/corda/corda.git
synced 2025-02-21 01:42:24 +00:00
Review fixes
This commit is contained in:
parent
e7e8bff3dd
commit
32e7272642
@ -95,10 +95,7 @@ class Node extends CordformNode {
|
||||
if (o.length > 0) {
|
||||
dirName = o.getAt(0).getFirst().getValue().toString()
|
||||
}
|
||||
} catch(IllegalArgumentException ignore) {
|
||||
// Can't parse as an X500 name, use the full string
|
||||
dirName = name
|
||||
}
|
||||
} catch(IllegalArgumentException ignore) {}
|
||||
nodeDir = new File(rootDir.toFile(), dirName.replaceAll("\\s",""))
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user