ICU-12611 Silence some issues found through static analysis.

X-SVN-Rev: 38955
This commit is contained in:
George Rhoten 2016-07-07 14:10:09 +00:00
parent c3fc04f0e2
commit 485812384e
2 changed files with 2 additions and 2 deletions

View File

@ -1248,7 +1248,7 @@ public class OlsonTimeZone extends BasicTimeZone {
finalZone.setID(tzid);
}
initialized = true;
} catch (Exception e) {
} catch (Exception ignored) {
// throw away
}
}

View File

@ -207,7 +207,7 @@ public class ICULocaleServiceProvider {
locBld.setVariant(var.toString());
ULocale ulocWithVar = locBld.build();
locales.add(ulocWithVar.toLocale());
} catch (Exception e) {
} catch (Exception ignored) {
// ignore
}
}