From 1b6dbc90c122d73e590b676516f1699a94456afd Mon Sep 17 00:00:00 2001 From: Stu Hood Date: Sat, 15 Aug 2015 11:55:31 -0700 Subject: [PATCH] Fix error message when name hashing is enabled and mixed with non-enabled. --- compile/inc/src/main/scala/sbt/inc/Relations.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compile/inc/src/main/scala/sbt/inc/Relations.scala b/compile/inc/src/main/scala/sbt/inc/Relations.scala index 6f7aaaf82..0ad2e3aa7 100644 --- a/compile/inc/src/main/scala/sbt/inc/Relations.scala +++ b/compile/inc/src/main/scala/sbt/inc/Relations.scala @@ -640,10 +640,10 @@ private class MRelationsNameHashing(srcProd: Relation[File, File], binaryDep: Re val names: Relation[File, String]) extends MRelationsCommon(srcProd, binaryDep, classes) { def direct: Source = throw new UnsupportedOperationException("The `direct` source dependencies relation is not supported " + - "when `nameHashing` flag is disabled.") + "when `nameHashing` flag is enabled.") def publicInherited: Source = throw new UnsupportedOperationException("The `publicInherited` source dependencies relation is not supported " + - "when `nameHashing` flag is disabled.") + "when `nameHashing` flag is enabled.") val nameHashing: Boolean = true