void METHOD_1 ( TYPE_1 msg ) { out.write ( VAR_1 ) ; out.write ( msg . getText ( ) ) ; out.write ( "\n" ) ; out . METHOD_2 ( ) ; }
void METHOD_1 ( TYPE_1 msg ) { synchronized ( out ) { out.write ( VAR_1 ) ; out.write ( msg . getText ( ) ) ; out.write ( "\n" ) ; out . METHOD_2 ( ) ; } }