Skip to content

Commit

Permalink
[FABJ-474] Typo in NetworkConfig Exception Message
Browse files Browse the repository at this point in the history
Signed-off-by: SteveKIM <khktoto@gmail.com>
Change-Id: If2a81758cfc30a88b826c5dddd5348a51d788b39
  • Loading branch information
khktoto authored and bestbeforetoday committed Oct 4, 2019
1 parent a4ce2c4 commit 9e12cec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/org/hyperledger/fabric/sdk/NetworkConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ private void createAllOrderers() throws NetworkConfigurationException {

// Sanity check
if (orderers != null) {
throw new NetworkConfigurationException("INTERNAL ERROR: orderers has already been initialized!");
throw new NetworkConfigurationException("INTERNAL ERROR: orderers have already been initialized!");
}

orderers = new HashMap<>();
Expand Down Expand Up @@ -559,7 +559,7 @@ private void createAllPeers() throws NetworkConfigurationException {

// Sanity checks
if (peers != null) {
throw new NetworkConfigurationException("INTERNAL ERROR: peers has already been initialized!");
throw new NetworkConfigurationException("INTERNAL ERROR: peers have already been initialized!");
}

peers = new HashMap<>();
Expand Down Expand Up @@ -616,7 +616,7 @@ private void createAllOrganizations(Map<String, JsonObject> foundCertificateAuth

// Sanity check
if (organizations != null) {
throw new NetworkConfigurationException("INTERNAL ERROR: organizations has already been initialized!");
throw new NetworkConfigurationException("INTERNAL ERROR: organizations have already been initialized!");
}

organizations = new HashMap<>();
Expand Down

0 comments on commit 9e12cec

Please sign in to comment.