Minor updates based on PR#1058
The original repo no longer exists: https://github.com/spring-projects/spring-framework/pull/1058
This commit is contained in:
parent
d232fffa63
commit
b1048975d2
|
@ -228,7 +228,9 @@ public final class PatternsRequestCondition extends AbstractRequestCondition<Pat
|
|||
matches.add(match);
|
||||
}
|
||||
}
|
||||
matches.sort(this.pathMatcher.getPatternComparator(lookupPath));
|
||||
if (matches.size() > 1) {
|
||||
matches.sort(this.pathMatcher.getPatternComparator(lookupPath));
|
||||
}
|
||||
return matches;
|
||||
}
|
||||
|
||||
|
|
|
@ -162,7 +162,7 @@ public class SseEmitter extends ResponseBodyEmitter {
|
|||
SseEventBuilder name(String eventName);
|
||||
|
||||
/**
|
||||
* Add an SSE "event" line.
|
||||
* Add an SSE "retry" line.
|
||||
*/
|
||||
SseEventBuilder reconnectTime(long reconnectTimeMillis);
|
||||
|
||||
|
|
Loading…
Reference in New Issue