public boolean removeChunk(PngChunk c){
  if (c == null)   return false;
  return queuedChunks.remove(c);
}

public boolean removeChunk ( PngChunk c ) { if ( c == null ) return false ; return queuedChunks . remove ( c ) ; }
remove chunk : only from queued warning : this depends on c . equals ( ) implementation , which is straightforward for singlechunks . for multiplechunks , it will normally check for reference equality !
