Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Nov 3, 2009
  1. @adriaanm

    fixed #2500 (second part)

    adriaanm authored
    missed some compile errors because I didn't do a full recompile...
  2. @adriaanm

    fixed #2500: refactoring collections so that a ...

    adriaanm authored
    fixed #2500: refactoring collections so that a `collection.{Map|SortedMap|SortedSet}` can be built from the corresponding collection (thus, do not require the immutable one)
    
    pulling up newBuilder method from Immutable*Factory to *Factory, and
    inheriting *Factory in scala.collection companion objects, instead of
    the Immutable*Factory this way, you can, e.g., build a collection.Map
    from a collection.Map (instead of requiring an immutable.Map)
Commits on Oct 21, 2009
  1. @adriaanm

    renamed BuilderFactory[El, To, From] -> CanBuil...

    adriaanm authored
    renamed BuilderFactory[El, To, From] -> CanBuildFrom[From, El, To] and
    added apply() overload to create collections from scratch generically
    
    added def apply() overload to BuilderFactory so that we can also create collections from scratch generically
    (see test test/files/pos/collectGenericCC.scala)
    
    renaming:
    - BuilderFactory[El, To, From] -> CanBuildFrom[From, El, To]
        bulk type-param reordering using: s/CanBuildFrom\[\s*([^,()\s]*)\s*,(\s+[^\s,()]*)\s*,\s+([^\s,()]*)\s*\]/CanBuildFrom[$3, $1,$2]/
        some argument lists got mixed up because they contained 4 comma's...
    - builderFactory -> canBuildFrom
    
    removed explicit implicit value in DocDriver that was
    renamed renamed collection/generic/BuilderFactory.scala ->
    collection/generic/CanBuildFrom.scala
    
    tested with clean build using ant strap.done -- everything went well on my machine
Something went wrong with that request. Please try again.