public ObjectId computeId(ObjectInserter ins) {if (buf != null)return ins.idFor(OBJ_TREE, buf, 0, ptr);final long len = overflowBuffer.length();try {return ins.idFor(OBJ_TREE, len, overflowBuffer.openInputStream());} catch (IOException e) {throw new RuntimeException(e);}}

public ObjectId computeId ( ObjectInserter ins ) { if ( buf != null ) return ins . idFor ( OBJ_TREE , buf , 0 , ptr ) ; final long len = overflowBuffer . length ( ) ; try { return ins . idFor ( OBJ_TREE , len , overflowBuffer . openInputStream ( ) ) ; } catch ( IOException e ) { throw new RuntimeException ( e ) ; } }
public virtual ObjectId ComputeId(ObjectInserter ins){if (buf != null){return ins.IdFor(Constants.OBJ_TREE, buf, 0, ptr);}long len = overflowBuffer.Length();try{return ins.IdFor(Constants.OBJ_TREE, len, overflowBuffer.OpenInputStream());}catch (IOException e){throw new RuntimeException(e);}}
