提交 b1048975 编写于 作者: R Rossen Stoyanchev

Minor updates based on PR#1058

The original repo no longer exists:
https://github.com/spring-projects/spring-framework/pull/1058
上级 d232fffa
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册