aboutsummaryrefslogtreecommitdiff
path: root/stage2/DirectoryDependency.scala
diff options
context:
space:
mode:
Diffstat (limited to 'stage2/DirectoryDependency.scala')
-rw-r--r--stage2/DirectoryDependency.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/stage2/DirectoryDependency.scala b/stage2/DirectoryDependency.scala
index cfc0bfd..9b07702 100644
--- a/stage2/DirectoryDependency.scala
+++ b/stage2/DirectoryDependency.scala
@@ -96,7 +96,7 @@ object DirectoryDependency {
)
} else {
val buildClass = buildClasses.head
- buildClass.getConstructors.find( _.getParameterTypes.toList === List( classOf[Context] ) ).map {
+ buildClass.constructors.find( _.parameterTypes.toList === List( classOf[Context] ) ).map {
_.newInstance( managedContext ).asInstanceOf[AnyRef]
}.getOrElse {
throw new Exception(