diff options
author | Noel Grandin <noel@peralex.com> | 2015-06-09 13:30:49 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-06-11 09:34:00 +0000 |
commit | efd4bfa818e262d7dc219ac3ceb85526fedc732c (patch) | |
tree | 932b54f6c3689d3c087f4f3911f66695c8817229 /reportbuilder | |
parent | a6f4fde8baf3eeb36820d18ffad84192e995145f (diff) |
java:regulatize the order of 'final' and public/private
Make the order be 'public static' or 'private static'
Just makes the code nicer to read.
Change-Id: I182424bda45a2d68642e5d04c6091d268ace1fe2
Reviewed-on: https://gerrit.libreoffice.org/16202
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'reportbuilder')
-rw-r--r-- | reportbuilder/java/org/libreoffice/report/SDBCReportData.java | 8 | ||||
-rw-r--r-- | reportbuilder/java/org/libreoffice/report/pentaho/output/OfficeDocumentReportTarget.java | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/reportbuilder/java/org/libreoffice/report/SDBCReportData.java b/reportbuilder/java/org/libreoffice/report/SDBCReportData.java index 5656a950a84c..a07006bfeb5f 100644 --- a/reportbuilder/java/org/libreoffice/report/SDBCReportData.java +++ b/reportbuilder/java/org/libreoffice/report/SDBCReportData.java @@ -179,7 +179,7 @@ public class SDBCReportData implements DataSource { } - static private java.sql.Date getDate(final Object obj) + private static java.sql.Date getDate(final Object obj) { final java.sql.Date date; if (obj instanceof com.sun.star.util.Date) @@ -217,7 +217,7 @@ public class SDBCReportData implements DataSource return timeString; } - static private StringBuffer getDateString(final int years, final int months, final int days) + private static StringBuffer getDateString(final int years, final int months, final int days) { final StringBuffer str = new StringBuffer(); str.append(years); @@ -239,7 +239,7 @@ public class SDBCReportData implements DataSource return str; } - static private java.sql.Time getTime(final Object obj) + private static java.sql.Time getTime(final Object obj) { final java.sql.Time time; if (obj instanceof Time) @@ -254,7 +254,7 @@ public class SDBCReportData implements DataSource return time; } - static private Timestamp getTimestamp(final Object obj) + private static Timestamp getTimestamp(final Object obj) { final Timestamp ts; if (obj instanceof DateTime) diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/output/OfficeDocumentReportTarget.java b/reportbuilder/java/org/libreoffice/report/pentaho/output/OfficeDocumentReportTarget.java index 8518bc619325..eef2178934a9 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/output/OfficeDocumentReportTarget.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/output/OfficeDocumentReportTarget.java @@ -1664,7 +1664,7 @@ public abstract class OfficeDocumentReportTarget extends AbstractReportTarget } } - static private double[] calcPaintSize(final CSSNumericValue areaWidth, final CSSNumericValue areaHeight, + private static double[] calcPaintSize(final CSSNumericValue areaWidth, final CSSNumericValue areaHeight, final CSSNumericValue imageWidth, final CSSNumericValue imageHeight) { |