Daniel Erez has posted comments on this change.

Change subject: core,webadmin: GetConfigurationValuesQuery for UI cache
......................................................................


Patch Set 5: (2 inline comments)

I prefer to keep it as a single patch - the test is related enough to the query.

....................................................
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/GetConfigurationValuesQuery.java
Line 22:     private static List<String> getVersionsList() {
Line 23:         List<String> versions = new ArrayList<String>();
Line 24:         versions.add(Config.DefaultConfigurationVersion);
Line 25:         for (Version version : Version.ALL) {
Line 26:             versions.add(version.toString());
Can't, I need the toString representation of them.
Line 27:         }
Line 28:         return versions;
Line 29:     }
Line 30: 


....................................................
File 
backend/manager/modules/common/src/test/java/org/ovirt/engine/core/common/queries/ConfigValuesTest.java
Line 33:                 break;
Line 34:             }
Line 35:         }
Line 36: 
Line 37:         assertFalse(missingKey);
There's already a log message inside the condition in case of a missing key, I 
think it's enough.
Line 38:     }


--
To view, visit http://gerrit.ovirt.org/8563
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Id51a9f86bceef07de728335643b16c0554b6876c
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Daniel Erez <de...@redhat.com>
Gerrit-Reviewer: Allon Mureinik <amure...@redhat.com>
Gerrit-Reviewer: Alona Kaplan <alkap...@redhat.com>
Gerrit-Reviewer: Daniel Erez <de...@redhat.com>
Gerrit-Reviewer: Michael Kublin <mkub...@redhat.com>
Gerrit-Reviewer: Roy Golan <rgo...@redhat.com>
Gerrit-Reviewer: Tomas Jelinek <tjeli...@redhat.com>
Gerrit-Reviewer: Vojtech Szocs <vsz...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to