AT&T 1712 and 1802 release code
[so.git] / common / src / main / java / org / openecomp / mso / client / aai / AAIValidatorImpl.java
@@ -35,14 +35,14 @@ public class AAIValidatorImpl implements AAIValidator {
 
 
        @Autowired
-       protected AAIRestClient client;
+       protected AAIRestClientI client;
        
-       public AAIRestClient getClient() {
+       public AAIRestClientI getClient() {
                return client;
        }
 
 
-       public void setClient(AAIRestClient client) {
+       public void setClient(AAIRestClientI client) {
                this.client = client;
        }
 
@@ -62,8 +62,8 @@ public class AAIValidatorImpl implements AAIValidator {
        public boolean isVNFLocked(String vnfId, String transactionLoggingUuid) throws Exception {
                boolean isLocked = false;
                GenericVnf genericVnf = client.getVnfByName(vnfId, transactionLoggingUuid);
-               if (genericVnf.isInMaint())
-                       isLocked = true;
+                       if (genericVnf.isInMaint())
+                               isLocked = true;
 
                return isLocked;
        }