Juan Hernandez has submitted this change and it was merged.
Change subject: restapi: Make "JavaClassBuffer" a member instead of component
......................................................................
restapi: Make "JavaClassBuffer" a member instead of component
The class "JavaClassBuffer" used to generate Java code used to be a CDI
component, because it was created in one place and them used in other
places (to add "import" statements). That isn't required now because the
"JavaClassName" class contains all the required information, and can be
passed between components. This patch changes the "JavaClassBuffer" so
that it is created where needed and no longer an application scoped CDI
component.
Change-Id: Ic01813f186e670d5bc66035e1358e9614a85d618
Signed-off-by: Juan Hernandez <juan.hernandez(a)redhat.com>
---
M
backend/manager/modules/restapi/metamodel/tool/src/main/java/org/ovirt/api/metamodel/tool/EnumGenerator.java
M
backend/manager/modules/restapi/metamodel/tool/src/main/java/org/ovirt/api/metamodel/tool/JavaClassBuffer.java
M
backend/manager/modules/restapi/metamodel/tool/src/main/java/org/ovirt/api/metamodel/tool/JavaGenerator.java
M
backend/manager/modules/restapi/metamodel/tool/src/main/java/org/ovirt/api/metamodel/tool/JaxrsGenerator.java
4 files changed, 11 insertions(+), 28 deletions(-)
Approvals:
Juan Hernandez: Verified; Looks good to me, approved
Jenkins CI: Passed CI tests
--
To view, visit
https://gerrit.ovirt.org/50505
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ic01813f186e670d5bc66035e1358e9614a85d618
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Ori Liel <oliel(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>