return null;
throw new IOException("[RepositoryBorwser] Could not connect to repository, most likely the repository server is down");
	private List getPomProxies(String urlAddress, char[] startPatternChar) {		InputStreamReader inputStreamReader = null;		StringBuffer buffer = null;		List poms = new ArrayList();		try {			inputStreamReader = getReader(urlAddress);			int charInt;			int startPatternLength = startPatternChar.length;			int patternCounter = 0;			char patternChar =startPatternChar[0];			boolean read = false;			while ((charInt = inputStreamReader.read()) != -1) {				char c = (char) charInt;				// are we reading a name of a file at the moment?				if (read) {					// yes, we do.....					// is the end of the name reached?					if (c == HTML_LINK_END_PATTERN) {						// yes it is, store the name and reset the buffer and read variable						String fileName = buffer.toString();						ProxyPom pomProxy = ProxyPom.getInstanceOfGroupBundles(fileName, this);						poms.add(pomProxy);						buffer = null;						read = false;					}					else {						// append character of name						buffer.append(c);					}				}				// check if the start pattern fits				else if (c == patternChar) {					if (++patternCounter == startPatternLength) {						// startpattern discovered						buffer = new StringBuffer();						read = true;						patternCounter = 0;					}					// search for the next character					patternChar = startPatternChar[patternCounter];				}				else if (patternCounter != 0) {					// start again from the beginning					patternChar = startPatternChar[0];					patternCounter = 0;				}			}		}		catch (MalformedURLException e) {			getLogger().log(Level.WARNING, "[RepositoryBrowser] URL is malformed: "+ urlAddress , e);			return null;		}		catch (IOException e) {	       	getLogger().log(Level.WARNING, "[RepositoryBrowser] Could not open URL: "+ urlAddress , e);	       	return null;		}		finally  {			try {				if (inputStreamReader != null) {					inputStreamReader.close();				}		    }		    catch (IOException e) {		    	// do not hide existing exception		    }		}		return poms;	}