REPO-1525: PdfBoxMetadataExtracterTest failures on Oracle, MSSQL Server, DB2

- Another Java8 to Java7 compliation fallback.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132557 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Alex Mukha
2016-11-08 13:14:27 +00:00
parent 2b129ae1b6
commit c6f82e5489

View File

@@ -127,8 +127,8 @@ public class PdfBoxMetadataExtracterTest extends AbstractMetadataExtracterTest
public void testConcurrentExtractions() throws InterruptedException public void testConcurrentExtractions() throws InterruptedException
{ {
int threadNum = 11; final int threadNum = 11;
Map<String, Boolean> threadResults = new ConcurrentHashMap<>(); final Map<String, Boolean> threadResults = new ConcurrentHashMap<>();
for (int i = 0; i < threadNum; i++) for (int i = 0; i < threadNum; i++)
{ {
new Thread(new Runnable() new Thread(new Runnable()