remove constants in NatPool.java
package org.batfish.representation.cisco;
-import com.fasterxml.jackson.annotation.JsonProperty;
import org.batfish.common.util.ComparableStructure;
import org.batfish.datamodel.Ip;
public class NatPool extends ComparableStructure<String> {
- private static final String PROP_FIRST = "first";
-
- private static final String PROP_LAST = "last";
-
/** */
private static final long serialVersionUID = 1L;
@@ -28,22 +23,18 @@ public class NatPool extends ComparableStructure<String> {
return _definitionLine;
}
- @JsonProperty(PROP_FIRST)
public Ip getFirst() {
return _first;
}
- @JsonProperty(PROP_LAST)
public Ip getLast() {
return _last;
}
- @JsonProperty(PROP_FIRST)
public void setFirst(Ip first) {
_first = first;
}
- @JsonProperty(PROP_LAST)
public void setLast(Ip last) {
_last = last;
}
