Allon Mureinik has uploaded a new change for review. Change subject: core: TypeCompat: GetProperties -> getProperties ......................................................................
core: TypeCompat: GetProperties -> getProperties Renamed method to adhere to proper Java conventions. Change-Id: If9f2069c43cad0233f2f9e4fbbad01b2bfb39e47 Signed-off-by: Allon Mureinik <[email protected]> --- M backend/manager/modules/compat/src/main/java/org/ovirt/engine/core/compat/backendcompat/TypeCompat.java M backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/ObjectIdentityChecker.java 2 files changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/00/21400/1 diff --git a/backend/manager/modules/compat/src/main/java/org/ovirt/engine/core/compat/backendcompat/TypeCompat.java b/backend/manager/modules/compat/src/main/java/org/ovirt/engine/core/compat/backendcompat/TypeCompat.java index 13e808a..14f188c 100644 --- a/backend/manager/modules/compat/src/main/java/org/ovirt/engine/core/compat/backendcompat/TypeCompat.java +++ b/backend/manager/modules/compat/src/main/java/org/ovirt/engine/core/compat/backendcompat/TypeCompat.java @@ -16,7 +16,7 @@ private static final String CLASS = "class"; private static final Log log = LogFactory.getLog(TypeCompat.class); - public static List<PropertyInfo> GetProperties(Class<?> type) { + public static List<PropertyInfo> getProperties(Class<?> type) { List<PropertyInfo> returnValue = new ArrayList<PropertyInfo>(); try { PropertyDescriptor[] pds = Introspector.getBeanInfo(type).getPropertyDescriptors(); diff --git a/backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/ObjectIdentityChecker.java b/backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/ObjectIdentityChecker.java index a009719..241ceb2 100644 --- a/backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/ObjectIdentityChecker.java +++ b/backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/ObjectIdentityChecker.java @@ -179,7 +179,7 @@ final List<String> returnValue = new ArrayList<String>(); if (source.getClass().isInstance(destination)) { Class<?> objectType = source.getClass(); - List<PropertyInfo> properties = TypeCompat.GetProperties(objectType); + List<PropertyInfo> properties = TypeCompat.getProperties(objectType); for (PropertyInfo property : properties) { Object sourceValue = property.getValue(source, null); Object destinationValue = property.getValue(destination, null); -- To view, visit http://gerrit.ovirt.org/21400 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: If9f2069c43cad0233f2f9e4fbbad01b2bfb39e47 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Allon Mureinik <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
