Mark fields storing keys in IncOptions as private.

It was an omission in the original commit that introduced them and didn't
mark them as private. They are purely an implementation detail and should
be hidden. We hiding them now.
This commit is contained in:
Grzegorz Kossakowski 2013-11-12 21:39:18 +01:00
parent 39036e7c20
commit 698e24da11
1 changed files with 7 additions and 7 deletions

View File

@ -211,13 +211,13 @@ object IncOptions extends Serializable {
def setTransactional(opts: IncOptions, tempDir: File): IncOptions =
opts.copy(newClassfileManager = ClassfileManager.transactional(tempDir))
val transitiveStepKey = "transitiveStep"
val recompileAllFractionKey = "recompileAllFraction"
val relationsDebugKey = "relationsDebug"
val apiDebugKey = "apiDebug"
val apiDumpDirectoryKey = "apiDumpDirectory"
val apiDiffContextSizeKey = "apiDiffContextSize"
val recompileOnMacroDefKey = "recompileOnMacroDefKey"
private val transitiveStepKey = "transitiveStep"
private val recompileAllFractionKey = "recompileAllFraction"
private val relationsDebugKey = "relationsDebug"
private val apiDebugKey = "apiDebug"
private val apiDumpDirectoryKey = "apiDumpDirectory"
private val apiDiffContextSizeKey = "apiDiffContextSize"
private val recompileOnMacroDefKey = "recompileOnMacroDefKey"
def fromStringMap(m: java.util.Map[String, String]): IncOptions = {
// all the code below doesn't look like idiomatic Scala for a good reason: we are working with Java API