Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added newNetwork method #9371

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,14 @@ static Network newNetwork() {
return builder().build();
}

static Network newNetwork(boolean initialize) {
Network network = newNetwork();
if (initialize) {
network.getId();
}
return network;
}

static NetworkImpl.NetworkImplBuilder builder() {
return NetworkImpl.builder();
}
Expand Down