protected void prepareConnection(URLConnection conn){
  if (metadataEnabled)   conn.setRequestProperty("Icy-MetaData","1");
}

protected void prepareConnection ( URLConnection conn ) { if ( metadataEnabled ) conn . setRequestProperty ( "Icy-MetaData" , "1" ) ; }
prepares the connection . this method is called before a connection is opened . actually sets " icy - metadata " header to " 1 " if metadata are enabled .
