ICU-12611 Silence some issues found through static analysis.
X-SVN-Rev: 38955
This commit is contained in:
parent
c3fc04f0e2
commit
485812384e
@ -1248,7 +1248,7 @@ public class OlsonTimeZone extends BasicTimeZone {
|
||||
finalZone.setID(tzid);
|
||||
}
|
||||
initialized = true;
|
||||
} catch (Exception e) {
|
||||
} catch (Exception ignored) {
|
||||
// throw away
|
||||
}
|
||||
}
|
||||
|
@ -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
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user