summaryrefslogtreecommitdiff
path: root/scripting
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-07-22 17:14:45 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-07-23 09:34:53 +0200
commitcb1c937ef6d565d7576ace72e9dfab952d43691d (patch)
tree3e0a5d289e6975be68d3c6b167cf114272c43241 /scripting
parent7d7ec597da0d6511303c633222c577f6b0b4fee1 (diff)
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@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'scripting')
-rw-r--r--scripting/java/com/sun/star/script/framework/provider/beanshell/ScriptEditorForBeanShell.java2
1 files changed, 1 insertions, 1 deletions
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;