jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <mreut...@adobe.com>
Subject Root.getTree(String)
Date Thu, 06 Sep 2012 12:29:04 GMT
hi,

the method Root.getTree(String) does not specify any restrictions for
the passed path string (relative, absolute?). RootImpl then forwards
the call to its rootTree which asserts that the path is absolute. I'd be
good to state this in JavaDoc. on the other hand it seems like the
implementation would also work OK with a relative path or even
an empty path as implemented in PathUtils.isValid(String).

opinions?

regards
 marcel

Mime
View raw message