aboutsummaryrefslogtreecommitdiffstats
path: root/netx
diff options
context:
space:
mode:
authorOmair Majid <[email protected]>2011-02-11 20:04:24 -0500
committerOmair Majid <[email protected]>2011-02-11 20:04:24 -0500
commitaecf3c932817b0fa4bd55a9fa2fc35fbb4a86bcd (patch)
tree99e6eb82e1503f8aaf6e6415e0b14610859cfa8e /netx
parentbd77d9b6fd61b02fda0e0c3bba478caf7dfe8258 (diff)
Consistently name methods relating to ResourcesDesc
2011-02-11 Omair Majid <[email protected]> * netx/net/sourceforge/jnlp/JNLPFile.java (getResourceDescs): Renamed to... (getResourcesDescs): New method. (getResourceDescs): Renamed to... (getResourcesDescs): New method. * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java (getDownloadOptionsForJar): Call renamed method.
Diffstat (limited to 'netx')
-rw-r--r--netx/net/sourceforge/jnlp/JNLPFile.java6
-rw-r--r--netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java2
2 files changed, 4 insertions, 4 deletions
diff --git a/netx/net/sourceforge/jnlp/JNLPFile.java b/netx/net/sourceforge/jnlp/JNLPFile.java
index c296a9a..1bee246 100644
--- a/netx/net/sourceforge/jnlp/JNLPFile.java
+++ b/netx/net/sourceforge/jnlp/JNLPFile.java
@@ -396,15 +396,15 @@ public class JNLPFile {
* through the default locale and the os.name and os.arch
* properties.
*/
- public ResourcesDesc[] getResourceDescs() {
- return getResourceDescs(defaultLocale, defaultOS, defaultArch);
+ public ResourcesDesc[] getResourcesDescs() {
+ return getResourcesDescs(defaultLocale, defaultOS, defaultArch);
}
/**
* Returns the resources section of the JNLP file for the
* specified locale, os, and arch.
*/
- public ResourcesDesc[] getResourceDescs(final Locale locale, final String os, final String arch) {
+ public ResourcesDesc[] getResourcesDescs(final Locale locale, final String os, final String arch) {
List<ResourcesDesc> matchingResources = new ArrayList<ResourcesDesc>();
for (ResourcesDesc rescDesc: resources) {
if (localMatches(locale, rescDesc.getLocales())
diff --git a/netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java b/netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
index a76a3a4..52db413 100644
--- a/netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
+++ b/netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
@@ -1255,7 +1255,7 @@ public class JNLPClassLoader extends URLClassLoader {
boolean usePack = false;
boolean useVersion = false;
- ResourcesDesc[] descs = file.getResourceDescs();
+ ResourcesDesc[] descs = file.getResourcesDescs();
for (ResourcesDesc desc: descs) {
JARDesc[] jars = desc.getJARs();
for (JARDesc aJar: jars) {