Source:
<code>synchronized RequestStatus getStatus() { boolean totalFinalized = false; int total = 0, min = 0, fetched = 0, fatal = 0, failed = 0; <START> Date latestSuccess = CurrentTimeUTC.get(), latestFailure = null; <END> if(progressPending != null) { totalFinalized = progressPending.isTotalFinalized(); total = (int) progressPending.getTotalBlocks(); min = (int) progressPending.getMinBlocks(); fetched = (int) progressPending.getFetchedBlocks(); latestSuccess = progressPending.getLatestSuccess(); fatal = (int) progressPending.getFatalyFailedBlocks(); failed = (int) progressPending.getFailedBlocks(); latestFailure = progressPending.getLatestFailure(); } if(finished && succeeded) totalFinalized = true; FetchExceptionMode failureCode = null; String failureReasonShort = null; String failureReasonLong = null; if(getFailedMessage != null) { failureCode = getFailedMessage.code; failureReasonShort = getFailedMessage.getShortFailedMessage(); failureReasonShort = getFailedMessage.getLongFailedMessage(); } String mimeType = foundDataMimeType; long dataSize = foundDataLength; File target = getDestFilename(); if(target != null) target = new File(target.getPath()); Bucket shadow = (finished && succeeded) ? getBucket() : null; if(shadow != null) { if(dataSize != shadow.size()) { Logger.error(this, "Size of downloaded data has changed: "+dataSize+" -> "+shadow.size()+" on "+shadow); shadow = null; } else { shadow = shadow.createShadow(); } } boolean filterData; boolean overriddenDataType; filterData = fctx.filterData; overriddenDataType = fctx.overrideMIME != null || fctx.charset != null; return new DownloadRequestStatus( identifier, persistence, started, finished, succeeded, total, min, fetched, latestSuccess, fatal, failed, latestFailure, totalFinalized, priorityClass, failureCode, mimeType, dataSize, target, getCompatibilityMode(), getOverriddenSplitfileCryptoKey(), getURI(), failureReasonShort, failureReasonLong, overriddenDataType, shadow, filterData, getDontCompress()); }</code><technical_language>Multiple variables in a single declaration is [not allowed coding standards](<LINK_0> latestSuccess start current time? Is assumption correct getStatus() called (and progress) progressPending set</technical_language>

Target:
synchronized RequestStatus getStatus() { boolean totalFinalized = false; int total = 0, min = 0, fetched = 0, fatal = 0, failed = 0; Date latestSuccess = CurrentTimeUTC.get(); Date latestFailure = null; if(progressPending != null) { totalFinalized = progressPending.isTotalFinalized(); total = (int) progressPending.getTotalBlocks(); min = (int) progressPending.getMinBlocks(); fetched = (int) progressPending.getFetchedBlocks(); latestSuccess = progressPending.getLatestSuccess(); fatal = (int) progressPending.getFatalyFailedBlocks(); failed = (int) progressPending.getFailedBlocks(); latestFailure = progressPending.getLatestFailure(); } if(finished && succeeded) totalFinalized = true; FetchExceptionMode failureCode = null; String failureReasonShort = null; String failureReasonLong = null; if(getFailedMessage != null) { failureCode = getFailedMessage.code; failureReasonShort = getFailedMessage.getShortFailedMessage(); failureReasonShort = getFailedMessage.getLongFailedMessage(); } String mimeType = foundDataMimeType; long dataSize = foundDataLength; File target = getDestFilename(); if(target != null) target = new File(target.getPath()); Bucket shadow = (finished && succeeded) ? getBucket() : null; if(shadow != null) { if(dataSize != shadow.size()) { Logger.error(this, "Size of downloaded data has changed: "+dataSize+" -> "+shadow.size()+" on "+shadow); shadow = null; } else { shadow = shadow.createShadow(); } } boolean filterData; boolean overriddenDataType; filterData = fctx.filterData; overriddenDataType = fctx.overrideMIME != null || fctx.charset != null; return new DownloadRequestStatus( identifier, persistence, started, finished, succeeded, total, min, fetched, latestSuccess, fatal, failed, latestFailure, totalFinalized, priorityClass, failureCode, mimeType, dataSize, target, getCompatibilityMode(), getOverriddenSplitfileCryptoKey(), getURI(), failureReasonShort, failureReasonLong, overriddenDataType, shadow, filterData, getDontCompress()); }