Howdy,
It appeaars to me that a 'break' could be included when checking if
feature type exists when splitting filters in the WFS data store.
See:
org.geotools.data.wfs.WFSDataStore
protected Filter[] splitFilters(Query q, Transaction t) throws
IOException
From:
boolean found = false;
for (int i = 0; i < fts.size(); i++)
if (fts.get(i) != null) {
FeatureSetDescription fsd = (FeatureSetDescription)
fts.get(i);
if (ft.getTypeName().equals(fsd.getName())) {
found = true;
} else {
String fsdName = (fsd.getName() == null) ? null
: fsd.getName().substring(fsd.getName()
.indexOf(":") + 1);
if (ft.getTypeName().equals(fsdName)) {
found = true;
}
}
}
To:
boolean found = false;
for (int i = 0; i < fts.size(); i++)
if (fts.get(i) != null) {
FeatureSetDescription fsd = (FeatureSetDescription)
fts.get(i);
if (ft.getTypeName().equals(fsd.getName())) {
found = true;
break;
} else {
String fsdName = (fsd.getName() == null) ? null
: fsd.getName().substring(fsd.getName()
.indexOf(":") + 1);
if (ft.getTypeName().equals(fsdName)) {
found = true;
break;
}
}
}
Cheers,
Shaun
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users