File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
spring-websocket/src/main/java/org/springframework/web/socket/sockjs/frame Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2013 the original author or authors.
2
+ * Copyright 2002-2015 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
18
18
19
19
import java .nio .charset .Charset ;
20
20
21
- import org .springframework .util .StringUtils ;
21
+ import org .springframework .util .Assert ;
22
22
23
23
/**
24
24
* Represents a SockJS frame. Provides factory methods to create SockJS frames.
@@ -49,7 +49,7 @@ public class SockJsFrame {
49
49
* @param content the content, must be a non-empty and represent a valid SockJS frame
50
50
*/
51
51
public SockJsFrame (String content ) {
52
- StringUtils .hasText (content );
52
+ Assert .hasText (content );
53
53
if ("o" .equals (content )) {
54
54
this .type = SockJsFrameType .OPEN ;
55
55
this .content = content ;
You can’t perform that action at this time.
0 commit comments