Removed Scala 2.8 deprecation warnings

This commit is contained in:
Viktor Klang 2010-04-15 16:05:16 +02:00
parent 3c4efcbd10
commit e42b1f888d
2 changed files with 2 additions and 2 deletions

View file

@ -50,7 +50,7 @@ class SupervisionBeanDefinitionParserTest extends Spec with ShouldMatchers {
val supervised = builder.getBeanDefinition.getPropertyValues.getPropertyValue("supervised").getValue.asInstanceOf[List[ActiveObjectProperties]]
assert(supervised != null)
expect(3) { supervised.length }
val iterator = supervised.elements
val iterator = supervised.iterator
expect("foo.bar.Foo") { iterator.next.target }
expect("foo.bar.Bar") { iterator.next.target }
expect("foo.bar.MyPojo") { iterator.next.target }