aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws/src
diff options
context:
space:
mode:
authorNolwenn Cadic <98824442+Nolwenn-cadic-sonarsource@users.noreply.github.com>2024-08-29 09:48:54 +0200
committersonartech <sonartech@sonarsource.com>2024-08-29 20:02:47 +0000
commit65a4363d09ad035edcb934b97c34cd69a85fbbf2 (patch)
tree39b02328b2df11c1b783289c23dd71862ae48b8c /sonar-ws/src
parenteaa0d3a6b3e864e8f0624496a73a59b2ac85960e (diff)
downloadsonarqube-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.java9
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) {
}