Commit 20edf8b4 authored by Steve Ikeoka's avatar Steve Ikeoka
Browse files

[GEOS-9155] Fixed unit test errors.

parent 2735982b
......@@ -116,18 +116,12 @@ public class FeatureWrapper extends BeansWrapper {
}
private Catalog getCatalog() {
if (gsCatalog != null) return gsCatalog;
try {
return (gsCatalog = (Catalog) GeoServerExtensions.bean("catalog2"));
} catch (NoSuchBeanDefinitionException e) {
try {
return (gsCatalog = (Catalog) GeoServerExtensions.bean("catalog"));
} catch (NoSuchBeanDefinitionException e2) {
} catch (NoSuchBeanDefinitionException e) {
return null;
}
}
}
/**
* Returns a sensible String value for attributes so they are easily used by templates.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment