Permalink
Browse files

LPS-26857 Source formatting

  • Loading branch information...
1 parent 15cf40f commit 3209446eed9ed6f952873d256f28c04163eb2b96 @brianchandotcom brianchandotcom committed Apr 25, 2012
@@ -1213,28 +1213,29 @@ public DLFileEntry updateStatus(
// File versions
if (oldStatus == WorkflowConstants.STATUS_IN_TRASH) {
- List<DLFileVersion> trashedFileVersions =
+ List<DLFileVersion> trashedDLFileVersions =
dlFileVersionPersistence.findByF_S(
dlFileEntry.getFileEntryId(),
WorkflowConstants.STATUS_IN_TRASH);
- for (DLFileVersion trashedFileVersion : trashedFileVersions) {
- trashedFileVersion.setStatus(WorkflowConstants.STATUS_APPROVED);
+ for (DLFileVersion trashedDLFileVersion : trashedDLFileVersions) {
+ trashedDLFileVersion.setStatus(
+ WorkflowConstants.STATUS_APPROVED);
- dlFileVersionPersistence.update(trashedFileVersion, false);
+ dlFileVersionPersistence.update(trashedDLFileVersion, false);
}
}
else if (status == WorkflowConstants.STATUS_IN_TRASH) {
- List<DLFileVersion> approvedFileVersions =
+ List<DLFileVersion> approvedDLFileVersions =
dlFileVersionPersistence.findByF_S(
dlFileEntry.getFileEntryId(),
WorkflowConstants.STATUS_APPROVED);
- for (DLFileVersion approvedFileVersion : approvedFileVersions) {
- approvedFileVersion.setStatus(
+ for (DLFileVersion approvedDLFileVersion : approvedDLFileVersions) {
+ approvedDLFileVersion.setStatus(
WorkflowConstants.STATUS_IN_TRASH);
- dlFileVersionPersistence.update(approvedFileVersion, false);
+ dlFileVersionPersistence.update(approvedDLFileVersion, false);
}
}

0 comments on commit 3209446

Please sign in to comment.