[Libreoffice-commits] core.git: scripting/java

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Tue Jul 23 07:36:05 UTC 2019


 scripting/java/com/sun/star/script/framework/provider/beanshell/ScriptEditorForBeanShell.java |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit cb1c937ef6d565d7576ace72e9dfab952d43691d
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Jul 22 17:14:45 2019 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue Jul 23 09:34:53 2019 +0200

    cid#1448376 SIC: Inner class could be made static
    
    Change-Id: Id9923031c1fe91ba71dfe8d68cbe23b72e9637b5
    Reviewed-on: https://gerrit.libreoffice.org/76143
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

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;


More information about the Libreoffice-commits mailing list