Allon Mureinik has uploaded a new change for review. Change subject: core: CommandBase: removed commented out blcoks ......................................................................
core: CommandBase: removed commented out blcoks Removed commented out blocks of code that there was no purpose in keeping. Change-Id: Ie0f71a5076ac438d0b5bbe256d658b7c4a724c4c Signed-off-by: Allon Mureinik <[email protected]> --- M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CommandBase.java 1 file changed, 0 insertions(+), 13 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/15/7615/1 diff --git a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CommandBase.java b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CommandBase.java index 4fb66f5..0a3634f 100644 --- a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CommandBase.java +++ b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CommandBase.java @@ -819,14 +819,6 @@ log.error(String.format("Command %1$s throw Database exception", getClass().getName()), e); ProcessExceptionToClient(new VdcFault(e, VdcBllErrors.DB)); } - // catch (LicenseException e) - // { - // log.error( - // string.Format("Command {0} throw License exception", GetType().Name), - // e); - // ProcessExceptionToClient(new VdcFault(e, VdcBllErrors.LICENSE)); - - // } catch (VdcBLLException e) { log.error(String.format("Command %1$s throw Vdc Bll exception. With error message %2$s", getClass().getName(), @@ -960,8 +952,6 @@ private void LogCommand() { Class<?> type = getClass(); - // Object[] attributes = new Object[] {}; // FIXED - // type.GetCustomAttributes(InternalCommandAttribute.class, false); InternalCommandAttribute annotation = type.getAnnotation(InternalCommandAttribute.class); if (annotation == null) { log(); @@ -969,9 +959,6 @@ } private boolean getTransactive() { - // Object[] attributes = new Object[] {}; // FIXED - // getClass().GetCustomAttributes(NonTransactiveCommandAttribute.class, - // true); NonTransactiveCommandAttribute annotation = getClass().getAnnotation(NonTransactiveCommandAttribute.class); return annotation == null; } -- To view, visit http://gerrit.ovirt.org/7615 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ie0f71a5076ac438d0b5bbe256d658b7c4a724c4c 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
