220221222223224225226227228229230231232233234235236
Iterator<RemSearchPluginSearch> it = searches.values().iterator(); while( it.hasNext()){ RemSearchPluginSearch search = it.next(); if ( search.getAge() > SEARCH_TIMEOUT ){ log( "Timeout: " + search.getString()); search.destroy(); } } } }); }