Issue-ID: AAF-835
Change-Id: I46bc1fcd083a26fe45f10f6f69913840fe4cdbaf
Signed-off-by: Instrumental <jonathan.gathman@att.com>
if (protocol!=null) {
locate.setProtocol(protocol);
List<String> ls = locate.getSubprotocol();
- if(ls==null || ls.isEmpty()) {
+ // ls cannot be null, per generated getSubprotocol code
+ if(ls.isEmpty()) {
String subprotocols = access.getProperty(Config.AAF_LOCATOR_SUBPROTOCOL + dot_le, null);
if(subprotocols==null) {
subprotocols = access.getProperty(Config.CADI_PROTOCOLS, null);