package org.folio.okapi.bean;

/**
 * List of Permissions (and permission sets) belonging to a module. Used as a
 * parameter in the system request to initialize the permission module when a
 * module is being enabled for a tenant.
 *
 * @author heikki
 */
public class PermissionList {
  String moduleId; // The module that owns these permissions.
  Permission[] perms;

  public PermissionList(String moduleId, Permission[] perms) {
    this.moduleId = moduleId;
    this.perms = perms;
  }

  public PermissionList(PermissionList other) {
    this.moduleId = other.moduleId;
    this.perms = other.perms;
  }

  public String getModuleId() {
    return moduleId;
  }

  public void setModuleId(String moduleId) {
    this.moduleId = moduleId;
  }

  public Permission[] getPerms() {
    return perms;
  }

  public void setPerms(Permission[] perms) {
    this.perms = perms;
  }

}

@@ -491,127 +491,8 @@
  %7D%0A%0A
-  public PermissionList(PermissionList other) %7B%0A    this.moduleId = other.moduleId;%0A    this.perms = other.perms;%0A  %7D%0A%0A
   pu

Remove PermissionList copy constructor