diff options
author | Nolwenn Cadic <98824442+Nolwenn-cadic-sonarsource@users.noreply.github.com> | 2024-08-29 09:48:54 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2024-08-29 20:02:47 +0000 |
commit | 65a4363d09ad035edcb934b97c34cd69a85fbbf2 (patch) | |
tree | 39b02328b2df11c1b783289c23dd71862ae48b8c /sonar-ws/src | |
parent | eaa0d3a6b3e864e8f0624496a73a59b2ac85960e (diff) | |
download | sonarqube-65a4363d09ad035edcb934b97c34cd69a85fbbf2.tar.gz sonarqube-65a4363d09ad035edcb934b97c34cd69a85fbbf2.zip |
SONAR-22862 Refactor Github and Gitlab permission mappings controllers
Diffstat (limited to 'sonar-ws/src')
-rw-r--r-- | sonar-ws/src/main/java/org/sonarqube/ws/client/github/provisioning/permissions/AddGithubPermissionMappingRequest.java | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/github/provisioning/permissions/AddGithubPermissionMappingRequest.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/github/provisioning/permissions/AddGithubPermissionMappingRequest.java index 41706ed1a46..f9fa98e7b00 100644 --- a/sonar-ws/src/main/java/org/sonarqube/ws/client/github/provisioning/permissions/AddGithubPermissionMappingRequest.java +++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/github/provisioning/permissions/AddGithubPermissionMappingRequest.java @@ -19,13 +19,6 @@ */ package org.sonarqube.ws.client.github.provisioning.permissions; -public class AddGithubPermissionMappingRequest { - private final String githubRole; - private final SonarqubePermissions permissions; - - public AddGithubPermissionMappingRequest(String githubRole, SonarqubePermissions permissions) { - this.githubRole = githubRole; - this.permissions = permissions; - } +public record AddGithubPermissionMappingRequest(String role, SonarqubePermissions permissions) { } |