Bug 60349 [implementation] reduce warnings due to core.runtime deprecations
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/SpellCheckEngine.java
URL url= null;
		Locale locale= null;
		InputStream stream= null;
		final Set result= new HashSet();
		try {
			final URL location= getDictionaryLocation();
			final Locale[] locales= Locale.getAvailableLocales();
			for (int index= 0; index < locales.length; index++) {
				locale= locales[index];
				url= new URL(location, locale.toString().toLowerCase() + "." + JavaUIMessages.getString("Spelling.dictionary.file.extension")); 
				try {
					stream= url.openStream();
					if (stream != null) {
						try {
							result.add(locale);
						} finally {
							stream.close();
						}
					}
				} catch (IOException exception) {
					
				}
			}
		} catch (MalformedURLException exception) {
			
		}
		result.add(getDefaultLocale());
		return result;
	}
	/**