From e201569ac989140632b0435f227a4e0c2e185d8a Mon Sep 17 00:00:00 2001 From: Clinton Alexander Date: Fri, 31 Mar 2017 10:36:34 +0100 Subject: [PATCH] Made casing of h2Port more consistent with other node properties in Cordformation. --- docs/source/creating-a-cordapp.rst | 6 +++--- .../src/main/groovy/net/corda/plugins/Node.groovy | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/source/creating-a-cordapp.rst b/docs/source/creating-a-cordapp.rst index f8d5930bf8..d3c977089b 100644 --- a/docs/source/creating-a-cordapp.rst +++ b/docs/source/creating-a-cordapp.rst @@ -202,7 +202,7 @@ is a three node example; p2pPort 10002 rpcPort 10003 webPort 10004 - h2port 11002 + h2Port 11002 cordapps [] } node { @@ -212,7 +212,7 @@ is a three node example; p2pPort 10005 rpcPort 10006 webPort 10007 - h2port 11005 + h2Port 11005 cordapps [] } node { @@ -222,7 +222,7 @@ is a three node example; p2pPort 10008 rpcPort 10009 webPort 10010 - h2port 11008 + h2Port 11008 cordapps [] } } diff --git a/gradle-plugins/cordformation/src/main/groovy/net/corda/plugins/Node.groovy b/gradle-plugins/cordformation/src/main/groovy/net/corda/plugins/Node.groovy index 2e2d9dfe89..3c78f17b12 100644 --- a/gradle-plugins/cordformation/src/main/groovy/net/corda/plugins/Node.groovy +++ b/gradle-plugins/cordformation/src/main/groovy/net/corda/plugins/Node.groovy @@ -78,8 +78,8 @@ class Node { /** * Sets the H2 port for this node */ - void h2port(Integer h2port) { - config = config.withValue("h2port", ConfigValueFactory.fromAnyRef(h2port)) + void h2Port(Integer h2Port) { + config = config.withValue("h2port", ConfigValueFactory.fromAnyRef(h2Port)) } void useTestClock(Boolean useTestClock) {