public static JcrVersion[] wrap(Version delegate[], JcrSession session) {
if (delegate == null) {
return null;
} else {
JcrVersion res[] = new JcrVersion[delegate.length];
for (int i = 0; i < delegate.length; ++i) {
res[i] = wrap(delegate[i], session);
}
return res;
}