summaryrefslogtreecommitdiff
path: root/reportbuilder
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-12-10 15:36:24 +0200
committerNoel Grandin <noelgrandin@gmail.com>2014-12-11 06:09:03 +0000
commit7557f23b31dcfb4d86c122bb34d9675c0db9a694 (patch)
tree5feb7be2b0841d8ee60d935cf2e29e9a01a31a27 /reportbuilder
parent808fd5fbd8868dfd95c8a38676815798fa2b79c4 (diff)
java: reduce visibility of fields and methods
found by PMD Change-Id: Id6737916b68ccbdbdeec5d314747a38410923ac6 Reviewed-on: https://gerrit.libreoffice.org/13409 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'reportbuilder')
-rw-r--r--reportbuilder/java/org/libreoffice/report/pentaho/output/OfficeDocumentReportTarget.java6
-rw-r--r--reportbuilder/java/org/libreoffice/report/pentaho/output/text/PageContext.java4
2 files changed, 5 insertions, 5 deletions
diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/output/OfficeDocumentReportTarget.java b/reportbuilder/java/org/libreoffice/report/pentaho/output/OfficeDocumentReportTarget.java
index 903726c1da6c..9caf5ec8bb3a 100644
--- a/reportbuilder/java/org/libreoffice/report/pentaho/output/OfficeDocumentReportTarget.java
+++ b/reportbuilder/java/org/libreoffice/report/pentaho/output/OfficeDocumentReportTarget.java
@@ -200,7 +200,7 @@ public abstract class OfficeDocumentReportTarget extends AbstractReportTarget
}
}
- protected static class GroupContext
+ public static class GroupContext
{
private final GroupContext parent;
@@ -222,7 +222,7 @@ public abstract class OfficeDocumentReportTarget extends AbstractReportTarget
return iterationCount;
}
- public void setIterationCount(final int iterationCount)
+ private void setIterationCount(final int iterationCount)
{
this.iterationCount = iterationCount;
}
@@ -232,7 +232,7 @@ public abstract class OfficeDocumentReportTarget extends AbstractReportTarget
return groupWithRepeatingSection;
}
- public void setGroupWithRepeatingSection(final boolean groupWithRepeatingSection)
+ private void setGroupWithRepeatingSection(final boolean groupWithRepeatingSection)
{
this.groupWithRepeatingSection = groupWithRepeatingSection;
}
diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/output/text/PageContext.java b/reportbuilder/java/org/libreoffice/report/pentaho/output/text/PageContext.java
index 1baa24080774..180635bc6dd8 100644
--- a/reportbuilder/java/org/libreoffice/report/pentaho/output/text/PageContext.java
+++ b/reportbuilder/java/org/libreoffice/report/pentaho/output/text/PageContext.java
@@ -96,12 +96,12 @@ public class PageContext
return footer;
}
- public CSSNumericValue getHeaderHeight()
+ private CSSNumericValue getHeaderHeight()
{
return headerHeight;
}
- public CSSNumericValue getFooterHeight()
+ private CSSNumericValue getFooterHeight()
{
return footerHeight;
}