summaryrefslogtreecommitdiff
path: root/javaunohelper/com
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-11-18 15:20:11 +0200
committerNoel Grandin <noelgrandin@gmail.com>2014-11-25 06:06:48 +0000
commit58eab57648e222e5a3e488087afd44eea6efd591 (patch)
tree190af535c3871f3931a3b29dea55493751a01d03 /javaunohelper/com
parent1658c017a27ac2cccb2af89f88a4cde8ffdbe531 (diff)
java: final fields that can be static
found by PMD Change-Id: I2b48f35d252d6e914c2a18a2c175b075a9d3ac0f Reviewed-on: https://gerrit.libreoffice.org/13099 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'javaunohelper/com')
-rw-r--r--javaunohelper/com/sun/star/lib/uno/adapter/XOutputStreamToByteArrayAdapter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/javaunohelper/com/sun/star/lib/uno/adapter/XOutputStreamToByteArrayAdapter.java b/javaunohelper/com/sun/star/lib/uno/adapter/XOutputStreamToByteArrayAdapter.java
index d8f5740eb32a..38dff3762789 100644
--- a/javaunohelper/com/sun/star/lib/uno/adapter/XOutputStreamToByteArrayAdapter.java
+++ b/javaunohelper/com/sun/star/lib/uno/adapter/XOutputStreamToByteArrayAdapter.java
@@ -31,7 +31,7 @@ public final class XOutputStreamToByteArrayAdapter
extends ComponentBase
implements XOutputStream
{
- private final int initialSize = 100240; // 10 kb
+ private static final int initialSize = 100240; // 10 kb
private int size = 0;
private int position = 0;
private boolean externalBuffer = false;