Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)

100866: Merged 5.0.N (5.0.2) to HEAD-BUG-FIX (5.1/Cloud)
      100808: Fix compile error as a result of:
         Merged V4.2-BUG-FIX (4.2.5) to 5.0.N (5.0.2)
            99878: Merged V4.1-BUG-FIX (4.1.10) to V4.2-BUG-FIX (4.2.5)
               99807: Merged DEV to V4.1-BUG-FIX (4.1.10)
                  99672: MNT-12150 : Centera Connector : isContentUrlSupported is returning false for the Centera store
                     - Unit test to demonstrate issue was implemented.
                     - Previously suggested fix was also merged.
                  99781: MNT-12150 : Centera Connector : isContentUrlSupported is returning false for the Centera store
                     - Updated javadoc for new method in ContentDataDAO.
                     - Corrected logic of eager cleaner. If store is read-only content should not be deleted.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@100936 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Alan Davis
2015-03-31 23:21:05 +00:00
parent 014eec4b5a
commit 9233e37c9d

View File

@@ -166,7 +166,7 @@ public class ContentDataDAOImpl extends AbstractContentDataDAOImpl
final ContentUrlHandler contentUrlHandler,
final int maxResults)
{
List<ContentUrlEntity> results = (List<ContentUrlEntity>) template.selectList(SELECT_CONTENT_URLS_KEEP_ORPHANED,
List<ContentUrlEntity> results = template.selectList(SELECT_CONTENT_URLS_KEEP_ORPHANED,
new RowBounds(0, maxResults));
// Pass the result to the callback
for (ContentUrlEntity result : results)