aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--netx/net/sourceforge/jnlp/runtime/RhinoBasedPacEvaluator.java2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 72d2cc4..a9dfb0c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2011-03-08 Denis Lila <[email protected]>
+ * netx/net/sourceforge/jnlp/runtime/RhinoBasedPacEvaluator.java
+ (getProxies): Add result to cache, not cachedResult.
+
+2011-03-08 Denis Lila <[email protected]>
+
* netx/net/sourceforge/jnlp/browser/FirefoxPreferencesFinder.java
(find): Close input stream.
* netx/net/sourceforge/jnlp/browser/FirefoxPreferencesParser.java
diff --git a/netx/net/sourceforge/jnlp/runtime/RhinoBasedPacEvaluator.java b/netx/net/sourceforge/jnlp/runtime/RhinoBasedPacEvaluator.java
index e08feb2..9f632f4 100644
--- a/netx/net/sourceforge/jnlp/runtime/RhinoBasedPacEvaluator.java
+++ b/netx/net/sourceforge/jnlp/runtime/RhinoBasedPacEvaluator.java
@@ -102,7 +102,7 @@ public class RhinoBasedPacEvaluator implements PacEvaluator {
}
String result = getProxiesWithoutCaching(url);
- addToCache(url, cachedResult);
+ addToCache(url, result);
return result;
}