From cb1c937ef6d565d7576ace72e9dfab952d43691d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Mon, 22 Jul 2019 17:14:45 +0100 Subject: [PATCH] cid#1448376 SIC: Inner class could be made static MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Id9923031c1fe91ba71dfe8d68cbe23b72e9637b5 Reviewed-on: https://gerrit.libreoffice.org/76143 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- .../framework/provider/beanshell/ScriptEditorForBeanShell.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripting/java/com/sun/star/script/framework/provider/beanshell/ScriptEditorForBeanShell.java b/scripting/java/com/sun/star/script/framework/provider/beanshell/ScriptEditorForBeanShell.java index 9ba128b42669..36b9bf9839ff 100644 --- a/scripting/java/com/sun/star/script/framework/provider/beanshell/ScriptEditorForBeanShell.java +++ b/scripting/java/com/sun/star/script/framework/provider/beanshell/ScriptEditorForBeanShell.java @@ -267,7 +267,7 @@ public class ScriptEditorForBeanShell implements ScriptEditor, ActionListener { } // Wraps long error messages - class NarrowOptionPane extends JOptionPane { + private static class NarrowOptionPane extends JOptionPane { private static final long serialVersionUID = 1L; public int getMaxCharactersPerLineCount() { return 100;