private void addNewObjects(List<EDBObject> tempList) {
        for (EDBObject b : tempList) {
            String oid = b.getOID();
            ObjectDiff odiff = new ObjectDiff(this.startCommit, this.endCommit, null, b);
            if (odiff.getDifferenceCount() > 0) {
                diff.put(oid, odiff);
            }
        }
    }
private void addNewObjects ( List < EDBObject > tempList ) { for ( EDBObject b : tempList ) { String oid = b . getOID ( ) ; ObjectDiff odiff = new ObjectDiff ( this . startCommit , this . endCommit , null , b ) ; if ( odiff . getDifferenceCount ( ) > 0 ) { diff . put ( oid , odiff ) ; } } }
add all new object to the diff collection. As base to indicate if an object is new, the list of elements from the
end state which are left is taken.