Liron Aravot has posted comments on this change.

Change subject: core: find connections with same password
......................................................................


Patch Set 4:

(1 comment)

http://gerrit.ovirt.org/#/c/36320/4/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 162:         // result,
Line 163:         // we can't query the connections to check if connection with 
the exact
Line 164:         // same details was already added - so we query the 
connections with the same (currently relevant) details and
Line 165:         // then compare the password after it was already
Line 166:         // decrypted.
> This should be in the javadoc, to make it more visible to IDEs, but other t
Allon, can you take a look at the comment in the previous patchset regards that 
issue?
I don't think that this thing should be in the javadoc, that's internal 
implementation detail of the function.
If you are still not convinvced, i'll move it.
Line 167:         List<StorageServerConnections> connections =
Line 168:                 
DbFacade.getInstance().getStorageServerConnectionDao().getAllForConnection(connection);
Line 169:         for (StorageServerConnections dbConnection : connections) {
Line 170:             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: 4
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-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to