Skip to content

Commit

Permalink
Renamed args array.
Browse files Browse the repository at this point in the history
  • Loading branch information
agoncharuk committed Feb 5, 2016
1 parent 532b373 commit a30f84a
Showing 1 changed file with 5 additions and 5 deletions.
Expand Up @@ -5545,7 +5545,7 @@ private static class LoadCacheJob<K, V> extends TopologyVersionAwareJob {
private final IgniteBiPredicate<K, V> p;

/** */
private final Object[] args;
private final Object[] loadArgs;

/** */
private final ExpiryPolicy plc;
Expand All @@ -5554,15 +5554,15 @@ private static class LoadCacheJob<K, V> extends TopologyVersionAwareJob {
* @param cacheName Cache name.
* @param topVer Affinity topology version.
* @param p Predicate.
* @param args Arguments.
* @param loadArgs Arguments.
* @param plc Policy.
*/
private LoadCacheJob(String cacheName, AffinityTopologyVersion topVer, IgniteBiPredicate<K, V> p, Object[] args,
private LoadCacheJob(String cacheName, AffinityTopologyVersion topVer, IgniteBiPredicate<K, V> p, Object[] loadArgs,
ExpiryPolicy plc) {
super(cacheName, topVer);

this.p = p;
this.args = args;
this.loadArgs = loadArgs;
this.plc = plc;
}

Expand All @@ -5574,7 +5574,7 @@ private LoadCacheJob(String cacheName, AffinityTopologyVersion topVer, IgniteBiP
if (plc != null)
cache = cache.withExpiryPolicy(plc);

cache.localLoadCache(p, args);
cache.localLoadCache(p, loadArgs);

return null;
}
Expand Down

0 comments on commit a30f84a

Please sign in to comment.