Merge branch '3.2.x' into 3.3.x

Closes gh-41607
This commit is contained in:
Andy Wilkinson 2024-07-24 19:22:49 +01:00
commit a00304de28
1 changed files with 2 additions and 2 deletions

View File

@ -150,11 +150,11 @@ class BootArchiveSupport {
}
private Integer getDirMode(CopySpec copySpec) {
return getMode(copySpec, "getDirPermissions", copySpec::getDirMode);
return getMode(copySpec, "getDirPermissions", () -> copySpec.getDirMode());
}
private Integer getFileMode(CopySpec copySpec) {
return getMode(copySpec, "getFilePermissions", copySpec::getFileMode);
return getMode(copySpec, "getFilePermissions", () -> copySpec.getFileMode());
}
@SuppressWarnings("unchecked")