mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

matthew_swift
03.22.2007 760fc7aa21defac36941c83f5d8d9820e657b541
opends/src/server/org/opends/server/admin/IPAddressPropertyDefinition.java
@@ -143,6 +143,17 @@
   * {@inheritDoc}
   */
  @Override
  public String encodeValue(InetAddress value)
      throws IllegalPropertyValueException {
    return value.getHostName();
  }
  /**
   * {@inheritDoc}
   */
  @Override
  public <R, P> R accept(PropertyDefinitionVisitor<R, P> v, P p) {
    return v.visitIPAddress(this, p);
  }