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:
@@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user