Skip to content
This repository was archived by the owner on Apr 22, 2025. It is now read-only.

Commit 9e12cec

Browse files
khktotobestbeforetoday
authored andcommitted
[FABJ-474] Typo in NetworkConfig Exception Message
Signed-off-by: SteveKIM <khktoto@gmail.com> Change-Id: If2a81758cfc30a88b826c5dddd5348a51d788b39
1 parent a4ce2c4 commit 9e12cec

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/org/hyperledger/fabric/sdk/NetworkConfig.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ private void createAllOrderers() throws NetworkConfigurationException {
526526

527527
// Sanity check
528528
if (orderers != null) {
529-
throw new NetworkConfigurationException("INTERNAL ERROR: orderers has already been initialized!");
529+
throw new NetworkConfigurationException("INTERNAL ERROR: orderers have already been initialized!");
530530
}
531531

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

560560
// Sanity checks
561561
if (peers != null) {
562-
throw new NetworkConfigurationException("INTERNAL ERROR: peers has already been initialized!");
562+
throw new NetworkConfigurationException("INTERNAL ERROR: peers have already been initialized!");
563563
}
564564

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

617617
// Sanity check
618618
if (organizations != null) {
619-
throw new NetworkConfigurationException("INTERNAL ERROR: organizations has already been initialized!");
619+
throw new NetworkConfigurationException("INTERNAL ERROR: organizations have already been initialized!");
620620
}
621621

622622
organizations = new HashMap<>();

0 commit comments

Comments
 (0)