if (this.localStrategies[i] != null) { try { this.localStrategies[i].close(); } catch (Throwable t) { LOG.error("Error closing local strategy for input " + i, t);
} else if (this.localStrategies[index] != null) { @SuppressWarnings("unchecked") MutableObjectIterator<X> iter = (MutableObjectIterator<X>) this.localStrategies[index].getIterator(); in = iter; } else {
if (this.localStrategies[i] != null) { try { this.localStrategies[i].close(); } catch (Throwable t) { LOG.error("Error closing local strategy for input " + i, t);
} else if (this.localStrategies[index] != null) { @SuppressWarnings("unchecked") MutableObjectIterator<X> iter = (MutableObjectIterator<X>) this.localStrategies[index].getIterator(); in = iter; } else {
if (this.localStrategies[i] != null) { try { this.localStrategies[i].close(); } catch (Throwable t) { LOG.error("Error closing local strategy for input " + i, t);
} else if (this.localStrategies[index] != null) { @SuppressWarnings("unchecked") MutableObjectIterator<X> iter = (MutableObjectIterator<X>) this.localStrategies[index].getIterator(); in = iter; } else {
if (this.localStrategies[i] != null) { try { this.localStrategies[i].close(); } catch (Throwable t) { LOG.error("Error closing local strategy for input " + i, t);
} else if (this.localStrategies[index] != null) { @SuppressWarnings("unchecked") MutableObjectIterator<X> iter = (MutableObjectIterator<X>) this.localStrategies[index].getIterator(); in = iter; } else {
this.localStrategy.close(); } catch (Throwable t) { LOG.error("Error closing local strategy", t);
this.localStrategy.close(); } catch (Throwable t) { LOG.error("Error closing local strategy", t);
this.localStrategy.close(); } catch (Throwable t) { LOG.error("Error closing local strategy", t);
this.localStrategy.close(); } catch (Throwable t) { LOG.error("Error closing local strategy", t);
this.localStrategies[i].close(); this.localStrategies[i] = null;
this.localStrategies[i].close(); this.localStrategies[i] = null;
this.localStrategies[i].close(); this.localStrategies[i] = null;
this.localStrategies[i].close(); this.localStrategies[i] = null;