renamed ignored exception to ignored

This commit is contained in:
adriancole 2013-04-10 08:15:57 -07:00
parent 5bc0678a1c
commit 7db3af1b1e
1 changed files with 2 additions and 2 deletions

View File

@ -427,14 +427,14 @@ public class ContextBuilder {
try { try {
modules modules
.add(new BindApiContextWithWildcardExtendsExplicitAndRawType(HttpApiMetadata.class.cast(apiMetadata))); .add(new BindApiContextWithWildcardExtendsExplicitAndRawType(HttpApiMetadata.class.cast(apiMetadata)));
} catch (IllegalArgumentException e) { } catch (IllegalArgumentException ignored) {
} }
} else if (apiMetadata instanceof RestApiMetadata) { } else if (apiMetadata instanceof RestApiMetadata) {
try { try {
modules.add(new BindRestContextWithWildcardExtendsExplicitAndRawType(RestApiMetadata.class modules.add(new BindRestContextWithWildcardExtendsExplicitAndRawType(RestApiMetadata.class
.cast(apiMetadata))); .cast(apiMetadata)));
} catch (IllegalArgumentException e) { } catch (IllegalArgumentException ignored) {
} }
} }