[onebusaway] Remove org.apache.common (#14419)
Signed-off-by: lsiepel <leosiepel@gmail.com>
This commit is contained in:
parent
dd7bb9c6a2
commit
c3624e7397
|
@ -14,8 +14,6 @@ package org.openhab.binding.onebusaway.internal.config;
|
|||
|
||||
import static org.openhab.binding.onebusaway.internal.OneBusAwayBindingConstants.*;
|
||||
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
|
||||
/**
|
||||
* The {@link ApiConfiguration} defines the model for an API bridge configuration.
|
||||
*
|
||||
|
@ -55,7 +53,7 @@ public class ApiConfiguration {
|
|||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this).append(API_CONFIG_API_KEY, this.getApiKey())
|
||||
.append(API_CONFIG_API_SERVER, this.getApiServer()).toString();
|
||||
return getClass().getSimpleName() + "{ " + API_CONFIG_API_KEY + "=" + this.getApiKey() + ", "
|
||||
+ API_CONFIG_API_SERVER + "=" + this.getApiServer() + "}";
|
||||
}
|
||||
}
|
||||
|
|
|
@ -14,8 +14,6 @@ package org.openhab.binding.onebusaway.internal.config;
|
|||
|
||||
import static org.openhab.binding.onebusaway.internal.OneBusAwayBindingConstants.CHANNEL_CONFIG_OFFSET;
|
||||
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
|
||||
/**
|
||||
* The {@link ChannelConfig} defines the model for a channel configuration.
|
||||
*
|
||||
|
@ -40,6 +38,6 @@ public class ChannelConfig {
|
|||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this).append(CHANNEL_CONFIG_OFFSET, this.getOffset()).toString();
|
||||
return getClass().getSimpleName() + "{ " + CHANNEL_CONFIG_OFFSET + "=" + this.getOffset() + "}";
|
||||
}
|
||||
}
|
||||
|
|
|
@ -14,8 +14,6 @@ package org.openhab.binding.onebusaway.internal.config;
|
|||
|
||||
import static org.openhab.binding.onebusaway.internal.OneBusAwayBindingConstants.ROUTE_CONFIG_ROUTE_ID;
|
||||
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
|
||||
/**
|
||||
* The {@link RouteConfiguration} defines the model for a route stop configuration.
|
||||
*
|
||||
|
@ -41,6 +39,6 @@ public class RouteConfiguration {
|
|||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this).append(ROUTE_CONFIG_ROUTE_ID, this.getRouteId()).toString();
|
||||
return getClass().getSimpleName() + "{ " + ROUTE_CONFIG_ROUTE_ID + "=" + this.getRouteId() + "}";
|
||||
}
|
||||
}
|
||||
|
|
|
@ -14,8 +14,6 @@ package org.openhab.binding.onebusaway.internal.config;
|
|||
|
||||
import static org.openhab.binding.onebusaway.internal.OneBusAwayBindingConstants.*;
|
||||
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
|
||||
/**
|
||||
* The {@link StopConfiguration} defines the model for a stop bridge configuration.
|
||||
*
|
||||
|
@ -56,7 +54,7 @@ public class StopConfiguration {
|
|||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this).append(STOP_CONFIG_INTERVAL, this.getInterval())
|
||||
.append(STOP_CONFIG_ID, this.getStopId()).toString();
|
||||
return getClass().getSimpleName() + "{ " + STOP_CONFIG_INTERVAL + "=" + this.getInterval() + ", "
|
||||
+ STOP_CONFIG_ID + "=" + this.getStopId() + "}";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue