question: protected boolean addHash ( Object entity , Hasher hasher ) { EntityType entityType = getElementType ( entity ) ; if ( entityType == UNKNOWN ) { return false ; } try { hasher . putString ( getJson ( entity , entityType ) , Charset . defaultCharset ( ) ) ; } catch ( RuntimeException e ) { return false ; } return true ; }
target:  Helper method to add entity to hash. If there is an invalid entity type it will return false