diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-02-25 20:28:23 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-02-25 20:29:20 +0000 |
commit | 3029afd738e1e5d2c04654ecdc134f5503912203 (patch) | |
tree | 5072044db9b63abf89d29e891b7ad14be34966e2 /scripting | |
parent | 73e6b95ed249cf7cb1d46c1f40c0a537e757b1eb (diff) |
coverity#1354272 SS: Unread field should be static
Change-Id: Ie9480265be8053805cb48cefe189e65a47ce0908
Diffstat (limited to 'scripting')
-rw-r--r-- | scripting/java/com/sun/star/script/framework/provider/beanshell/PlainSourceView.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripting/java/com/sun/star/script/framework/provider/beanshell/PlainSourceView.java b/scripting/java/com/sun/star/script/framework/provider/beanshell/PlainSourceView.java index 2a6fde0b18b2..e7d71d3869ee 100644 --- a/scripting/java/com/sun/star/script/framework/provider/beanshell/PlainSourceView.java +++ b/scripting/java/com/sun/star/script/framework/provider/beanshell/PlainSourceView.java @@ -55,7 +55,7 @@ public class PlainSourceView extends JScrollPane implements private static final String undoKey = "Undo"; private static final String redoKey = "Redo"; private CompoundEdit compoundEdit = null; - private final int noLimit = -1; + private static final int noLimit = -1; UndoManager undoManager; public PlainSourceView(ScriptSourceModel model) { |