I'm dynamically passing feeds based on the localfeedcontent.nsf database. If no feeds have been set up, the code throws a MalformedURLException in FeedReaderService.getAllEntriesFromURL(String). This can be resolved by adding a check for whether the String parameter passed is blank, in which case just returning an empty ArrayList, as below:
public List getAllEntriesFromURL(String strURL) {
List lstRC = new ArrayList();
if (!"".equals(strURL)) {
Thread currentThread = Thread.currentThread();
ClassLoader clCurrent = currentThread.getContextClassLoader();
I'm dynamically passing feeds based on the localfeedcontent.nsf database. If no feeds have been set up, the code throws a MalformedURLException in FeedReaderService.getAllEntriesFromURL(String). This can be resolved by adding a check for whether the String parameter passed is blank, in which case just returning an empty ArrayList, as below:
public List getAllEntriesFromURL(String strURL) {
List lstRC = new ArrayList();
if (!"".equals(strURL)) {
Thread currentThread = Thread.currentThread();
ClassLoader clCurrent = currentThread.getContextClassLoader();