mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Add @since tags where known, and do a quick coding standards sweep
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31023 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -99,7 +99,8 @@ public class TikaAutoMetadataExtracterTest extends AbstractMetadataExtracterTest
|
||||
new Mp3Parser(), new OOXMLParser()
|
||||
}) {
|
||||
Set<MediaType> mts = p.getSupportedTypes(new ParseContext());
|
||||
for (MediaType mt : mts) {
|
||||
for (MediaType mt : mts)
|
||||
{
|
||||
mimeTypes.add(mt.toString());
|
||||
}
|
||||
}
|
||||
@@ -159,7 +160,8 @@ public class TikaAutoMetadataExtracterTest extends AbstractMetadataExtracterTest
|
||||
protected boolean skipAuthorCheck(String mimetype) { return true; }
|
||||
|
||||
@Override
|
||||
protected boolean skipDescriptionCheck(String mimetype) {
|
||||
protected boolean skipDescriptionCheck(String mimetype)
|
||||
{
|
||||
if(mimetype.endsWith("/ogg"))
|
||||
{
|
||||
return true;
|
||||
@@ -171,7 +173,8 @@ public class TikaAutoMetadataExtracterTest extends AbstractMetadataExtracterTest
|
||||
* We also provide the creation date - check that
|
||||
*/
|
||||
protected void testFileSpecificMetadata(String mimetype,
|
||||
Map<QName, Serializable> properties) {
|
||||
Map<QName, Serializable> properties)
|
||||
{
|
||||
|
||||
// Check for extra fields
|
||||
// Author isn't there for the OpenDocument ones
|
||||
|
Reference in New Issue
Block a user