summaryrefslogtreecommitdiffstats
path: root/external/java_websocket/patches/0001-cid-1546192-SIC-Inner-class-could-be-made-static.patch
blob: ea7c56c03689858dd1db787b7761334dfb5971f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From 2fc9513baa5b6e1d9fd26edef5816e598805754c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolan.mcnamara@collabora.com>
Date: Sat, 30 Sep 2023 19:45:58 +0100
Subject: [PATCH] cid#1546192 SIC: Inner class could be made static

---
 src/main/java/org/java_websocket/drafts/Draft_6455.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/java_websocket/drafts/Draft_6455.java b/src/main/java/org/java_websocket/drafts/Draft_6455.java
index eb48799..f9f960d 100644
--- a/src/main/java/org/java_websocket/drafts/Draft_6455.java
+++ b/src/main/java/org/java_websocket/drafts/Draft_6455.java
@@ -1192,7 +1192,7 @@ public class Draft_6455 extends Draft {
     return totalSize;
   }
 
-  private class TranslatedPayloadMetaData {
+  private static class TranslatedPayloadMetaData {
 
     private int payloadLength;
     private int realPackageSize;
-- 
2.41.0