Allon Mureinik has posted comments on this change. Change subject: core: find connections with same password ......................................................................
Patch Set 2: (1 comment) http://gerrit.ovirt.org/#/c/36320/2/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/ISCSIStorageHelper.java File backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/ISCSIStorageHelper.java: Line 155: } Line 156: } Line 157: return (List<StorageServerConnections>) CollectionUtils.subtract(connections, toRemove); Line 158: } Line 159: This need some javadoc to explain why it isn't just a dao call. Line 160: public static StorageServerConnections findConnectionWithSameDetails(StorageServerConnections connection) { Line 161: List<StorageServerConnections> connections = DbFacade.getInstance().getStorageServerConnectionDao().getAllForConnection(connection); Line 162: for (StorageServerConnections dbConnection : connections) { Line 163: if (ObjectUtils.objectsEqual(dbConnection.getpassword(), connection.getpassword())) { -- To view, visit http://gerrit.ovirt.org/36320 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I0fc70dd4e7988f4ea4597f016c9de8419c17adfa Gerrit-PatchSet: 2 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Liron Aravot <[email protected]> Gerrit-Reviewer: Allon Mureinik <[email protected]> Gerrit-Reviewer: Liron Aravot <[email protected]> Gerrit-Reviewer: [email protected] Gerrit-HasComments: Yes _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
