java: revert part of commit, scripting/ is public API
revert part of my commit
7557f23b31
"java: reduce visibility of fields and methods"
Change-Id: I2049a154b60b165d4d2217495935442d6da66e97
This commit is contained in:
@@ -31,7 +31,7 @@ public class ScriptEntry implements Cloneable {
|
||||
|
||||
private Map<String, String> languagedepprops;
|
||||
|
||||
private ScriptEntry(String language, String languagename,
|
||||
public ScriptEntry(String language, String languagename,
|
||||
String location) {
|
||||
|
||||
this.language = language;
|
||||
@@ -105,7 +105,7 @@ public class ScriptEntry implements Cloneable {
|
||||
return language;
|
||||
}
|
||||
|
||||
private String getLocation() {
|
||||
public String getLocation() {
|
||||
return location;
|
||||
}
|
||||
|
||||
@@ -120,4 +120,4 @@ public class ScriptEntry implements Cloneable {
|
||||
"\nLocation = " + location +
|
||||
"\nLanguaguageProperties = " + languagedepprops;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -62,7 +62,7 @@ public class ScriptMetaData extends ScriptEntry {
|
||||
return (source != null && hasSource) ? source : null;
|
||||
}
|
||||
|
||||
private byte[] getSourceBytes() {
|
||||
public byte[] getSourceBytes() {
|
||||
return (source != null && hasSource) ? source.getBytes() : null;
|
||||
}
|
||||
|
||||
@@ -126,7 +126,7 @@ public class ScriptMetaData extends ScriptEntry {
|
||||
return result;
|
||||
}
|
||||
|
||||
private String getLocationPlaceHolder() {
|
||||
public String getLocationPlaceHolder() {
|
||||
String placeHolder = "Unknown";
|
||||
String pathToParcel = parent.getPathToParcel();
|
||||
|
||||
|
Reference in New Issue
Block a user