Merge "blame: Add base url to _getBlameForBaseLine"
diff --git a/java/com/google/gerrit/common/data/AccessSection.java b/java/com/google/gerrit/common/data/AccessSection.java
index 18682e3..b9bd995 100644
--- a/java/com/google/gerrit/common/data/AccessSection.java
+++ b/java/com/google/gerrit/common/data/AccessSection.java
@@ -98,7 +98,7 @@
   public abstract static class Builder {
     private final List<Permission.Builder> permissionBuilders;
 
-    public Builder() {
+    protected Builder() {
       permissionBuilders = new ArrayList<>();
     }
 
diff --git a/java/com/google/gerrit/server/project/ProjectConfig.java b/java/com/google/gerrit/server/project/ProjectConfig.java
index 727bf44..0dbdd16 100644
--- a/java/com/google/gerrit/server/project/ProjectConfig.java
+++ b/java/com/google/gerrit/server/project/ProjectConfig.java
@@ -408,7 +408,7 @@
       String name = section.getName();
       if (sectionsWithUnknownPermissions.contains(name)) {
         AccessSection.Builder a = accessSections.get(name).toBuilder();
-        a.modifyPermissions(p -> p.clear());
+        a.modifyPermissions(List::clear);
         accessSections.put(name, a.build());
       } else {
         accessSections.remove(name);