Merge branch '3.3.x'

Closes gh-41608
This commit is contained in:
Andy Wilkinson 2024-07-24 19:23:04 +01:00
commit f1e98d0a73
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")