A PEASANT had in his garden an Apple-Tree which bore no fruit but only served as a harbor for the sparrows and grasshoppers .