public static JournalEntry getEntry(List<JournalEntry> msgs, String key)
	{
		if(msgs==null)
			return null;
		if((key==null)||(key.length()==0))
			return null;
		int index = msgs.indexOf(key);
		if(index >=0)
		{
			if(index<msgs.size())
				return msgs.get(index);
			return null;
		}
		for (final JournalEntry entry : msgs)
		{
			if(entry.key().equalsIgnoreCase(key))
				return entry;
		}
		return null;
	}