A couple of trivial simplifications
This commit is contained in:
committed by
Juergen Hoeller
parent
02850f357f
commit
6f07a504b8
@@ -354,7 +354,7 @@ public abstract class AbstractSockJsService implements SockJsService, CorsConfig
|
||||
String requestInfo = (logger.isDebugEnabled() ? request.getMethod() + " " + request.getURI() : null);
|
||||
|
||||
try {
|
||||
if (sockJsPath.equals("") || sockJsPath.equals("/")) {
|
||||
if (sockJsPath.isEmpty() || sockJsPath.equals("/")) {
|
||||
if (requestInfo != null) {
|
||||
logger.debug("Processing transport request: " + requestInfo);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user