diff options
author | Gilles Dubochet <gilles.dubochet@epfl.ch> | 2009-09-24 13:09:40 +0000 |
---|---|---|
committer | Gilles Dubochet <gilles.dubochet@epfl.ch> | 2009-09-24 13:09:40 +0000 |
commit | c1f5cbd4a070ccef03e81071041f9cfa6e49e85e (patch) | |
tree | 9a1da088713800634a70a9fe9293a04ef2a9ef49 /test/files/pos | |
parent | 593d685e4fa50cf087bfc89a208ed2c89d2407c1 (diff) | |
download | scala-c1f5cbd4a070ccef03e81071041f9cfa6e49e85e.tar.gz scala-c1f5cbd4a070ccef03e81071041f9cfa6e49e85e.tar.bz2 scala-c1f5cbd4a070ccef03e81071041f9cfa6e49e85e.zip |
[no content change] Fixed all SVN properties: m...
[no content change] Fixed all SVN properties: mimes, EOL, executable. Id
expansion is consistently enabled for Scala/Java/C# sources in 'src/'
and consistently disabled and removed from everywhere else: there should
not be any dead Id tags anymore.
Diffstat (limited to 'test/files/pos')
110 files changed, 76 insertions, 104 deletions
diff --git a/test/files/pos/attributes.scala b/test/files/pos/attributes.scala index 55e3f6d4ac..f3bbb4c42e 100644 --- a/test/files/pos/attributes.scala +++ b/test/files/pos/attributes.scala @@ -1,5 +1,3 @@ -/* $Id$ */ - @serializable class C1; @serializable @volatile class C2; @serializable @volatile class C3; diff --git a/test/files/pos/bug1085.scala b/test/files/pos/bug1085.scala index 8330b7e399..c59e657cb2 100644 --- a/test/files/pos/bug1085.scala +++ b/test/files/pos/bug1085.scala @@ -6,4 +6,4 @@ object Test { def listFunctor[a]: Functor[a]{type MyType[x]=List[x]} = new Functor[a] { type MyType[t]=List[t] } -}
\ No newline at end of file +} diff --git a/test/files/pos/bug1090.scala b/test/files/pos/bug1090.scala index 044e327e89..a9bce90b00 100644 --- a/test/files/pos/bug1090.scala +++ b/test/files/pos/bug1090.scala @@ -13,4 +13,4 @@ object Test { case node : NodeImpl => } } -}
\ No newline at end of file +} diff --git a/test/files/pos/bug116.scala b/test/files/pos/bug116.scala index b02c81f0b7..1e31b71bf0 100644 --- a/test/files/pos/bug116.scala +++ b/test/files/pos/bug116.scala @@ -1,5 +1,3 @@ -// $Id$ - class C { def this(x: Int) = { this(); diff --git a/test/files/pos/bug1210.scala b/test/files/pos/bug1210.scala index eb163a956e..eb163a956e 100755..100644 --- a/test/files/pos/bug1210.scala +++ b/test/files/pos/bug1210.scala diff --git a/test/files/pos/bug1210a.scala b/test/files/pos/bug1210a.scala index 7daf7f1179..b3492f96e4 100755..100644 --- a/test/files/pos/bug1210a.scala +++ b/test/files/pos/bug1210a.scala @@ -12,4 +12,4 @@ trait FP { abstract class Test[T] { val v: Test[T] = v.v } -}
\ No newline at end of file +} diff --git a/test/files/pos/bug1292.scala b/test/files/pos/bug1292.scala index 83a996d530..83a996d530 100755..100644 --- a/test/files/pos/bug1292.scala +++ b/test/files/pos/bug1292.scala diff --git a/test/files/pos/bug1381.scala b/test/files/pos/bug1381.scala index b569d7d8bc..0762891898 100644 --- a/test/files/pos/bug1381.scala +++ b/test/files/pos/bug1381.scala @@ -28,4 +28,4 @@ abstract class EV[T](initval:T) extends PV[T](initval) with IV { override def d : ID[VT] = null // Comment this out to eliminate crash protected var indx = d.index(initval) -}
\ No newline at end of file +} diff --git a/test/files/pos/bug1385.scala b/test/files/pos/bug1385.scala index ec3efbbab6..55356c1f25 100644 --- a/test/files/pos/bug1385.scala +++ b/test/files/pos/bug1385.scala @@ -1,3 +1,3 @@ @serializable object Test { private def readResolve:AnyRef = this -}
\ No newline at end of file +} diff --git a/test/files/pos/bug1560.scala b/test/files/pos/bug1560.scala index 700252328f..384e808e4b 100644 --- a/test/files/pos/bug1560.scala +++ b/test/files/pos/bug1560.scala @@ -8,4 +8,4 @@ object Test extends Application { def c = b match { case Some(b) => b.t } -}
\ No newline at end of file +} diff --git a/test/files/pos/bug1565.scala b/test/files/pos/bug1565.scala index 9a5bfd0882..df333151d5 100644 --- a/test/files/pos/bug1565.scala +++ b/test/files/pos/bug1565.scala @@ -15,4 +15,4 @@ object Bug1565 { val buf0 = e + 1 buf0 } -}
\ No newline at end of file +} diff --git a/test/files/pos/bug160.scala b/test/files/pos/bug160.scala index f1c36ebeae..91ac2ba842 100644 --- a/test/files/pos/bug160.scala +++ b/test/files/pos/bug160.scala @@ -1,5 +1,3 @@ -// $Id$ - class Foo(s:String) { def this() = { this("DEFAULT") } } diff --git a/test/files/pos/bug1626.scala b/test/files/pos/bug1626.scala index 41072f2384..200be47430 100644 --- a/test/files/pos/bug1626.scala +++ b/test/files/pos/bug1626.scala @@ -1,4 +1,4 @@ object o { val n = <a xmlns=""/> n.namespace == null -}
\ No newline at end of file +} diff --git a/test/files/pos/bug175.scala b/test/files/pos/bug175.scala index 2ef26589c2..4c0eb28ba0 100644 --- a/test/files/pos/bug175.scala +++ b/test/files/pos/bug175.scala @@ -1,5 +1,3 @@ -// $Id$ - abstract class C { def this(x: Unit) = { this() } } diff --git a/test/files/pos/bug177.scala b/test/files/pos/bug177.scala index 9bd913f179..33b4de9264 100644 --- a/test/files/pos/bug177.scala +++ b/test/files/pos/bug177.scala @@ -1,5 +1,3 @@ -// $Id$ - class A { def foo = { object Y { diff --git a/test/files/pos/bug183.scala b/test/files/pos/bug183.scala index 4804eb3828..d7ed27f730 100644 --- a/test/files/pos/bug183.scala +++ b/test/files/pos/bug183.scala @@ -1,5 +1,3 @@ -// $Id$ - object Test { new Foo(0); class Foo(x: Int); diff --git a/test/files/pos/bug2168.scala b/test/files/pos/bug2168.scala index 42224236db..1cf73446a8 100644 --- a/test/files/pos/bug2168.scala +++ b/test/files/pos/bug2168.scala @@ -3,3 +3,4 @@ object Test extends Application { def foo2(x: AnyRef) = x match { case x: Function0[Any] => x() } } + diff --git a/test/files/pos/bug2187.scala b/test/files/pos/bug2187.scala index 087df13ec6..003b8c1436 100644 --- a/test/files/pos/bug2187.scala +++ b/test/files/pos/bug2187.scala @@ -4,4 +4,4 @@ object Test extends Application { case Seq(x) => x case Seq(x,y) => "" } -}
\ No newline at end of file +} diff --git a/test/files/pos/bug252.scala b/test/files/pos/bug252.scala index 226b6787ad..b10811fb1f 100644 --- a/test/files/pos/bug252.scala +++ b/test/files/pos/bug252.scala @@ -14,4 +14,4 @@ abstract class Derived extends Base { def f(inputs: List[tType]): Unit = { for (t <- inputs; val m = t.module) { } } -}
\ No newline at end of file +} diff --git a/test/files/pos/bug284.scala b/test/files/pos/bug284.scala index b5879fb3fe..19673b7e4c 100644 --- a/test/files/pos/bug284.scala +++ b/test/files/pos/bug284.scala @@ -2,4 +2,4 @@ trait B[T] { def f1(a: T): Unit { } def f2(a: T): Unit def f3(a: T) { } -}
\ No newline at end of file +} diff --git a/test/files/pos/bug289.scala b/test/files/pos/bug289.scala index 2fb91510d2..96c0244dfa 100644 --- a/test/files/pos/bug289.scala +++ b/test/files/pos/bug289.scala @@ -1,5 +1,3 @@ -// $Id$ - class A { object B; } diff --git a/test/files/pos/bug318.scala b/test/files/pos/bug318.scala index 1b9fa4a4b3..dbe0e0528c 100644 --- a/test/files/pos/bug318.scala +++ b/test/files/pos/bug318.scala @@ -1,5 +1,3 @@ -// $Id$ - object Test { def fun: Int = { object o { diff --git a/test/files/pos/bug359.scala b/test/files/pos/bug359.scala index 6ce4640998..11233c3ba4 100644 --- a/test/files/pos/bug359.scala +++ b/test/files/pos/bug359.scala @@ -1,5 +1,3 @@ -// $Id$ - object Bug359 { class C; def f1(xs: List[C]): C = { diff --git a/test/files/pos/bug360.scala b/test/files/pos/bug360.scala index 64a02519cc..f3716d4f97 100644 --- a/test/files/pos/bug360.scala +++ b/test/files/pos/bug360.scala @@ -1,5 +1,3 @@ -// $Id$ - abstract class Bug360A { self: Bug360C => def f: String = "hello"; } diff --git a/test/files/pos/bug361.scala b/test/files/pos/bug361.scala index f44fb32d47..1d19ecb523 100644 --- a/test/files/pos/bug361.scala +++ b/test/files/pos/bug361.scala @@ -1,5 +1,3 @@ -// $Id$ - class Bug361Global extends Bug361Trees abstract class Bug361Trees { self: Bug361Global => diff --git a/test/files/pos/bug372.scala b/test/files/pos/bug372.scala index 44c248bcd1..9ce5b9ab72 100644 --- a/test/files/pos/bug372.scala +++ b/test/files/pos/bug372.scala @@ -1,4 +1,2 @@ -// $Id$ - class Bug372Names; class Bug372Symbols { self: Bug372Symbols with Bug372Names => } diff --git a/test/files/pos/bug430-feb09.scala b/test/files/pos/bug430-feb09.scala index 2daf0b305a..1499f32b7a 100644 --- a/test/files/pos/bug430-feb09.scala +++ b/test/files/pos/bug430-feb09.scala @@ -31,4 +31,4 @@ package f.scala { // Doesn't compile: type <byname> is not a member of package h.scala package h.scala { case class H(s: String)(t: =>String) -}
\ No newline at end of file +} diff --git a/test/files/pos/bug460.scala b/test/files/pos/bug460.scala index 7bf9374e91..3fc13e4dd0 100644 --- a/test/files/pos/bug460.scala +++ b/test/files/pos/bug460.scala @@ -6,4 +6,4 @@ object Bug460 { (testFun(_, _))(1, 2) // Ok (testFun _).apply(1, 2) (testFun _)(1, 2) // Error! (but no longer) -}
\ No newline at end of file +} diff --git a/test/files/pos/bug715/runner_2.scala b/test/files/pos/bug715/runner_2.scala index 233b1bddb9..1e4f40d654 100644 --- a/test/files/pos/bug715/runner_2.scala +++ b/test/files/pos/bug715/runner_2.scala @@ -1,3 +1,3 @@ object Test extends Application { println(com.sap.dspace.model.othello.thePOJO2XMLRenderer) -}
\ No newline at end of file +} diff --git a/test/files/pos/bug756.scala b/test/files/pos/bug756.scala index 09735695f8..a3c790c654 100644 --- a/test/files/pos/bug756.scala +++ b/test/files/pos/bug756.scala @@ -3,4 +3,4 @@ object test { n <- Some(42) _ <- Some(24) } yield n -}
\ No newline at end of file +} diff --git a/test/files/pos/bug946.scala b/test/files/pos/bug946.scala index c4bd6e9ba4..c4bd6e9ba4 100755..100644 --- a/test/files/pos/bug946.scala +++ b/test/files/pos/bug946.scala diff --git a/test/files/pos/builders.scala b/test/files/pos/builders.scala index 0b620769c0..0b620769c0 100755..100644 --- a/test/files/pos/builders.scala +++ b/test/files/pos/builders.scala diff --git a/test/files/pos/cls.scala b/test/files/pos/cls.scala index 54104ae692..13661990ca 100644 --- a/test/files/pos/cls.scala +++ b/test/files/pos/cls.scala @@ -14,4 +14,4 @@ object test { val a1 = new A(1, "hello"); val b1 = new B(1, "hello"); } -}
\ No newline at end of file +} diff --git a/test/files/pos/clsrefine.scala b/test/files/pos/clsrefine.scala index d63923b5e6..0a016dec07 100644 --- a/test/files/pos/clsrefine.scala +++ b/test/files/pos/clsrefine.scala @@ -37,4 +37,4 @@ object test { val y2 = "hello"; } } -}
\ No newline at end of file +} diff --git a/test/files/pos/compile.scala b/test/files/pos/compile.scala index 3ed733fd40..bb2526e4bc 100644 --- a/test/files/pos/compile.scala +++ b/test/files/pos/compile.scala @@ -1,7 +1,6 @@ //############################################################################ // Compile Time Bugs & Test Cases //############################################################################ -// $Id$ import java.lang.System; // to avoid name clash with .NET's library diff --git a/test/files/pos/compile1.scala b/test/files/pos/compile1.scala index 3f06abbaa9..6886d39ca2 100644 --- a/test/files/pos/compile1.scala +++ b/test/files/pos/compile1.scala @@ -1,7 +1,6 @@ //############################################################################ // Compile Time Bugs & Test Cases //############################################################################ -// $Id$ import java.lang.System; // to avoid name clash with .NET's library diff --git a/test/files/pos/eta.scala b/test/files/pos/eta.scala index 590e7149f8..2dd2970ee7 100644 --- a/test/files/pos/eta.scala +++ b/test/files/pos/eta.scala @@ -1,5 +1,3 @@ -// $Id$ - object test { def sum(f: Int => Int)(x: Int, y: Int): Int = 0; diff --git a/test/files/pos/exbound.scala b/test/files/pos/exbound.scala index 243d5832ce..243d5832ce 100755..100644 --- a/test/files/pos/exbound.scala +++ b/test/files/pos/exbound.scala diff --git a/test/files/pos/ilya/J.java b/test/files/pos/ilya/J.java index c44169ca1b..b469623f32 100644 --- a/test/files/pos/ilya/J.java +++ b/test/files/pos/ilya/J.java @@ -11,4 +11,4 @@ class Bar<BooT extends Boo<FooT>, FooT extends Foo>{ public Bar(int i) { myInt = i; } -}
\ No newline at end of file +} diff --git a/test/files/pos/implicits.scala b/test/files/pos/implicits.scala index 88632850fa..88632850fa 100755..100644 --- a/test/files/pos/implicits.scala +++ b/test/files/pos/implicits.scala diff --git a/test/files/pos/imports.scala b/test/files/pos/imports.scala index 65ea090436..f6a55e5e07 100644 --- a/test/files/pos/imports.scala +++ b/test/files/pos/imports.scala @@ -13,4 +13,4 @@ object test { object test1 { import test._; foo -}
\ No newline at end of file +} diff --git a/test/files/pos/itay.scala b/test/files/pos/itay.scala index 9a97ded988..9a97ded988 100755..100644 --- a/test/files/pos/itay.scala +++ b/test/files/pos/itay.scala diff --git a/test/files/pos/lambdalift.scala b/test/files/pos/lambdalift.scala index ae5799a6f8..bc997d6f81 100644 --- a/test/files/pos/lambdalift.scala +++ b/test/files/pos/lambdalift.scala @@ -12,4 +12,4 @@ object test { } g() + new inner().g(); } -}
\ No newline at end of file +} diff --git a/test/files/pos/lambdalift1.scala b/test/files/pos/lambdalift1.scala index d9172f51eb..01b224c3bd 100644 --- a/test/files/pos/lambdalift1.scala +++ b/test/files/pos/lambdalift1.scala @@ -14,4 +14,4 @@ object test { } new A().g() } -}
\ No newline at end of file +} diff --git a/test/files/pos/listpattern.scala b/test/files/pos/listpattern.scala index 47145bf037..47145bf037 100755..100644 --- a/test/files/pos/listpattern.scala +++ b/test/files/pos/listpattern.scala diff --git a/test/files/pos/manifest1.scala b/test/files/pos/manifest1.scala index 4d3b3bfa48..4d3b3bfa48 100755..100644 --- a/test/files/pos/manifest1.scala +++ b/test/files/pos/manifest1.scala diff --git a/test/files/pos/michel3.scala b/test/files/pos/michel3.scala index 0e85295bfb..348a66a10d 100644 --- a/test/files/pos/michel3.scala +++ b/test/files/pos/michel3.scala @@ -1,3 +1,3 @@ abstract class A() { val v : Int -}
\ No newline at end of file +} diff --git a/test/files/pos/null.scala b/test/files/pos/null.scala index 59f88ee0e0..1c68e29f01 100644 --- a/test/files/pos/null.scala +++ b/test/files/pos/null.scala @@ -1,3 +1,3 @@ object M { val x: Boolean = null == null; -}
\ No newline at end of file +} diff --git a/test/files/pos/nullary.scala b/test/files/pos/nullary.scala index 22318d5143..614fcdf480 100644 --- a/test/files/pos/nullary.scala +++ b/test/files/pos/nullary.scala @@ -17,4 +17,4 @@ class Concrete extends NullaryTest[Int, List] { object test { (new Concrete).nullary2 (new Concrete).nullary3 -}
\ No newline at end of file +} diff --git a/test/files/pos/nullary_poly.scala b/test/files/pos/nullary_poly.scala index 9e3f239b36..d2e1e127a1 100644 --- a/test/files/pos/nullary_poly.scala +++ b/test/files/pos/nullary_poly.scala @@ -7,4 +7,4 @@ class A { // user-defined: def polyNullary[T]: List[T] = Nil -}
\ No newline at end of file +} diff --git a/test/files/pos/patterns2.scala b/test/files/pos/patterns2.scala index 93dcedbcf8..821fc43c6b 100644 --- a/test/files/pos/patterns2.scala +++ b/test/files/pos/patterns2.scala @@ -13,4 +13,4 @@ object test { case Some(b) => 4; case None => 5; } -}
\ No newline at end of file +} diff --git a/test/files/pos/philippe1.scala b/test/files/pos/philippe1.scala index 3cace0e116..4b4b22ea79 100644 --- a/test/files/pos/philippe1.scala +++ b/test/files/pos/philippe1.scala @@ -5,4 +5,4 @@ object test { val res: Array[String] = id(args); () } -}
\ No newline at end of file +} diff --git a/test/files/pos/philippe2.scala b/test/files/pos/philippe2.scala index 2ab3a382ef..55a283dddd 100644 --- a/test/files/pos/philippe2.scala +++ b/test/files/pos/philippe2.scala @@ -1,5 +1,3 @@ -// $Id$ - import scala._; class m1() { def n() = 0; diff --git a/test/files/pos/scoping3.scala b/test/files/pos/scoping3.scala index 761d5c311e..f6d531dbb2 100644 --- a/test/files/pos/scoping3.scala +++ b/test/files/pos/scoping3.scala @@ -1,5 +1,3 @@ -// $Id$ - object CI { trait TreeDisplay { type TreeNode <: ITreeNode diff --git a/test/files/pos/signatures/Test.java b/test/files/pos/signatures/Test.java index 8ecac29910..a50ccb9d01 100644 --- a/test/files/pos/signatures/Test.java +++ b/test/files/pos/signatures/Test.java @@ -8,4 +8,4 @@ import test.Outer; */ class Test { Outer o = new Outer(); -}
\ No newline at end of file +} diff --git a/test/files/pos/spec-Function1.scala b/test/files/pos/spec-Function1.scala index b749be0ba7..2baa22f269 100644 --- a/test/files/pos/spec-Function1.scala +++ b/test/files/pos/spec-Function1.scala @@ -7,8 +7,6 @@ ** |/ ** \* */ -// $Id: Function1.scala 17163 2009-02-20 08:05:31Z dragos $ - // generated by genprod on Wed Apr 23 10:06:16 CEST 2008 (with fancy comment) (with extra methods) package scala diff --git a/test/files/pos/spec-List.scala b/test/files/pos/spec-List.scala index 97b1ca1b8d..7dce0305a9 100644 --- a/test/files/pos/spec-List.scala +++ b/test/files/pos/spec-List.scala @@ -6,8 +6,6 @@ ** |/ ** \* */ -// $Id: List.scala 16287 2008-10-18 13:41:36Z nielsen $ - package scala.collection.immutable diff --git a/test/files/pos/spec-arrays.scala b/test/files/pos/spec-arrays.scala index c1f253a39d..c1f253a39d 100755..100644 --- a/test/files/pos/spec-arrays.scala +++ b/test/files/pos/spec-arrays.scala diff --git a/test/files/pos/t0165.scala b/test/files/pos/t0165.scala index 76aef85240..76aef85240 100755..100644 --- a/test/files/pos/t0165.scala +++ b/test/files/pos/t0165.scala diff --git a/test/files/pos/t0227.scala b/test/files/pos/t0227.scala index a52a9798fc..a52a9798fc 100755..100644 --- a/test/files/pos/t0227.scala +++ b/test/files/pos/t0227.scala diff --git a/test/files/pos/t0586.scala b/test/files/pos/t0586.scala index 86115a77af..540e225a14 100644 --- a/test/files/pos/t0586.scala +++ b/test/files/pos/t0586.scala @@ -6,4 +6,4 @@ object RClose { } finally { s.close() } -}
\ No newline at end of file +} diff --git a/test/files/pos/t0591.scala b/test/files/pos/t0591.scala index de02d6b579..15f2dba08e 100644 --- a/test/files/pos/t0591.scala +++ b/test/files/pos/t0591.scala @@ -4,4 +4,4 @@ object Test { implicit val hello = "Hello" implicitly[String] implicitly[Option[String]] -}
\ No newline at end of file +} diff --git a/test/files/pos/t0851.scala.disabled b/test/files/pos/t0851.scala.disabled index fc7109dcd4..fc7109dcd4 100755..100644 --- a/test/files/pos/t0851.scala.disabled +++ b/test/files/pos/t0851.scala.disabled diff --git a/test/files/pos/t0872.scala.disabled b/test/files/pos/t0872.scala.disabled index 6dc02497ab..6dc02497ab 100755..100644 --- a/test/files/pos/t0872.scala.disabled +++ b/test/files/pos/t0872.scala.disabled diff --git a/test/files/pos/t0971.java b/test/files/pos/t0971.java index d852ef698d..160dc2c5af 100755..100644 --- a/test/files/pos/t0971.java +++ b/test/files/pos/t0971.java @@ -1,4 +1,4 @@ class A { int y = 1, z; static Object x = new java.util.HashMap<Object , Object > () ; -}
\ No newline at end of file +} diff --git a/test/files/pos/t1001.scala b/test/files/pos/t1001.scala index 88321e6e8e..88321e6e8e 100755..100644 --- a/test/files/pos/t1001.scala +++ b/test/files/pos/t1001.scala diff --git a/test/files/pos/t1059.scala b/test/files/pos/t1059.scala index 659bf375ca..659bf375ca 100755..100644 --- a/test/files/pos/t1059.scala +++ b/test/files/pos/t1059.scala diff --git a/test/files/pos/t1107/O.scala b/test/files/pos/t1107/O.scala index ffc2f767a8..0198867704 100644 --- a/test/files/pos/t1107/O.scala +++ b/test/files/pos/t1107/O.scala @@ -10,4 +10,4 @@ object O c.bob.toString + c.bob2.toString } -}
\ No newline at end of file +} diff --git a/test/files/pos/t1107/T.scala b/test/files/pos/t1107/T.scala index 583ee11c0a..0dff0b94fd 100644 --- a/test/files/pos/t1107/T.scala +++ b/test/files/pos/t1107/T.scala @@ -4,4 +4,4 @@ trait C { private object P extends Sub def bob() = P.getClass def bob2() = O.d(P) -}
\ No newline at end of file +} diff --git a/test/files/pos/t1131.scala b/test/files/pos/t1131.scala index 5ef980348d..5ef980348d 100755..100644 --- a/test/files/pos/t1131.scala +++ b/test/files/pos/t1131.scala diff --git a/test/files/pos/t1186/t1186.java b/test/files/pos/t1186/t1186.java index c1bfcecab8..5f2607623f 100644 --- a/test/files/pos/t1186/t1186.java +++ b/test/files/pos/t1186/t1186.java @@ -5,4 +5,4 @@ class Test { void foo() { Map<String, String> map = null; } -}
\ No newline at end of file +} diff --git a/test/files/pos/t1231/J.java b/test/files/pos/t1231/J.java index 1dfc9490eb..6b24205e5e 100644 --- a/test/files/pos/t1231/J.java +++ b/test/files/pos/t1231/J.java @@ -1 +1 @@ -enum J { j1 }
\ No newline at end of file +enum J { j1 } diff --git a/test/files/pos/t1232/J.java b/test/files/pos/t1232/J.java index af3aad928d..2d9e3bbd58 100755..100644 --- a/test/files/pos/t1232/J.java +++ b/test/files/pos/t1232/J.java @@ -1,2 +1,2 @@ package j; -public class J { public enum E { e1 } }
\ No newline at end of file +public class J { public enum E { e1 } } diff --git a/test/files/pos/t1232/J2.java b/test/files/pos/t1232/J2.java index dc117d360f..29237780ac 100755..100644 --- a/test/files/pos/t1232/J2.java +++ b/test/files/pos/t1232/J2.java @@ -1,2 +1,2 @@ import s.S; -class J2 { }
\ No newline at end of file +class J2 { } diff --git a/test/files/pos/t1232/S.scala b/test/files/pos/t1232/S.scala index 1b6bca7327..1b6bca7327 100755..100644 --- a/test/files/pos/t1232/S.scala +++ b/test/files/pos/t1232/S.scala diff --git a/test/files/pos/t1560.scala b/test/files/pos/t1560.scala index 49cdaaed6a..49cdaaed6a 100755..100644 --- a/test/files/pos/t1560.scala +++ b/test/files/pos/t1560.scala diff --git a/test/files/pos/t1614/bar.scala b/test/files/pos/t1614/bar.scala index be994c3af3..be994c3af3 100755..100644 --- a/test/files/pos/t1614/bar.scala +++ b/test/files/pos/t1614/bar.scala diff --git a/test/files/pos/t1614/foo.scala b/test/files/pos/t1614/foo.scala index e6cc41bafd..e6cc41bafd 100755..100644 --- a/test/files/pos/t1614/foo.scala +++ b/test/files/pos/t1614/foo.scala diff --git a/test/files/pos/t1745/S.scala b/test/files/pos/t1745/S.scala index 70210ba502..84c4371338 100644 --- a/test/files/pos/t1745/S.scala +++ b/test/files/pos/t1745/S.scala @@ -4,4 +4,4 @@ class S3 { } object S3 { def foo() = "abc" def bar[T](x: T): T = x -}
\ No newline at end of file +} diff --git a/test/files/pos/t1751/SuiteClasses.java b/test/files/pos/t1751/SuiteClasses.java index 9f09021c5a..a415e4f572 100644 --- a/test/files/pos/t1751/SuiteClasses.java +++ b/test/files/pos/t1751/SuiteClasses.java @@ -1,3 +1,3 @@ public @interface SuiteClasses { public Class<?>[] value(); -}
\ No newline at end of file +} diff --git a/test/files/pos/t1782/Ann.java b/test/files/pos/t1782/Ann.java index cd3b2b33ca..0dcfbd2ed7 100644 --- a/test/files/pos/t1782/Ann.java +++ b/test/files/pos/t1782/Ann.java @@ -1,3 +1,3 @@ public @interface Ann { public Days value(); -}
\ No newline at end of file +} diff --git a/test/files/pos/t1782/Days.java b/test/files/pos/t1782/Days.java index b0d1ac4902..203a87b1c2 100644 --- a/test/files/pos/t1782/Days.java +++ b/test/files/pos/t1782/Days.java @@ -1,3 +1,3 @@ public enum Days { Friday, Sunday -}
\ No newline at end of file +} diff --git a/test/files/pos/t1840/J.java b/test/files/pos/t1840/J.java index 3914721431..fd98b6c4a5 100644 --- a/test/files/pos/t1840/J.java +++ b/test/files/pos/t1840/J.java @@ -1,4 +1,4 @@ package p; class J { J() {} -}
\ No newline at end of file +} diff --git a/test/files/pos/t1840/S.scala b/test/files/pos/t1840/S.scala index 00ab0ff3b1..ff513d2c15 100644 --- a/test/files/pos/t1840/S.scala +++ b/test/files/pos/t1840/S.scala @@ -1,2 +1,2 @@ package p -class S { new J }
\ No newline at end of file +class S { new J } diff --git a/test/files/pos/t1937/NumberGenerator.java b/test/files/pos/t1937/NumberGenerator.java index 2f85e87bcc..59d6047337 100644 --- a/test/files/pos/t1937/NumberGenerator.java +++ b/test/files/pos/t1937/NumberGenerator.java @@ -1 +1,7 @@ -package br.com.caelum.caelumweb2.money;
public class NumberGenerator {
public String generate() {
return null;
}
}
\ No newline at end of file +package br.com.caelum.caelumweb2.money; + +public class NumberGenerator { + public String generate() { + return null; + } +} diff --git a/test/files/pos/t2377/Q.java b/test/files/pos/t2377/Q.java index ef5b0574a6..e3d11c70e9 100644 --- a/test/files/pos/t2377/Q.java +++ b/test/files/pos/t2377/Q.java @@ -9,4 +9,4 @@ public final class Q { public static final class Builder { } public Builder toBuilder() { return newBuilder(); } } -}
\ No newline at end of file +} diff --git a/test/files/pos/t2377/a.scala b/test/files/pos/t2377/a.scala index 5ec58987ff..bda59ce0db 100644 --- a/test/files/pos/t2377/a.scala +++ b/test/files/pos/t2377/a.scala @@ -5,4 +5,4 @@ class Bop(var workUnit: WorkUnit) { val builder = workUnit.toBuilder () } -}
\ No newline at end of file +} diff --git a/test/files/pos/t294/Ann2.java b/test/files/pos/t294/Ann2.java index 958cf1ab76..025b79e794 100644 --- a/test/files/pos/t294/Ann2.java +++ b/test/files/pos/t294/Ann2.java @@ -1,3 +1,3 @@ public @interface Ann2 { public int value(); -}
\ No newline at end of file +} diff --git a/test/files/pos/tcpoly_boundedmonad.scala b/test/files/pos/tcpoly_boundedmonad.scala index ea19ae4c39..ef02507b66 100644 --- a/test/files/pos/tcpoly_boundedmonad.scala +++ b/test/files/pos/tcpoly_boundedmonad.scala @@ -16,4 +16,4 @@ class Set[T <: Ordered[T]] extends Monad[T, Set, Ordered] { (f: T => Result[S]): Result[S] = error("TODO") def filter(p: T => Boolean): Set[T] = error("TODO") -}
\ No newline at end of file +} diff --git a/test/files/pos/tcpoly_bounds1.scala b/test/files/pos/tcpoly_bounds1.scala index d74d3c975b..5874cc664d 100644 --- a/test/files/pos/tcpoly_bounds1.scala +++ b/test/files/pos/tcpoly_bounds1.scala @@ -11,4 +11,4 @@ trait ListMonad[a] extends Monad[List, Any, a] trait MyOrdered[a] trait MySet[x <: MyOrdered[x]] -trait SetMonad[a <: MyOrdered[a]] extends Monad[MySet, MyOrdered, a]
\ No newline at end of file +trait SetMonad[a <: MyOrdered[a]] extends Monad[MySet, MyOrdered, a] diff --git a/test/files/pos/tcpoly_checkkinds_mix.scala b/test/files/pos/tcpoly_checkkinds_mix.scala index 27bf11a2ef..3734405f8b 100644 --- a/test/files/pos/tcpoly_checkkinds_mix.scala +++ b/test/files/pos/tcpoly_checkkinds_mix.scala @@ -7,4 +7,4 @@ trait Iterable[A <: Bound[A], Bound[_]] { trait OrderedSet[T <: Ordered[T]] extends Iterable[T, Ordered] { type MyType[x <: Ordered[x]] = OrderedSet[x] -}
\ No newline at end of file +} diff --git a/test/files/pos/tcpoly_gm.scala b/test/files/pos/tcpoly_gm.scala index 89b66cfba6..95361e0dac 100644 --- a/test/files/pos/tcpoly_gm.scala +++ b/test/files/pos/tcpoly_gm.scala @@ -12,3 +12,4 @@ object foo { r.app(y) } } + diff --git a/test/files/pos/tcpoly_late_method_params.scala b/test/files/pos/tcpoly_late_method_params.scala index 2af0664618..e2f0bcffb3 100644 --- a/test/files/pos/tcpoly_late_method_params.scala +++ b/test/files/pos/tcpoly_late_method_params.scala @@ -2,4 +2,4 @@ trait Foo { def flatMap[RT <: RBound[RT], RBound[_], Result[x <: RBound[x]]]: Result[RT] // bounds for RT& = >: scala.this.Nothing <: RBound&[RT&] // bounds for x = >: scala.this.Nothing <: RBound&[x] -}
\ No newline at end of file +} diff --git a/test/files/pos/tcpoly_method.scala b/test/files/pos/tcpoly_method.scala index 34dde904c3..294b53b915 100644 --- a/test/files/pos/tcpoly_method.scala +++ b/test/files/pos/tcpoly_method.scala @@ -3,4 +3,4 @@ trait Iterable[m[+x], +t] { def foo[a[x]] = "a" val x = foo[List] -}
\ No newline at end of file +} diff --git a/test/files/pos/tcpoly_overloaded.scala b/test/files/pos/tcpoly_overloaded.scala index 47cb68a8bb..f67e4a9fef 100644 --- a/test/files/pos/tcpoly_overloaded.scala +++ b/test/files/pos/tcpoly_overloaded.scala @@ -22,4 +22,4 @@ trait Test { (f: T => List[S], foo: Int): List[S] = error("foo") } val l: MList[String] = moo.flatMap[String, List, Any, MList]((x: Int) => new MList("String")) -}
\ No newline at end of file +} diff --git a/test/files/pos/tcpoly_param_scoping.scala b/test/files/pos/tcpoly_param_scoping.scala index 1019fdfaf2..f8a03f664f 100644 --- a/test/files/pos/tcpoly_param_scoping.scala +++ b/test/files/pos/tcpoly_param_scoping.scala @@ -5,4 +5,4 @@ trait FOO3[m[A <: B], B] class Test { def foo[a[x]] = "a" } -//trait Idiom[idi[x]] { def foo: idi[Int]}
\ No newline at end of file +//trait Idiom[idi[x]] { def foo: idi[Int]} diff --git a/test/files/pos/tcpoly_return_overriding.scala b/test/files/pos/tcpoly_return_overriding.scala index cc7dd55cec..57ec8da76c 100644 --- a/test/files/pos/tcpoly_return_overriding.scala +++ b/test/files/pos/tcpoly_return_overriding.scala @@ -10,4 +10,4 @@ trait Rep[t] { // + that substitution (of types&symbols) preserves isHigherKinded when replacing a higher-kinded type with another one object foo extends Rep[Unit] { def rep[g[x]](implicit gen: Generic[g]): g[Unit]= gen.unit -}
\ No newline at end of file +} diff --git a/test/files/pos/tcpoly_subst.scala b/test/files/pos/tcpoly_subst.scala index af474585e9..f8ddb9a715 100644 --- a/test/files/pos/tcpoly_subst.scala +++ b/test/files/pos/tcpoly_subst.scala @@ -1,4 +1,4 @@ object test { def make[m[x], b]: m[b] = error("foo") val lst: List[Int] = make[List, Int] -}
\ No newline at end of file +} diff --git a/test/files/pos/tcpoly_typeapp.scala b/test/files/pos/tcpoly_typeapp.scala index 7fb4dca72e..4cb1da4f74 100644 --- a/test/files/pos/tcpoly_typeapp.scala +++ b/test/files/pos/tcpoly_typeapp.scala @@ -1,4 +1,4 @@ abstract class x { type t[m[x] <: Bound[x], Bound[x]] val x: t[scala.collection.mutable.MutableList, Iterable] -}
\ No newline at end of file +} diff --git a/test/files/pos/tcpoly_typesub.scala b/test/files/pos/tcpoly_typesub.scala index bb29d88bd9..a56d0a2547 100644 --- a/test/files/pos/tcpoly_typesub.scala +++ b/test/files/pos/tcpoly_typesub.scala @@ -11,4 +11,4 @@ trait TypeSub { type c[+y] = y with t castSub[c](lt) } -}
\ No newline at end of file +} diff --git a/test/files/pos/tcpoly_variance.scala b/test/files/pos/tcpoly_variance.scala index 9e034ef97e..b641716d50 100644 --- a/test/files/pos/tcpoly_variance.scala +++ b/test/files/pos/tcpoly_variance.scala @@ -4,4 +4,4 @@ class A[m[+x]] { class B[m[+x]] extends A[m] { override def str: m[String] = error("foo") -}
\ No newline at end of file +} diff --git a/test/files/pos/tcpoly_wildcards.scala b/test/files/pos/tcpoly_wildcards.scala index eed0e6f685..d3bb86b591 100644 --- a/test/files/pos/tcpoly_wildcards.scala +++ b/test/files/pos/tcpoly_wildcards.scala @@ -1,3 +1,3 @@ trait test[b[_,_]] { def moo[a[_, _]] = error("a") -}
\ No newline at end of file +} diff --git a/test/files/pos/test2.scala b/test/files/pos/test2.scala index fe36d07f1b..0dcc16ffab 100644 --- a/test/files/pos/test2.scala +++ b/test/files/pos/test2.scala @@ -2,4 +2,4 @@ import scala._; object test2 { def f(x: Int): Int = 'a'; def g(x: Int) = f(f(x)); -}
\ No newline at end of file +} diff --git a/test/files/pos/test5refine.scala b/test/files/pos/test5refine.scala index 95670faa05..5459b3b975 100644 --- a/test/files/pos/test5refine.scala +++ b/test/files/pos/test5refine.scala @@ -72,4 +72,4 @@ object test { j.chk_ix(j.val_jx); j.chk_ix(val_njx); } -}
\ No newline at end of file +} diff --git a/test/files/pos/thistypes.scala b/test/files/pos/thistypes.scala index 4a68ba3e65..7319cc1ecb 100644 --- a/test/files/pos/thistypes.scala +++ b/test/files/pos/thistypes.scala @@ -5,4 +5,4 @@ trait B { trait C extends B { def foo: C.this.I; -}
\ No newline at end of file +} diff --git a/test/files/pos/ticket0137.scala b/test/files/pos/ticket0137.scala index 4ee92ae8a7..94ef8e49fc 100644 --- a/test/files/pos/ticket0137.scala +++ b/test/files/pos/ticket0137.scala @@ -5,4 +5,4 @@ trait AbsM { } type AM[_] // to trigger the bug, this must be an abstract type member that comes after the reference to it -}
\ No newline at end of file +} diff --git a/test/files/pos/ticket2197.scala b/test/files/pos/ticket2197.scala index 1679d7d51a..3c9a04f8bd 100644 --- a/test/files/pos/ticket2197.scala +++ b/test/files/pos/ticket2197.scala @@ -4,4 +4,4 @@ trait PartialType[T[_, _], A] { sealed trait State[S, +A] trait Pure[P[_]] -trait StatePure[X] extends Pure[PartialType[State, X]#Apply]
\ No newline at end of file +trait StatePure[X] extends Pure[PartialType[State, X]#Apply] diff --git a/test/files/pos/ticket2201.scala b/test/files/pos/ticket2201.scala index 275867b88e..21af170cf1 100644 --- a/test/files/pos/ticket2201.scala +++ b/test/files/pos/ticket2201.scala @@ -5,4 +5,4 @@ object Call { def call(implicit view : Test => Int) = view(null) call call -}
\ No newline at end of file +} diff --git a/test/files/pos/tryexpr.scala b/test/files/pos/tryexpr.scala index c16428e7a5..c6c2febf7a 100644 --- a/test/files/pos/tryexpr.scala +++ b/test/files/pos/tryexpr.scala @@ -7,4 +7,4 @@ object o { try try try 10 catch { case e => 20 } finally 30 finally 40 try try try 10 catch { case e => 20 } finally 30 finally 40 finally 50 try try try 10 finally 50 -}
\ No newline at end of file +} diff --git a/test/files/pos/typealias_dubious.scala b/test/files/pos/typealias_dubious.scala index 98df5c1290..de6bb67fe3 100644 --- a/test/files/pos/typealias_dubious.scala +++ b/test/files/pos/typealias_dubious.scala @@ -12,4 +12,4 @@ abstract class Actor { def dubiousSend(msg: MailBox#Message) = unstable.send(msg) // in.Message becomes unstable.Message, but that's ok since Message is a concrete type member -}
\ No newline at end of file +} |