[CXF-8533]revise typo
@@ -52,7 +52,7 @@ public class ServerImpl implements Server {
private InstrumentationManager iMgr;
private ManagedEndpoint mep;
private boolean stopped = true;
- private boolean destoryDest = true;
+ private boolean destroyDest = true;
public ServerImpl(Bus bus,
Endpoint endpoint,
@@ -131,8 +131,8 @@ public class ServerImpl implements Server {
} catch (RuntimeException e) {
if (e.getMessage().contains("endpoint already registered on address")) {
//this destination is used by another endpoint with same endpoint address
- //so shouldn't be destoried by this server
- this.destoryDest = false;
+ //so shouldn't be destroyed by this server
+ this.destroyDest = false;
}
throw e;
}
@@ -193,7 +193,7 @@ public class ServerImpl implements Server {
public void destroy() {
stop();
- if (this.destoryDest) {
+ if (this.destroyDest) {
//we should shutdown the destination here
getDestination().shutdown();
}
