Mine
public text v1 · immutable if (myFTC == null){
DataStore store = DataStoreUtils.acquireDataStore(
myDSC.getConnectionParams(),
(ServletContext)null
);
FeatureType type = store.getSchema(featureTypeName);
if (type == null){
throw new Exception(
"FeatureType " + featureTypeName +
" in DataStore " + dataStoreName +
"not found."
);
} else {
myFTC = new FeatureTypeConfig(dataStoreName, type, false);
}
}