mirror of
https://github.com/corda/corda.git
synced 2025-04-07 19:34:41 +00:00
Fixed whitespace issue and documentation.
This commit is contained in:
parent
1e025bded2
commit
94166484ca
@ -2,7 +2,6 @@ package net.corda.plugins
|
||||
|
||||
import com.typesafe.config.*
|
||||
import org.gradle.api.Project
|
||||
|
||||
import java.nio.charset.StandardCharsets
|
||||
import java.nio.file.Files
|
||||
|
||||
@ -29,8 +28,8 @@ class Node {
|
||||
*/
|
||||
protected List<String> cordapps = []
|
||||
/**
|
||||
* Set the configuration closure list that create the RPC users for this node. This configuration block allows
|
||||
* arbitrary configuration. The recommended current structure is:
|
||||
* Set the RPC users for this node. This configuration block allows arbitrary configuration.
|
||||
* The recommended current structure is:
|
||||
* [[['user': "username_here", 'password': "password_here", 'permissions': ["permissions_here"]]]
|
||||
* The above is a list to a map of keys to values using Groovy map and list shorthands.
|
||||
*
|
||||
@ -234,7 +233,7 @@ class Node {
|
||||
throw new RuntimeException("No Corda Capsule JAR found. Have you deployed the Corda project to Maven? Looked for \"corda-${project.corda_version}.jar\"")
|
||||
} else {
|
||||
def cordaJar = maybeCordaJAR.getSingleFile()
|
||||
assert (cordaJar.isFile())
|
||||
assert(cordaJar.isFile())
|
||||
return cordaJar
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user