Source:
<code>public PathProperties(final OffsetDateTime creationTime, final OffsetDateTime lastModified, final String eTag, final long fileSize, final String contentType, final byte[] contentMd5, final String contentEncoding, final String contentDisposition, final String contentLanguage, final String cacheControl, final LeaseStatusType leaseStatus, final LeaseStateType leaseState, final LeaseDurationType leaseDuration, final String copyId, final CopyStatusType copyStatus, final String copySource, final String copyProgress, final OffsetDateTime copyCompletionTime, final String copyStatusDescription, final Boolean isServerEncrypted, final Boolean isIncrementalCopy, final AccessTier accessTier, final ArchiveStatus archiveStatus, final String encryptionKeySha256, final OffsetDateTime accessTierChangeTime, final Map<String, String> metadata) { this.creationTime = creationTime; this.lastModified = lastModified; this.eTag = eTag; this.fileSize = fileSize; this.contentType = contentType; this.contentMd5 = CoreUtils.clone(contentMd5); this.contentEncoding = contentEncoding; this.contentDisposition = contentDisposition; this.contentLanguage = contentLanguage; this.cacheControl = cacheControl; this.leaseStatus = leaseStatus; this.leaseState = leaseState; this.leaseDuration = leaseDuration; this.copyId = copyId; this.copyStatus = copyStatus; this.copySource = copySource; this.copyProgress = copyProgress; this.copyCompletionTime = copyCompletionTime; this.copyStatusDescription = copyStatusDescription; this.isServerEncrypted = isServerEncrypted; this.isIncrementalCopy = isIncrementalCopy; this.accessTier = accessTier; this.archiveStatus = archiveStatus; this.encryptionKeySha256 = encryptionKeySha256; this.accessTierChangeTime = accessTierChangeTime; this.metadata = metadata; if (this.metadata == null) { this.isDirectory = false; } else { <START> this.isDirectory = String.valueOf(true) .equalsIgnoreCase(metadata.get(Constants.HeaderConstants.DIRECTORY_METADATA_KEY)); <END> } }</code><technical_language>Mind replacing this Boolean.parseBoolean(metadata.get(Constants.HeaderConstants.DIRECTORY_METADATA_KEY)), thing</technical_language>

Target:
public PathProperties(final OffsetDateTime creationTime, final OffsetDateTime lastModified, final String eTag, final long fileSize, final String contentType, final byte[] contentMd5, final String contentEncoding, final String contentDisposition, final String contentLanguage, final String cacheControl, final LeaseStatusType leaseStatus, final LeaseStateType leaseState, final LeaseDurationType leaseDuration, final String copyId, final CopyStatusType copyStatus, final String copySource, final String copyProgress, final OffsetDateTime copyCompletionTime, final String copyStatusDescription, final Boolean isServerEncrypted, final Boolean isIncrementalCopy, final AccessTier accessTier, final ArchiveStatus archiveStatus, final String encryptionKeySha256, final OffsetDateTime accessTierChangeTime, final Map<String, String> metadata) { this.creationTime = creationTime; this.lastModified = lastModified; this.eTag = eTag; this.fileSize = fileSize; this.contentType = contentType; this.contentMd5 = CoreUtils.clone(contentMd5); this.contentEncoding = contentEncoding; this.contentDisposition = contentDisposition; this.contentLanguage = contentLanguage; this.cacheControl = cacheControl; this.leaseStatus = leaseStatus; this.leaseState = leaseState; this.leaseDuration = leaseDuration; this.copyId = copyId; this.copyStatus = copyStatus; this.copySource = copySource; this.copyProgress = copyProgress; this.copyCompletionTime = copyCompletionTime; this.copyStatusDescription = copyStatusDescription; this.isServerEncrypted = isServerEncrypted; this.isIncrementalCopy = isIncrementalCopy; this.accessTier = accessTier; this.archiveStatus = archiveStatus; this.encryptionKeySha256 = encryptionKeySha256; this.accessTierChangeTime = accessTierChangeTime; this.metadata = metadata; if (this.metadata == null) { this.isDirectory = false; } else { this.isDirectory = Boolean.parseBoolean(metadata.get(Constants.HeaderConstants.DIRECTORY_METADATA_KEY)); } }