FileResultHandlerWrapper.java
1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*
* Decompiled with CFR 0_118.
*
* Could not load the following classes:
* com.adobe.aemfd.docmanager.Document
*/
package com.adobe.aemfd.watchfolder.job;
import com.adobe.aemfd.docmanager.Document;
import com.adobe.aemfd.watchfolder.config.WatchFolderConfiguration;
import com.adobe.aemfd.watchfolder.job.FileResultHandlerImpl;
import com.adobe.aemfd.watchfolder.util.DocUtil;
import java.io.File;
import java.util.Map;
/*
* This class specifies class file version 49.0 but uses Java 6 signatures. Assumed Java 6.
*/
public class FileResultHandlerWrapper
extends FileResultHandlerImpl {
public FileResultHandlerWrapper(WatchFolderConfiguration config) {
super(config);
}
/*
* WARNING - Removed try catching itself - possible behaviour change.
*/
@Override
public void handleSuccess(Map<String, Document> response, File input, String jobId) {
try {
super.handleSuccess(response, input, jobId);
}
finally {
DocUtil.disposeAll(response);
}
}
}