question: private void addToContent ( final String name , final byte [ ] byteContents ) { Iterator < TransferContent > it = contents . iterator ( ) ; while ( it . hasNext ( ) ) { if ( name . equals ( it . next ( ) . name ) ) { logger . info ( "Replacing old '" + name + "' layer." ) ; it . remove ( ) ; } } final TransferContent content = new TransferContent ( ) ; content . name = name ; content . cacheable = true ; logger . debug ( "Layer timestamp: " + Integer . toString ( content . timestamp ) ) ; content . data = byteContents ; content . timestamp = CRC . cmpCRC ( content . data ) ; contents . add ( content ) ; }
target:  Creates a new TransferContent for the specified data and adds it to the contents list.