Skip to content

Commit 293376f

Browse files
committed
fixed build issue
1 parent b7b5af1 commit 293376f

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

src/main/java/com/docusign/controller/eSignature/examples/EG045ControllerDeleteRestoreEnvelope.java

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525
@Controller
2626
@RequestMapping("/eg045")
2727
public class EG045ControllerDeleteRestoreEnvelope extends AbstractEsignatureController {
28+
public static final String RECYCLE_BIN_FOLDER_ID = "recyclebin";
29+
2830
public static final String SENT_ITEMS_FOLDER_NAME = "Sent items";
2931

3032
public static final String EXAMPLE_NUMBER = "/eg045";
@@ -59,7 +61,8 @@ protected Object doWork(WorkArguments args, ModelMap model,
5961
DoneExample.createDefault(getTextForCodeExampleByApiType().ExampleName)
6062
.withMessage(
6163
MessageFormat.format(
62-
getTextForCodeExampleByApiType().AdditionalPage.get(0).ResultsPageText,
64+
getTextForCodeExampleByApiType().AdditionalPage
65+
.get(0).ResultsPageText,
6366
envelopeId))
6467
.withRedirect(EXAMPLE_NUMBER + RESTORE_ENVELOPE)
6568
.addToModel(model, config);
@@ -91,13 +94,15 @@ public String postRestoreEnvelope(WorkArguments args, ModelMap model) throws Exc
9194
ApiClient apiClient = createApiClient(session.getBasePath(), user.getAccessToken());
9295

9396
FoldersResponse availableFolders = DeleteRestoreEnvelopeService.getFolders(apiClient, accountId);
94-
Folder folder = DeleteRestoreEnvelopeService.getFolderIdByName(availableFolders.getFolders(), folderName);
97+
Folder folder = DeleteRestoreEnvelopeService.getFolderIdByName(availableFolders.getFolders(),
98+
folderName);
9599

96100
if (folder == null) {
97101
DoneExample.createDefault(getTextForCodeExampleByApiType().ExampleName)
98102
.withMessage(
99103
MessageFormat.format(
100-
getTextForCodeExampleByApiType().AdditionalPage.get(1).ResultsPageText,
104+
getTextForCodeExampleByApiType().AdditionalPage
105+
.get(1).ResultsPageText,
101106
folderName))
102107
.withRedirect(EXAMPLE_NUMBER + RESTORE_ENVELOPE)
103108
.addToModel(model, config);

0 commit comments

Comments
 (0)