question: public synchronized String generateTag ( ) { return Integer . toHexString ( rand . nextInt ( ) ) ; }
target:  Generate a tag for a FROM header or TO header. Just return a random 4 digit integer (should be enough to avoid any clashes!) Tags only need to be unique within a call.