Merge pull request #2158 from twitter-forks/stuhood/fix-error-message-when-name-hashing-is-enabled

Fix error when name hashing is enabled and mixed with non-enabled
This commit is contained in:
eugene yokota 2015-08-18 17:55:43 -04:00
commit 9349094e65
1 changed files with 2 additions and 2 deletions

View File

@ -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