Project

General

Profile

Revision 5913

blank configuration value should be treated the same as null

View differences:

src/edu/ucsb/nceas/metacat/spatial/SpatialFeatureSchema.java
44 44
		try {
45 45
			
46 46
			String geoserverDataDir = PropertyService.getProperty("geoserver.GEOSERVER_DATA_DIR");
47
			if (geoserverDataDir != null) {
47
			if (geoserverDataDir != null && geoserverDataDir.length() > 0) {
48 48
				// use configured resource (might be same as local)
49 49
				polygonShpUri = geoserverDataDir + "/data/metacat_shps/data_bounds.shp";
50 50
				pointShpUri = geoserverDataDir + "/data/metacat_shps/data_points.shp";

Also available in: Unified diff