/*
 * Copyright 2013-2014 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.springframework.cloud.netflix.eureka.server;

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * Configuration properties for the Eureka dashboard (UI).
 *
 * @author Dave Syer
 */
@ConfigurationProperties("eureka.dashboard")
public class EurekaDashboardProperties {

	/**
	 * The path to the Eureka dashboard (relative to the servlet path). Defaults to "/".
	 */
	private String path = "/";

	/**
	 * Flag to enable the Eureka dashboard. Default true.
	 */
	private boolean enabled = true;

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public boolean isEnabled() {
		return enabled;
	}

	public void setEnabled(boolean enabled) {
		this.enabled = enabled;
	}

	@Override
	public boolean equals(Object o) {
		return EqualsBuilder.reflectionEquals(this, o);
	}

	@Override
	public int hashCode() {
		return HashCodeBuilder.reflectionHashCode(this);
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}

}

@@ -677,174 +677,8 @@
 r;%0A%0A
-import org.apache.commons.lang.builder.EqualsBuilder;%0Aimport org.apache.commons.lang.builder.HashCodeBuilder;%0Aimport org.apache.commons.lang.builder.ToStringBuilder;%0A
 impo
@@ -750,16 +750,43 @@
 rties;%0A%0A
+import java.util.Objects;%0A%0A
 /**%0A * C
@@ -1462,53 +1462,233 @@
 %7B%0A%09%09
-return EqualsBuilder.reflectionEquals(this, o
+if (this == o) return true;%0A%09%09if (o == null %7C%7C getClass() != o.getClass()) return false;%0A%09%09EurekaDashboardProperties that = (EurekaDashboardProperties) o;%0A%09%09return enabled == that.enabled &&%0A%09%09%09%09Objects.equals(path, that.path
 );%0A%09
@@ -1739,47 +1739,34 @@
 urn 
-HashCodeBuilder.reflectionHashCode(this
+Objects.hash(path, enabled
 );%0A%09
@@ -1813,50 +1813,211 @@
 %7B%0A%09%09
-return ToStringBuilder.reflectionT
+final StringBuffer sb = new StringBuffer(%22EurekaDashboardProperties%7B%22);%0A%09%09sb.append(%22path='%22).append(path).append('%5C'');%0A%09%09sb.append(%22, enabled=%22).append(enabled);%0A%09%09sb.append('%7D');%0A%09%09return sb.t
 oString(
 this
@@ -2016,17 +2016,12 @@
 ing(
-this
 );%0A%09%7D%0A
-%0A
 %7D%0A

Remove commons.lang.builder refs