[jbosscache-dev] javadocs for XmlHelper?

Manik Surtani manik at jboss.org
Fri Jul 13 04:38:26 EDT 2007


+1 - thanks for creating the JIRA.


On 12 Jul 2007, at 16:10, Galder Zamarreno wrote:

> Hi,
>
> XmlHelper methods don't have any Javadocs which means that unless  
> you read through
> the implementation, you can't know whether they can return null or  
> not, or whether they
> return empty strings...etc.
>
> I think we should write them so that the rest of the code does not  
> over/under checks the values
> retrieved from XML.
>
> Example: String readStringContents()
> Looking at the implementation, I can see null will never be  
> returned from the method call. I have to
> check for either empty or non empty Strings.
>
> Cheers,
> _______________________________________________
> jbosscache-dev mailing list
> jbosscache-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jbosscache-dev

--
Manik Surtani

Lead, JBoss Cache
JBoss, a division of Red Hat






More information about the jbosscache-dev mailing list