Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/2.11.x' into merge/2.11.x-to-2.1…
Browse files Browse the repository at this point in the history
…2.x-20160225

 Conflicts:
 	scripts/jobs/integrate/bootstrap
 	src/build/maven/scala-actors-pom.xml
 	test/files/pos/t3420.flags

Conflicts were trivial to resolve.
  • Loading branch information
retronym committed Feb 25, 2016
2 parents d375334 + e0fc92a commit 964630e
Show file tree
Hide file tree
Showing 48 changed files with 120 additions and 96 deletions.
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ We are super happy about this, and are eager to make your experience contributin

This is why we're collecting these notes on how to contribute, and we hope you'll share your experience to improve the process for the next contributor! (Feel free to send a PR for this note, send your thoughts to scala-internals, or tweet about it to @adriaanm.)

By the way, the team at Typesafe is: @adriaanm, @lrytz, @retronym, and @SethTisue.
By the way, the team at Lightbend (formerly Typesafe) is: @adriaanm, @lrytz, @retronym, @SethTisue, and @szeiger.

## What kind of PR are you submitting?

Regardless of the nature of your Pull Request, we have to ask you to digitally sign the [Scala CLA](http://www.typesafe.com/contribute/cla/scala), to protect the OSS nature of the code base.
Regardless of the nature of your Pull Request, we have to ask you to digitally sign the [Scala CLA](http://www.lightbend.com/contribute/cla/scala), to protect the OSS nature of the code base.

You don't need to submit separate PRs for 2.11.x, 2.12.x, and 2.13.x. Any changes accepted on one of these branches will, in time, be merged into the later branches.

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ This is the official repository for the [Scala Programming Language](http://www.

# How to contribute

To contribute to the Scala Standard Library, Scala Compiler and Scala Language Specification, please send us a [pull request](https://help.github.com/articles/using-pull-requests/#fork--pull) from your fork of this repository! We do have to ask you to sign the [Scala CLA](http://www.typesafe.com/contribute/cla/scala) before we can merge any of your work into our code base, to protect its open source nature.
To contribute to the Scala Standard Library, Scala Compiler and Scala Language Specification, please send us a [pull request](https://help.github.com/articles/using-pull-requests/#fork--pull) from your fork of this repository! We do have to ask you to sign the [Scala CLA](http://www.lightbend.com/contribute/cla/scala) before we can merge any of your work into our code base, to protect its open source nature.

For more information on building and developing the core of Scala, read on!

Expand Down Expand Up @@ -133,8 +133,8 @@ Here, `<milestone>` is the milestone targeted by the PR (e.g., 2.11.6), and `<sh
### Eclipse
See `src/eclipse/README.md`.

### IntelliJ 14
See `src/intellij/README.md`.
### IntelliJ 15
See [src/intellij/README.md](src/intellij/README.md).

## Building with sbt (EXPERIMENTAL)

Expand Down
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,8 @@ lazy val commonSettings = clearSourceAndResourceDirectories ++ publishSettings +
<name>EPFL LAMP</name>
</developer>
<developer>
<id>Typesafe</id>
<name>Typesafe, Inc.</name>
<id>Lightbend</id>
<name>Lightbend, Inc.</name>
</developer>
</developers>
apiURL.value match {
Expand Down
2 changes: 1 addition & 1 deletion doc/LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Scala is licensed under the [BSD 3-Clause License](http://opensource.org/license

Copyright (c) 2002-2016 EPFL

Copyright (c) 2011-2016 Typesafe, Inc.
Copyright (c) 2011-2016 Lightbend, Inc. (formerly Typesafe, Inc.)

All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion doc/License.rtf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
\fs40 \

\fs26 Copyright (c) 2002-2016 EPFL\
Copyright (c) 2011-2016 Typesafe, Inc.\
Copyright (c) 2011-2016 Lightbend, Inc. (formerly Typesafe, Inc.)\
All rights reserved.\
\
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:\
Expand Down
4 changes: 3 additions & 1 deletion project/VersionUtil.scala
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,9 @@ object VersionUtil {
val in = new FileInputStream(file("versions.properties"))
try props.load(in)
finally in.close()
props.asScala.toMap
props.asScala.toMap.map {
case (k, v) => (k, sys.props.getOrElse(k, v)) // allow system properties to override versions.properties
}
}

/** Get a subproject version number from `versionProps` */
Expand Down
Empty file modified scripts/jobs/integrate/bootstrap
100755 → 100644
Empty file.
3 changes: 1 addition & 2 deletions src/build/genprod.scala
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import scala.language.postfixOps
* where the argument is the desired output directory
*
* @author Burak Emir, Stephane Micheloud, Geoffrey Washburn, Paul Phillips
* @version 1.1
*/
object genprod extends App {
val MAX_ARITY = 22
Expand Down Expand Up @@ -353,7 +352,7 @@ object ProductTwo extends Product(2)

class Product(val i: Int) extends Group("Product") with Arity {
val productElementComment = """
/** Returns the n-th projection of this product if 0 < n <= productArity,
/** Returns the n-th projection of this product if 0 <= n < productArity,
* otherwise throws an `IndexOutOfBoundsException`.
*
* @param n number of the projection to be returned
Expand Down
4 changes: 2 additions & 2 deletions src/build/maven/scala-compiler-doc-pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@
<name>EPFL LAMP</name>
</developer>
<developer>
<id>Typesafe</id>
<name>Typesafe, Inc.</name>
<id>Lightbend</id>
<name>Lightbend, Inc.</name>
</developer>
</developers>
</project>
4 changes: 2 additions & 2 deletions src/build/maven/scala-compiler-interactive-pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
<name>EPFL LAMP</name>
</developer>
<developer>
<id>Typesafe</id>
<name>Typesafe, Inc.</name>
<id>Lightbend</id>
<name>Lightbend, Inc.</name>
</developer>
</developers>
</project>
4 changes: 2 additions & 2 deletions src/build/maven/scala-compiler-pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@
<name>EPFL LAMP</name>
</developer>
<developer>
<id>Typesafe</id>
<name>Typesafe, Inc.</name>
<id>Lightbend</id>
<name>Lightbend, Inc.</name>
</developer>
</developers>
</project>
4 changes: 2 additions & 2 deletions src/build/maven/scala-dist-pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@
<name>EPFL LAMP</name>
</developer>
<developer>
<id>Typesafe</id>
<name>Typesafe, Inc.</name>
<id>Lightbend</id>
<name>Lightbend, Inc.</name>
</developer>
</developers>
</project>
4 changes: 2 additions & 2 deletions src/build/maven/scala-library-all-pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@
<name>EPFL LAMP</name>
</developer>
<developer>
<id>Typesafe</id>
<name>Typesafe, Inc.</name>
<id>Lightbend</id>
<name>Lightbend, Inc.</name>
</developer>
</developers>
</project>
4 changes: 2 additions & 2 deletions src/build/maven/scala-library-pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
<name>EPFL LAMP</name>
</developer>
<developer>
<id>Typesafe</id>
<name>Typesafe, Inc.</name>
<id>Lightbend</id>
<name>Lightbend, Inc.</name>
</developer>
</developers>
</project>
4 changes: 2 additions & 2 deletions src/build/maven/scala-reflect-pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
<name>EPFL LAMP</name>
</developer>
<developer>
<id>Typesafe</id>
<name>Typesafe, Inc.</name>
<id>Lightbend</id>
<name>Lightbend, Inc.</name>
</developer>
</developers>
</project>
4 changes: 2 additions & 2 deletions src/build/maven/scalap-pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
<name>EPFL LAMP</name>
</developer>
<developer>
<id>Typesafe</id>
<name>Typesafe, Inc.</name>
<id>Lightbend</id>
<name>Lightbend, Inc.</name>
</developer>
</developers>
</project>
6 changes: 5 additions & 1 deletion src/compiler/scala/tools/nsc/GenericRunnerCommand.scala
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,11 @@ A file argument will be run as a scala script unless it contains only
self-contained compilation units (classes and objects) and exactly one
runnable main method. In that case the file will be compiled and the
main method invoked. This provides a bridge between scripts and standard
scala source.%n"""
scala source.

When running a script or using -e, an already running compilation daemon
(fsc) is used, or a new one started on demand. The -nc option can be
used to prevent this.%n"""
}

object GenericRunnerCommand {
Expand Down
2 changes: 1 addition & 1 deletion src/library/scala/Product1.scala
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ trait Product1[@specialized(Int, Long, Double) +T1] extends Any with Product {
override def productArity = 1


/** Returns the n-th projection of this product if 0 < n <= productArity,
/** Returns the n-th projection of this product if 0 <= n < productArity,
* otherwise throws an `IndexOutOfBoundsException`.
*
* @param n number of the projection to be returned
Expand Down
2 changes: 1 addition & 1 deletion src/library/scala/Product10.scala
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ trait Product10[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10] extends Any w
override def productArity = 10


/** Returns the n-th projection of this product if 0 < n <= productArity,
/** Returns the n-th projection of this product if 0 <= n < productArity,
* otherwise throws an `IndexOutOfBoundsException`.
*
* @param n number of the projection to be returned
Expand Down
2 changes: 1 addition & 1 deletion src/library/scala/Product11.scala
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ trait Product11[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11] extends
override def productArity = 11


/** Returns the n-th projection of this product if 0 < n <= productArity,
/** Returns the n-th projection of this product if 0 <= n < productArity,
* otherwise throws an `IndexOutOfBoundsException`.
*
* @param n number of the projection to be returned
Expand Down
2 changes: 1 addition & 1 deletion src/library/scala/Product12.scala
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ trait Product12[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12] e
override def productArity = 12


/** Returns the n-th projection of this product if 0 < n <= productArity,
/** Returns the n-th projection of this product if 0 <= n < productArity,
* otherwise throws an `IndexOutOfBoundsException`.
*
* @param n number of the projection to be returned
Expand Down
2 changes: 1 addition & 1 deletion src/library/scala/Product13.scala
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ trait Product13[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12, +
override def productArity = 13


/** Returns the n-th projection of this product if 0 < n <= productArity,
/** Returns the n-th projection of this product if 0 <= n < productArity,
* otherwise throws an `IndexOutOfBoundsException`.
*
* @param n number of the projection to be returned
Expand Down
2 changes: 1 addition & 1 deletion src/library/scala/Product14.scala
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ trait Product14[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12, +
override def productArity = 14


/** Returns the n-th projection of this product if 0 < n <= productArity,
/** Returns the n-th projection of this product if 0 <= n < productArity,
* otherwise throws an `IndexOutOfBoundsException`.
*
* @param n number of the projection to be returned
Expand Down
2 changes: 1 addition & 1 deletion src/library/scala/Product15.scala
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ trait Product15[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12, +
override def productArity = 15


/** Returns the n-th projection of this product if 0 < n <= productArity,
/** Returns the n-th projection of this product if 0 <= n < productArity,
* otherwise throws an `IndexOutOfBoundsException`.
*
* @param n number of the projection to be returned
Expand Down
2 changes: 1 addition & 1 deletion src/library/scala/Product16.scala
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ trait Product16[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12, +
override def productArity = 16


/** Returns the n-th projection of this product if 0 < n <= productArity,
/** Returns the n-th projection of this product if 0 <= n < productArity,
* otherwise throws an `IndexOutOfBoundsException`.
*
* @param n number of the projection to be returned
Expand Down
2 changes: 1 addition & 1 deletion src/library/scala/Product17.scala
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ trait Product17[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12, +
override def productArity = 17


/** Returns the n-th projection of this product if 0 < n <= productArity,
/** Returns the n-th projection of this product if 0 <= n < productArity,
* otherwise throws an `IndexOutOfBoundsException`.
*
* @param n number of the projection to be returned
Expand Down
2 changes: 1 addition & 1 deletion src/library/scala/Product18.scala
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ trait Product18[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12, +
override def productArity = 18


/** Returns the n-th projection of this product if 0 < n <= productArity,
/** Returns the n-th projection of this product if 0 <= n < productArity,
* otherwise throws an `IndexOutOfBoundsException`.
*
* @param n number of the projection to be returned
Expand Down
2 changes: 1 addition & 1 deletion src/library/scala/Product19.scala
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ trait Product19[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12, +
override def productArity = 19


/** Returns the n-th projection of this product if 0 < n <= productArity,
/** Returns the n-th projection of this product if 0 <= n < productArity,
* otherwise throws an `IndexOutOfBoundsException`.
*
* @param n number of the projection to be returned
Expand Down
2 changes: 1 addition & 1 deletion src/library/scala/Product2.scala
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ trait Product2[@specialized(Int, Long, Double) +T1, @specialized(Int, Long, Doub
override def productArity = 2


/** Returns the n-th projection of this product if 0 < n <= productArity,
/** Returns the n-th projection of this product if 0 <= n < productArity,
* otherwise throws an `IndexOutOfBoundsException`.
*
* @param n number of the projection to be returned
Expand Down
2 changes: 1 addition & 1 deletion src/library/scala/Product20.scala
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ trait Product20[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12, +
override def productArity = 20


/** Returns the n-th projection of this product if 0 < n <= productArity,
/** Returns the n-th projection of this product if 0 <= n < productArity,
* otherwise throws an `IndexOutOfBoundsException`.
*
* @param n number of the projection to be returned
Expand Down
2 changes: 1 addition & 1 deletion src/library/scala/Product21.scala
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ trait Product21[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12, +
override def productArity = 21


/** Returns the n-th projection of this product if 0 < n <= productArity,
/** Returns the n-th projection of this product if 0 <= n < productArity,
* otherwise throws an `IndexOutOfBoundsException`.
*
* @param n number of the projection to be returned
Expand Down
2 changes: 1 addition & 1 deletion src/library/scala/Product22.scala
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ trait Product22[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12, +
override def productArity = 22


/** Returns the n-th projection of this product if 0 < n <= productArity,
/** Returns the n-th projection of this product if 0 <= n < productArity,
* otherwise throws an `IndexOutOfBoundsException`.
*
* @param n number of the projection to be returned
Expand Down
2 changes: 1 addition & 1 deletion src/library/scala/Product3.scala
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ trait Product3[+T1, +T2, +T3] extends Any with Product {
override def productArity = 3


/** Returns the n-th projection of this product if 0 < n <= productArity,
/** Returns the n-th projection of this product if 0 <= n < productArity,
* otherwise throws an `IndexOutOfBoundsException`.
*
* @param n number of the projection to be returned
Expand Down
2 changes: 1 addition & 1 deletion src/library/scala/Product4.scala
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ trait Product4[+T1, +T2, +T3, +T4] extends Any with Product {
override def productArity = 4


/** Returns the n-th projection of this product if 0 < n <= productArity,
/** Returns the n-th projection of this product if 0 <= n < productArity,
* otherwise throws an `IndexOutOfBoundsException`.
*
* @param n number of the projection to be returned
Expand Down
2 changes: 1 addition & 1 deletion src/library/scala/Product5.scala
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ trait Product5[+T1, +T2, +T3, +T4, +T5] extends Any with Product {
override def productArity = 5


/** Returns the n-th projection of this product if 0 < n <= productArity,
/** Returns the n-th projection of this product if 0 <= n < productArity,
* otherwise throws an `IndexOutOfBoundsException`.
*
* @param n number of the projection to be returned
Expand Down
2 changes: 1 addition & 1 deletion src/library/scala/Product6.scala
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ trait Product6[+T1, +T2, +T3, +T4, +T5, +T6] extends Any with Product {
override def productArity = 6


/** Returns the n-th projection of this product if 0 < n <= productArity,
/** Returns the n-th projection of this product if 0 <= n < productArity,
* otherwise throws an `IndexOutOfBoundsException`.
*
* @param n number of the projection to be returned
Expand Down
2 changes: 1 addition & 1 deletion src/library/scala/Product7.scala
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ trait Product7[+T1, +T2, +T3, +T4, +T5, +T6, +T7] extends Any with Product {
override def productArity = 7


/** Returns the n-th projection of this product if 0 < n <= productArity,
/** Returns the n-th projection of this product if 0 <= n < productArity,
* otherwise throws an `IndexOutOfBoundsException`.
*
* @param n number of the projection to be returned
Expand Down
2 changes: 1 addition & 1 deletion src/library/scala/Product8.scala
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ trait Product8[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8] extends Any with Product
override def productArity = 8


/** Returns the n-th projection of this product if 0 < n <= productArity,
/** Returns the n-th projection of this product if 0 <= n < productArity,
* otherwise throws an `IndexOutOfBoundsException`.
*
* @param n number of the projection to be returned
Expand Down
2 changes: 1 addition & 1 deletion src/library/scala/Product9.scala
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ trait Product9[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9] extends Any with Pro
override def productArity = 9


/** Returns the n-th projection of this product if 0 < n <= productArity,
/** Returns the n-th projection of this product if 0 <= n < productArity,
* otherwise throws an `IndexOutOfBoundsException`.
*
* @param n number of the projection to be returned
Expand Down
Loading

0 comments on commit 964630e

Please sign in to comment.