diff options
author | Noel Grandin <noel@peralex.com> | 2014-12-11 15:18:39 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-12-11 15:20:09 +0200 |
commit | 08ece8d8731c045aee98e3ba7446f7683bb5ab84 (patch) | |
tree | dd6178c407fb7fda21dd07e32c655880091c60cc /scripting/java | |
parent | b7d74366a9a15557a1c3dd98f019034ade137b4e (diff) |
java: revert part of commit, scripting/ is public API
revert part of my commit
7557f23b31dcfb4d86c122bb34d9675c0db9a694
"java: reduce visibility of fields and methods"
Change-Id: I2049a154b60b165d4d2217495935442d6da66e97
Diffstat (limited to 'scripting/java')
-rw-r--r-- | scripting/java/com/sun/star/script/framework/container/ScriptEntry.java | 6 | ||||
-rw-r--r-- | scripting/java/com/sun/star/script/framework/container/ScriptMetaData.java | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/scripting/java/com/sun/star/script/framework/container/ScriptEntry.java b/scripting/java/com/sun/star/script/framework/container/ScriptEntry.java index b0f8658fa6e2..6020e81ebc39 100644 --- a/scripting/java/com/sun/star/script/framework/container/ScriptEntry.java +++ b/scripting/java/com/sun/star/script/framework/container/ScriptEntry.java @@ -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; } -}
\ No newline at end of file +} diff --git a/scripting/java/com/sun/star/script/framework/container/ScriptMetaData.java b/scripting/java/com/sun/star/script/framework/container/ScriptMetaData.java index fd3c1080dfdc..3841c189a3c2 100644 --- a/scripting/java/com/sun/star/script/framework/container/ScriptMetaData.java +++ b/scripting/java/com/sun/star/script/framework/container/ScriptMetaData.java @@ -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(); |