Subversion Repositories SmartDukaan

Rev

Rev 4273 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4273 Rev 5552
Line 28... Line 28...
28
	    if(!itemIds.equals(""))	{
28
	    if(!itemIds.equals(""))	{
29
	    	String[] items = itemIds.split("\\s|\\n|\\t");
29
	    	String[] items = itemIds.split("\\s|\\n|\\t");
30
	    	int count = 0;
30
	    	int count = 0;
31
	    	for(String item: items)	{
31
	    	for(String item: items)	{
32
	    		if (! item.equals(this.id) && count < 10)	{
32
	    		if (! item.equals(this.id) && count < 10)	{
33
	    			snippets = snippets + ContentServingService.getSnippet(SnippetType.WIDGET_SNIPPET, item, sourceId);
33
	    			snippets = snippets + ContentServingService.getSnippet(SnippetType.MOST_COMPARED_PRODUCT_SNIPPET, item, sourceId);
34
	    			count ++;
34
	    			count ++;
35
	    		}
35
	    		}
36
	    	}
36
	    	}
37
	    }	    
37
	    }	    
38
	    return snippets;
38
	    return snippets;