Liron Ar has posted comments on this change.

Change subject: core: adding BusinessEntityHelper (with buildIdMap)
......................................................................


Patch Set 1:

(1 comment)

http://gerrit.ovirt.org/#/c/26261/1/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/utils/BusinessEntityHelper.java
File 
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/utils/BusinessEntityHelper.java:

Line 5: 
Line 6: import org.ovirt.engine.core.common.businessentities.BusinessEntity;
Line 7: import org.ovirt.engine.core.compat.Guid;
Line 8: 
Line 9: public class BusinessEntityHelper {
> shouldn't be a static class?
nop, only inner classes can be declared as static and that static 'declaration' 
has a different meaning.
Line 10: 
Line 11:     private BusinessEntityHelper() {}
Line 12: 
Line 13:     public static <T extends BusinessEntity<Guid>> Map<Guid, T> 
buildIdMap(Iterable<T> businessEntities) {


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

Gerrit-MessageType: comment
Gerrit-Change-Id: Id9349aea29e68368ddbe39f63d33f30144ab73cd
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Liron Ar <lara...@redhat.com>
Gerrit-Reviewer: Allon Mureinik <amure...@redhat.com>
Gerrit-Reviewer: Daniel Erez <de...@redhat.com>
Gerrit-Reviewer: Liron Ar <lara...@redhat.com>
Gerrit-Reviewer: Tal Nisan <tni...@redhat.com>
Gerrit-Reviewer: automat...@ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to