GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — narrow the map type in OpenSslEngineMap · netty/netty@1728282

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • handler/src/main/java/io/netty/handler/ssl
    • OpenSslEngineMap.java
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎handler/src/main/java/io/netty/handler/ssl/OpenSslEngineMap.java‎

Copy file name to clipboardExpand all lines: handler/src/main/java/io/netty/handler/ssl/OpenSslEngineMap.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
package io.netty.handler.ssl;
1717

1818
import java.lang.ref.WeakReference;
19+
import java.util.Map;
1920
import java.util.concurrent.ConcurrentHashMap;
20-
import java.util.concurrent.ConcurrentMap;
2121

2222
/**
2323
* Maps a native {@code SSL*} pointer to its {@link ReferenceCountedOpenSslEngine} so native OpenSSL callbacks
@@ -39,7 +39,7 @@
3939
*/
4040
final class OpenSslEngineMap {
4141

42-
private final ConcurrentMap<Long, WeakReference<ReferenceCountedOpenSslEngine>> engines =
42+
private final Map<Long, WeakReference<ReferenceCountedOpenSslEngine>> engines =
4343
new ConcurrentHashMap<Long, WeakReference<ReferenceCountedOpenSslEngine>>();
4444

4545
void add(long ssl, ReferenceCountedOpenSslEngine engine) {

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.