aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws/src
diff options
context:
space:
mode:
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) {
}