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>
This commit is contained in:
committed by
Noel Grandin
parent
808fd5fbd8
commit
7557f23b31
@@ -31,7 +31,7 @@ public class ScriptEntry implements Cloneable {
|
||||
|
||||
private Map<String, String> languagedepprops;
|
||||
|
||||
public ScriptEntry(String language, String languagename,
|
||||
private ScriptEntry(String language, String languagename,
|
||||
String location) {
|
||||
|
||||
this.language = language;
|
||||
@@ -105,7 +105,7 @@ public class ScriptEntry implements Cloneable {
|
||||
return language;
|
||||
}
|
||||
|
||||
public String getLocation() {
|
||||
private String getLocation() {
|
||||
return location;
|
||||
}
|
||||
|
||||
|
@@ -62,7 +62,7 @@ public class ScriptMetaData extends ScriptEntry {
|
||||
return (source != null && hasSource) ? source : null;
|
||||
}
|
||||
|
||||
public byte[] getSourceBytes() {
|
||||
private byte[] getSourceBytes() {
|
||||
return (source != null && hasSource) ? source.getBytes() : null;
|
||||
}
|
||||
|
||||
@@ -126,7 +126,7 @@ public class ScriptMetaData extends ScriptEntry {
|
||||
return result;
|
||||
}
|
||||
|
||||
public String getLocationPlaceHolder() {
|
||||
private String getLocationPlaceHolder() {
|
||||
String placeHolder = "Unknown";
|
||||
String pathToParcel = parent.getPathToParcel();
|
||||
|
||||
|
Reference in New Issue
Block a user