Skip to content

Commit

Permalink
using crac to get to and from country nodes, clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
SCHWITZGUEBEL Marc Ext committed Dec 18, 2023
1 parent a9da0db commit fafbe42
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -252,13 +252,13 @@ public String getAreaTo(NetworkElement networkElement) {
return getCountryOfNode(networkElement, countryTo, countryFrom);
}

public String getAreaFrom(NetworkElement networkElement, NativeBranch nativeBranch) {
private String getAreaFrom(NetworkElement networkElement, NativeBranch nativeBranch) {
String countryFrom = UcteCountryCode.fromUcteCode(nativeBranch.getFrom().charAt(0)).toString();
String countryTo = UcteCountryCode.fromUcteCode(nativeBranch.getTo().charAt(0)).toString();
return getCountryOfNode(networkElement, countryFrom, countryTo);
}

public String getAreaTo(NetworkElement networkElement, NativeBranch nativeBranch) {
private String getAreaTo(NetworkElement networkElement, NativeBranch nativeBranch) {
String countryFrom = UcteCountryCode.fromUcteCode(nativeBranch.getFrom().charAt(0)).toString();
String countryTo = UcteCountryCode.fromUcteCode(nativeBranch.getTo().charAt(0)).toString();
return getCountryOfNode(networkElement, countryTo, countryFrom);
Expand Down

0 comments on commit fafbe42

Please sign in to comment.