going the long way to merge
[dmaap/dbcapi.git] / src / main / java / org / onap / dmaap / dbcapi / service / DcaeLocationService.java
index 44166b8..23d44d1 100644 (file)
@@ -88,6 +88,9 @@ public class DcaeLocationService {
        
        public boolean isEdgeLocation(String aName) {
                DcaeLocation loc = dcaeLocations.get(aName);
+               if ( loc == null ) {
+                       return false;
+               }
                if ( ! loc.isCentral() ) {
                                return true;
                }