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:
Gavin Cornwell
2011-09-02 21:10:49 +00:00
parent 8fddcdfd1b
commit 79093bd8ae
228 changed files with 3085 additions and 3161 deletions

View File

@@ -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;
}