Fix minor typo
This commit is contained in:
parent
ba8bae1a88
commit
6964aa1d47
|
@ -19,7 +19,7 @@ public class HostRDAMapper {
|
||||||
public static Host toRDA(List<JsonNode> nodes, String numbering) {
|
public static Host toRDA(List<JsonNode> nodes, String numbering) {
|
||||||
Host rda = new Host();
|
Host rda = new Host();
|
||||||
for (JsonNode node: nodes) {
|
for (JsonNode node: nodes) {
|
||||||
String rdaProperty = node.get("rdaProperties").asText();
|
String rdaProperty = node.get("rdaProperty").asText();
|
||||||
if (rdaProperty.contains("host")) {
|
if (rdaProperty.contains("host")) {
|
||||||
int firstDiff = MyStringUtils.getFirstDifference(numbering, node.get("numbering").asText());
|
int firstDiff = MyStringUtils.getFirstDifference(numbering, node.get("numbering").asText());
|
||||||
if (firstDiff == -1 || firstDiff > 2) {
|
if (firstDiff == -1 || firstDiff > 2) {
|
||||||
|
|
Loading…
Reference in New Issue