From 193e33b67de0fdfa5de215d553949c40e6a10e14 Mon Sep 17 00:00:00 2001 From: James Reynaldi Date: Fri, 23 Aug 2024 14:20:16 +0200 Subject: [PATCH] Reformat Code Using google-java-format 1.23.0 --- .github/dependabot.yml | 42 +- .github/pull_request_template.md | 4 + .run/Build Backend No Checkstyle.run.xml | 58 +- .run/Build Backend.run.xml | 54 +- .run/Clean Install.run.xml | 52 +- .run/Db2.run.xml | 32 +- .run/Debug Frontend.run.xml | 9 +- .run/Postgres.run.xml | 30 +- .run/Start Frontend.run.xml | 20 +- .run/Stop all DB.run.xml | 30 +- .run/Test E2E.run.xml | 59 +- .run/Test Frontend.run.xml | 20 +- ci/mvnsettings.xml | 40 +- common/kadai-common-logging/pom.xml | 4 +- .../internal/logging/LoggingAspect.java | 42 +- .../internal/logging/LoggingAspectTest.java | 10 +- common/kadai-common-security/pom.xml | 4 +- common/kadai-common-test/pom.xml | 4 +- .../common/test/security/JaasExtension.java | 132 +- .../test/security/JaasExtensionTest.java | 49 +- common/kadai-common/pom.xml | 4 +- .../java/io/kadai/common/api/BaseQuery.java | 20 +- .../io/kadai/common/api/CustomHoliday.java | 8 +- .../common/api/exceptions/KadaiException.java | 8 +- .../api/exceptions/KadaiRuntimeException.java | 8 +- .../exceptions/NotAuthorizedException.java | 4 +- .../parser/MapPropertyParser.java | 5 +- .../configuration/parser/SimpleParser.java | 14 +- .../persistence/InstantTypeHandler.java | 14 +- .../transaction/KadaiTransactionProvider.java | 4 +- .../internal/util/ComparableVersion.java | 76 +- .../io/kadai/common/internal/util/Pair.java | 8 +- .../WorkingTimeCalculatorImpl.java | 40 +- history/kadai-loghistory-provider/pom.xml | 4 +- .../impl/LogfileHistoryServiceImplTest.java | 10 +- .../impl/SimpleHistoryServiceImpl.java | 3 +- .../test/java/acceptance/AbstractAccTest.java | 62 +- ...eateHistoryEventOnTaskTransferAccTest.java | 8 +- .../query/QueryTaskHistoryAccTest.java | 3 +- .../rest/TaskHistoryQueryFilterParameter.java | 288 +- .../TaskHistoryEventRepresentationModel.java | 25 + .../src/main/resources/META-INF/beans.xml | 2 +- .../src/test/resources/arquillian.xml | 4 +- .../kadai/common/internal/KadaiProducers.java | 4 +- .../src/main/resources/META-INF/beans.xml | 2 +- .../src/test/resources/arquillian.xml | 4 +- .../src/test/resources/int-test-jboss-web.xml | 4 +- .../java/acceptance/ArchitectureTest.java | 382 +- .../src/test/java/acceptance/PojoTest.java | 38 +- .../jobs/AbstractKadaiJobAccTest.java | 52 +- .../java/io/kadai/KadaiConfiguration.java | 78 +- .../internal/ClassificationServiceImpl.java | 36 +- .../java/io/kadai/common/api/KadaiEngine.java | 90 +- .../internal/jobs/AbstractKadaiJob.java | 88 +- .../kadai/task/internal/TaskServiceImpl.java | 146 +- .../task/internal/jobs/TaskCleanupJob.java | 8 +- .../internal/jobs/TaskUpdatePriorityJob.java | 8 +- .../jobs/helper/TaskUpdatePriorityWorker.java | 8 +- .../internal/models/ObjectReferenceImpl.java | 36 +- .../task/internal/models/TaskSummaryImpl.java | 8 +- .../internal/WorkbasketQueryImpl.java | 22 +- .../internal/jobs/WorkbasketCleanupJob.java | 8 +- .../example/KadaiTransactionIntTest.java | 20 +- .../resources/test-applicationContext.xml | 4 +- .../KadaiDependencyInjectionExtension.java | 14 +- .../KadaiInitializationExtension.java | 90 +- .../extensions/TestContainerExtension.java | 58 +- .../kadai/testapi/security/JaasExtension.java | 128 +- .../testapi/security/JaasExtensionTest.java | 46 +- pom.xml | 2 +- .../boot/ExampleRestConfiguration.java | 3 +- .../security/BootWebSecurityConfigurer.java | 2 +- .../src/main/resources/templates/login.html | 32 +- ...rchRootsForUseDnForGroupsDisabledTest.java | 11 +- .../java/io/kadai/example/ldap/LdapTest.java | 8 +- .../src/main/resources/templates/login.html | 30 +- .../src/main/webapp/WEB-INF/jboss-web.xml | 4 +- .../src/main/webapp/WEB-INF/web.xml | 4 +- .../io/kadai/common/test/rest/RestHelper.java | 32 +- .../example/wildfly/AbstractAccTest.java | 110 +- .../example/wildfly/KadaiWildflyTest.java | 3 +- .../KadaiWildflyWithUserConfigTest.java | 3 +- .../src/test/resources/arquillian.xml | 4 +- .../src/test/resources/int-test-jboss-web.xml | 4 +- .../src/test/resources/int-test-web.xml | 4 +- rest/kadai-rest-spring-test-lib/pom.xml | 4 +- .../java/io/kadai/rest/test/RestHelper.java | 32 +- .../ClassificationQueryFilterParameter.java | 113 +- .../ClassificationRepresentationModel.java | 8 +- .../rest/KadaiRestExceptionHandler.java | 7 +- .../common/rest/QueryPagingParameter.java | 16 +- .../kadai/common/rest/QuerySortParameter.java | 24 +- .../kadai/common/rest/RestConfiguration.java | 3 +- .../io/kadai/common/rest/ldap/LdapClient.java | 63 +- .../KadaiUserInfoRepresentationModel.java | 17 +- .../monitor/rest/ReportFilterParameter.java | 440 +- .../models/ReportRepresentationModel.java | 10 + .../io/kadai/task/rest/TaskController.java | 3 +- .../rest/TaskQueryFilterCustomFields.java | 512 +- .../rest/TaskQueryFilterCustomIntFields.java | 567 +- .../task/rest/TaskQueryFilterParameter.java | 3456 ++++++------- .../task/rest/TaskQueryGroupByParameter.java | 57 +- ...onResultsRepresentationModelAssembler.java | 3 +- .../AttachmentSummaryRepresentationModel.java | 7 + .../TaskCommentRepresentationModel.java | 6 + .../rest/models/TaskRepresentationModel.java | 1 + .../TaskSummaryRepresentationModel.java | 55 +- .../kadai/user/jobs/UserInfoRefreshJob.java | 4 +- ...kbasketAccessItemQueryFilterParameter.java | 32 +- .../workbasket/rest/WorkbasketController.java | 11 +- .../rest/WorkbasketQueryFilterParameter.java | 72 +- .../WorkbasketSummaryRepresentationModel.java | 2 +- ...ationRepresentationModelAssemblerTest.java | 20 +- ...mmaryRepresentationModelAssemblerTest.java | 50 +- ...ollerForUseDnForGroupsDisabledIntTest.java | 33 +- .../rest/AccessIdControllerIntTest.java | 23 +- .../rest/KadaiEngineControllerIntTest.java | 6 +- .../common/rest/ldap/LdapClientTest.java | 46 +- ...mmaryRepresentationModelAssemblerTest.java | 32 +- ...sultsRepresentationModelAssemblerTest.java | 3 +- ...renceRepresentationModelAssemblerTest.java | 22 +- ...mmaryRepresentationModelAssemblerTest.java | 166 +- .../UserRepresentationModelAssemblerTest.java | 44 +- .../rest/WorkbasketControllerIntTest.java | 2 +- ...mmaryRepresentationModelAssemblerTest.java | 50 +- routing/dmn-xlsx-converter/LEGAL_NOTICE.md | 6 +- routing/dmn-xlsx-converter/README.md | 14 +- routing/dmn-xlsx-converter/pom.xml | 4 +- .../dmn/xlsx/AdvancedSpreadsheetAdapter.java | 10 +- .../org/camunda/bpm/dmn/xlsx/BaseAdapter.java | 1 - .../bpm/dmn/xlsx/DmnConversionContext.java | 6 +- .../bpm/dmn/xlsx/DmnValueNumberConverter.java | 2 - .../bpm/dmn/xlsx/DmnValueRangeConverter.java | 13 +- .../xlsx/FeelSimpleUnaryTestConverter.java | 1 - .../SimpleInputOutputDetectionStrategy.java | 2 - .../StaticInputOutputDetectionStrategy.java | 2 - .../camunda/bpm/dmn/xlsx/XlsxConverter.java | 21 +- .../bpm/dmn/xlsx/XlsxWorksheetContext.java | 1 - .../bpm/dmn/xlsx/XlsxWorksheetConverter.java | 59 +- .../bpm/dmn/xlsx/api/SpreadsheetAdapter.java | 9 +- .../bpm/dmn/xlsx/elements/IndexedRow.java | 1 - .../dmn/xlsx/DmnValueRangeMatcherTest.java | 37 +- .../InputOutputDetectionStrategyTest.java | 5 +- .../org/camunda/bpm/dmn/xlsx/TestHelper.java | 4 +- .../bpm/dmn/xlsx/XslxToDmnConversionTest.java | 10 +- .../src/test/resources/log4j2-test.xml | 20 +- routing/kadai-routing-rest/pom.xml | 4 +- routing/kadai-spi-routing-dmn-router/pom.xml | 4 +- routing/pom.xml | 4 +- web/.vscode/launch.json | 32 +- web/.vscode/settings.json | 18 +- web/angular.json | 9 +- .../access-items-management.component.html | 76 +- .../classification-details.component.html | 110 +- .../classification-list.component.html | 33 +- ...assification-types-selector.component.html | 4 +- .../import-export.component.html | 10 +- .../type-icon/icon-type.component.html | 4 +- .../workbasket-access-items.component.html | 102 +- ...basket-distribution-targets.component.html | 67 +- .../workbasket-information.component.html | 86 +- .../workbasket-list-toolbar.component.html | 12 +- .../workbasket-list.component.html | 36 +- .../workbasket-overview.component.html | 10 +- .../task-history-query.component.html | 108 +- .../classification-report.component.html | 5 +- .../components/monitor/monitor.component.html | 28 +- .../report-table/report-table.component.html | 2 +- ...task-priority-report-filter.component.html | 4 +- .../task-priority-report.component.html | 20 +- .../task-report/task-report.component.html | 2 +- .../workbasket-report-due-date.component.html | 7 +- ...kbasket-report-planned-date.component.html | 7 +- .../workbasket-report.component.html | 2 +- .../Settings/settings.component.html | 4 +- .../field-error-display.component.html | 2 +- .../components/nav-bar/nav-bar.component.html | 4 +- .../pagination/pagination.component.html | 22 +- .../popup/dialog-pop-up.component.html | 2 +- .../components/sort/sort.component.html | 14 +- .../components/spinner/spinner.component.html | 2 +- .../task-filter/task-filter.component.html | 27 +- .../type-ahead/type-ahead.component.html | 22 +- .../user-information.component.html | 6 +- .../workbasket-filter.component.html | 56 +- .../routing-upload.component.html | 21 +- .../task-attribute-value.component.html | 25 +- .../task-custom-fields.component.html | 10 +- .../task-details/task-details.component.html | 29 +- .../task-information.component.html | 116 +- .../task-list-toolbar.component.html | 45 +- .../task-list/task-list.component.html | 10 +- .../task-master/task-master.component.html | 9 +- .../task-processing.component.html | 12 +- .../task-status-details.component.html | 49 +- .../icons-fonts/MaterialIcons-Regular.svg | 4598 +++++++++-------- web/src/assets/icons/asterisk.svg | 5 +- web/src/assets/icons/categories/automatic.svg | 5 +- web/src/assets/icons/categories/external.svg | 5 +- web/src/assets/icons/categories/manual.svg | 5 +- .../assets/icons/categories/missing-icon.svg | 24 +- web/src/assets/icons/categories/process.svg | 5 +- web/src/assets/icons/classification-empty.svg | 5 +- web/src/assets/icons/clearance.svg | 5 +- web/src/assets/icons/export.svg | 7 +- web/src/assets/icons/import.svg | 7 +- web/src/assets/icons/logo-copy.svg | 286 +- web/src/assets/icons/logo.svg | 286 +- web/src/assets/icons/noaccess.svg | 7 +- web/src/assets/icons/topic.svg | 7 +- web/src/assets/icons/user.svg | 5 +- web/src/assets/icons/users.svg | 7 +- web/src/assets/icons/wb-empty.svg | 5 +- web/src/assets/icons/wb-full.svg | 5 +- web/src/index.html | 4 +- web/src/tsconfig.app.json | 13 +- web/tsconfig.spec.json | 15 +- 217 files changed, 8047 insertions(+), 7762 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index b3af732435..0e3547761a 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,23 +1,23 @@ version: 2 updates: -- package-ecosystem: maven - directory: "/" - schedule: - interval: daily - time: "06:00" - timezone: Europe/Berlin - open-pull-requests-limit: 99 -- package-ecosystem: github-actions - directory: "/" - schedule: - interval: daily - time: "06:00" - timezone: Europe/Berlin - open-pull-requests-limit: 99 -- package-ecosystem: docker - directory: "/" - schedule: - interval: daily - time: "06:00" - timezone: Europe/Berlin - open-pull-requests-limit: 99 + - package-ecosystem: maven + directory: "/" + schedule: + interval: daily + time: "06:00" + timezone: Europe/Berlin + open-pull-requests-limit: 99 + - package-ecosystem: github-actions + directory: "/" + schedule: + interval: daily + time: "06:00" + timezone: Europe/Berlin + open-pull-requests-limit: 99 + - package-ecosystem: docker + directory: "/" + schedule: + interval: daily + time: "06:00" + timezone: Europe/Berlin + open-pull-requests-limit: 99 diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 0843fb44f2..f580353158 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,7 +1,9 @@ + ### Thanks for your PR! Please fill out the following list :) --- + - [ ] I put the ticket or multiple tickets in review - [ ] Commit message format → Closes #<Issue Number> - Your commit message. - [ ] Sonarcloud link : \ @@ -9,7 +11,9 @@ - [ ] Link to PR with documentation update: \ - [ ] No Release Notes needed - [ ] Release Notes : + + ``` ``` \ No newline at end of file diff --git a/.run/Build Backend No Checkstyle.run.xml b/.run/Build Backend No Checkstyle.run.xml index fb744193d8..c9e4e85b42 100644 --- a/.run/Build Backend No Checkstyle.run.xml +++ b/.run/Build Backend No Checkstyle.run.xml @@ -1,31 +1,31 @@ - - - - - - + + + + + + \ No newline at end of file diff --git a/.run/Build Backend.run.xml b/.run/Build Backend.run.xml index 8243e8bd5c..983e2e8e62 100644 --- a/.run/Build Backend.run.xml +++ b/.run/Build Backend.run.xml @@ -1,29 +1,29 @@ - - - - - - + + + + + + \ No newline at end of file diff --git a/.run/Clean Install.run.xml b/.run/Clean Install.run.xml index 79c403145a..4702ba6d7e 100644 --- a/.run/Clean Install.run.xml +++ b/.run/Clean Install.run.xml @@ -1,28 +1,28 @@ - - - - - - + + + + + + \ No newline at end of file diff --git a/.run/Db2.run.xml b/.run/Db2.run.xml index d01393b12b..5fd5d55ddb 100644 --- a/.run/Db2.run.xml +++ b/.run/Db2.run.xml @@ -1,18 +1,18 @@ - - + + \ No newline at end of file diff --git a/.run/Debug Frontend.run.xml b/.run/Debug Frontend.run.xml index 7ced59e6bb..7c1dbc5218 100644 --- a/.run/Debug Frontend.run.xml +++ b/.run/Debug Frontend.run.xml @@ -1,6 +1,7 @@ - - - - + + + + \ No newline at end of file diff --git a/.run/Postgres.run.xml b/.run/Postgres.run.xml index bd91fd207a..d338cdffae 100644 --- a/.run/Postgres.run.xml +++ b/.run/Postgres.run.xml @@ -1,17 +1,17 @@ - - + + \ No newline at end of file diff --git a/.run/Start Frontend.run.xml b/.run/Start Frontend.run.xml index 4e37c3bcb9..e3070f6874 100644 --- a/.run/Start Frontend.run.xml +++ b/.run/Start Frontend.run.xml @@ -1,12 +1,12 @@ - - - - -