Fixup Augmentable and Identifiable methods changing 54/71254/6
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 24 Apr 2018 13:15:44 +0000 (15:15 +0200)
committerRobert Varga <nite@hq.sk>
Sun, 3 Jun 2018 21:12:40 +0000 (21:12 +0000)
This is a fixup of the change in binding codegen, adjusting:
- getKey() -> key()
- setKey() -> withKey()
- getAugmentation() -> augmentation()

Change-Id: I84a38f788b84e4db50cf1006ad36f6fb0863907b
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
aaa-cert/src/main/java/org/opendaylight/aaa/cert/utils/KeyStoresDataUtils.java

index 8a4605883c0bf79ee7e8a8bddd69dfaf4616e7e0..9e697f30701481b04b710b2b1f470ff972fcd854 100644 (file)
@@ -65,12 +65,12 @@ public class KeyStoresDataUtils {
     public SslData addSslData(final DataBroker dataBroker, final String bundleName, final OdlKeystore odlKeystore,
             final TrustKeystore trustKeystore, final List<CipherSuites> cipherSuites, final String tlsProtocols) {
         final SslDataKey sslDataKey = new SslDataKey(bundleName);
-        final SslData sslData = new SslDataBuilder().setKey(sslDataKey).setOdlKeystore(encryptOdlKeyStore(odlKeystore))
+        final SslData sslData = new SslDataBuilder().withKey(sslDataKey).setOdlKeystore(encryptOdlKeyStore(odlKeystore))
                 .setTrustKeystore(encryptTrustKeystore(trustKeystore)).setCipherSuites(cipherSuites)
                 .setTlsProtocols(tlsProtocols).build();
 
         if (MdsalUtils.put(dataBroker, LogicalDatastoreType.CONFIGURATION, getSslDataIid(bundleName), sslData)) {
-            return new SslDataBuilder().setKey(sslDataKey).setOdlKeystore(odlKeystore).setTrustKeystore(trustKeystore)
+            return new SslDataBuilder().withKey(sslDataKey).setOdlKeystore(odlKeystore).setTrustKeystore(trustKeystore)
                     .setCipherSuites(cipherSuites).build();
         } else {
             return null;