mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Coding standards and consistency sweep across new services code in repository project.
Covers spacing, trailing {, @since tags, tabs and copyright headers. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30211 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -37,7 +37,6 @@ import org.alfresco.service.cmr.repository.NodeRef;
|
||||
import org.alfresco.service.cmr.repository.ScriptLocation;
|
||||
import org.alfresco.service.cmr.repository.ScriptService;
|
||||
import org.alfresco.service.cmr.security.PersonService;
|
||||
import org.alfresco.service.namespace.NamespaceService;
|
||||
import org.alfresco.service.namespace.QName;
|
||||
import org.alfresco.service.namespace.RegexQNamePattern;
|
||||
import org.alfresco.util.BaseAlfrescoSpringTest;
|
||||
@@ -156,7 +155,8 @@ public class RatingServiceIntegrationTest extends BaseAlfrescoSpringTest
|
||||
try
|
||||
{
|
||||
ratingService.applyRating(nodeRef, illegalRating, schemeName);
|
||||
} catch (RatingServiceException expectedException)
|
||||
}
|
||||
catch (RatingServiceException expectedException)
|
||||
{
|
||||
return;
|
||||
}
|
||||
@@ -367,7 +367,8 @@ public class RatingServiceIntegrationTest extends BaseAlfrescoSpringTest
|
||||
{
|
||||
// But fiveStar rating scheme disallows rating your own content.
|
||||
ratingService.applyRating(testDoc_UserTwo, 4, FIVE_STAR_SCHEME_NAME);
|
||||
} catch (RatingServiceException expected)
|
||||
}
|
||||
catch (RatingServiceException expected)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user