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

@@ -35,7 +35,6 @@ import org.alfresco.util.ParameterCheck;
/**
* @author Nick Smith
* @since 4.0
*
*/
public class ChannelDependancyNodeFinder extends AbstractNodeFinder
{
@@ -67,13 +66,13 @@ public class ChannelDependancyNodeFinder extends AbstractNodeFinder
public Set<NodeRef> findFrom(NodeRef thisNode)
{
String typeId = (String) nodeService.getProperty(thisNode, PROP_CHANNEL_TYPE);
if(typeId !=null)
if (typeId !=null)
{
ChannelType type = channelService.getChannelType(typeId);
if(type != null)
if (type != null)
{
NodeFinder finder = type.getNodeFinder();
if(finder !=null)
if (finder !=null)
{
return finder.findFrom(thisNode);
}
@@ -81,5 +80,4 @@ public class ChannelDependancyNodeFinder extends AbstractNodeFinder
}
return Collections.emptySet();
}
}