Hey Justin,

just a question. Working on getting all the jdbc catalog tests to pass
after merging with the latest per workspace settings work, I'm not
sure whether the old implementation of
DefaultCatalogFacade.getStyleByName(String name) is still accurate.

It is like this:
  public StyleInfo getStyleByName(String name) {
        for (Iterator s = styles.iterator(); s.hasNext();) {
            StyleInfo style = (StyleInfo) s.next();
            if (name.equals(style.getName())) {
                return ModificationProxy.create(style, StyleInfo.class);
            }
        }
        return null;
    }

Meaning that it'll return the first style with the given name,
regardless of it's workspace.
Is that the intended behaviour, or should it return only a style
that's "global".

TIA,
Gabriel.

-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to