You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2019/06/30 21:22:42 UTC
[tomcat] branch master updated (5a2b704 -> 9591552)
This is an automated email from the ASF dual-hosted git repository.
markt pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git.
from 5a2b704 Remove confusing comment
new df08e21 Coll;ections.singletonList returns an immutable list
new 9591552 Polish. Spacing.
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
java/org/apache/tomcat/websocket/server/WsHandshakeRequest.java | 4 +---
.../apache/tomcat/websocket/server/WsRemoteEndpointImplServer.java | 1 +
2 files changed, 2 insertions(+), 3 deletions(-)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[tomcat] 01/02: Coll;
ections.singletonList returns an immutable list
Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git
commit df08e21ceedd70f0633610ea293bac29acd6a371
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Sun Jun 30 22:04:24 2019 +0100
Coll;ections.singletonList returns an immutable list
---
java/org/apache/tomcat/websocket/server/WsHandshakeRequest.java | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/java/org/apache/tomcat/websocket/server/WsHandshakeRequest.java b/java/org/apache/tomcat/websocket/server/WsHandshakeRequest.java
index 0ca05fc..6c9f214 100644
--- a/java/org/apache/tomcat/websocket/server/WsHandshakeRequest.java
+++ b/java/org/apache/tomcat/websocket/server/WsHandshakeRequest.java
@@ -69,9 +69,7 @@ public class WsHandshakeRequest implements HandshakeRequest {
Arrays.asList(entry.getValue())));
}
for (Entry<String,String> entry : pathParams.entrySet()) {
- newParameters.put(entry.getKey(),
- Collections.unmodifiableList(
- Collections.singletonList(entry.getValue())));
+ newParameters.put(entry.getKey(), Collections.singletonList(entry.getValue()));
}
parameterMap = Collections.unmodifiableMap(newParameters);
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[tomcat] 02/02: Polish. Spacing.
Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git
commit 95915524e9397ef14338925c9334fc292db974fc
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Sun Jun 30 22:12:54 2019 +0100
Polish. Spacing.
---
java/org/apache/tomcat/websocket/server/WsRemoteEndpointImplServer.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/java/org/apache/tomcat/websocket/server/WsRemoteEndpointImplServer.java b/java/org/apache/tomcat/websocket/server/WsRemoteEndpointImplServer.java
index c552d10..858a6dc 100644
--- a/java/org/apache/tomcat/websocket/server/WsRemoteEndpointImplServer.java
+++ b/java/org/apache/tomcat/websocket/server/WsRemoteEndpointImplServer.java
@@ -65,6 +65,7 @@ public class WsRemoteEndpointImplServer extends WsRemoteEndpointImplBase {
return false;
}
+
@Override
protected void doWrite(SendHandler handler, long blockingWriteTimeoutExpiry,
ByteBuffer... buffers) {
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org