summaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2023-09-30 19:47:11 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2023-09-30 22:20:52 +0200
commit506fb766885f147a40f09ffca803b4e31b14b1e1 (patch)
treeb1b906437537dc927b389ceff488c9f57ee1ad8f /external
parentadde35839be1b302547ec39bc330999dc3d55727 (diff)
cid#1546192 SIC: Inner class could be made static
Change-Id: Ib8a298d86a7f04a2ca63751e3e39960e276b6514 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157439 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'external')
-rw-r--r--external/java_websocket/UnpackedTarball_java_websocket.mk1
-rw-r--r--external/java_websocket/patches/0001-cid-1546192-SIC-Inner-class-could-be-made-static.patch25
2 files changed, 26 insertions, 0 deletions
diff --git a/external/java_websocket/UnpackedTarball_java_websocket.mk b/external/java_websocket/UnpackedTarball_java_websocket.mk
index cc8e7c259fc9..d66795511caa 100644
--- a/external/java_websocket/UnpackedTarball_java_websocket.mk
+++ b/external/java_websocket/UnpackedTarball_java_websocket.mk
@@ -16,6 +16,7 @@ $(eval $(call gb_UnpackedTarball_set_patchlevel,java_websocket,1))
$(eval $(call gb_UnpackedTarball_add_patches,java_websocket,\
external/java_websocket/patches/ant-build.patch \
external/java_websocket/patches/no-slf4j.patch \
+ external/java_websocket/patches/0001-cid-1546192-SIC-Inner-class-could-be-made-static.patch \
))
# vim: set noet sw=4 ts=4:
diff --git a/external/java_websocket/patches/0001-cid-1546192-SIC-Inner-class-could-be-made-static.patch b/external/java_websocket/patches/0001-cid-1546192-SIC-Inner-class-could-be-made-static.patch
new file mode 100644
index 000000000000..ea7c56c03689
--- /dev/null
+++ b/external/java_websocket/patches/0001-cid-1546192-SIC-Inner-class-could-be-made-static.patch
@@ -0,0 +1,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
+