Polishing

This commit is contained in:
Juergen Hoeller
2018-09-17 14:56:55 +02:00
parent 4a51f6feef
commit ec1aa5c6ea
5 changed files with 32 additions and 30 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2015 the original author or authors.
* Copyright 2002-2018 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.
@@ -26,8 +26,8 @@ import org.springframework.web.util.UriComponentsBuilder;
/**
* Container for the base URL of a SockJS endpoint with additional helper methods
* to derive related SockJS URLs as the {@link #getInfoUrl() info} URL and
* {@link #getTransportUrl(TransportType) transport} URLs.
* to derive related SockJS URLs: specifically, the {@link #getInfoUrl() info}
* and {@link #getTransportUrl(TransportType) transport} URLs.
*
* @author Rossen Stoyanchev
* @since 4.1
@@ -64,7 +64,7 @@ public class SockJsUrlInfo {
public String getSessionId() {
if (this.sessionId == null) {
this.sessionId = getUuid().toString().replace("-","");
this.sessionId = getUuid().toString().replace("-", "");
}
return this.sessionId;
}