From 698e24da114010940b9b8bb8102d5da806e3d228 Mon Sep 17 00:00:00 2001 From: Grzegorz Kossakowski Date: Tue, 12 Nov 2013 21:39:18 +0100 Subject: [PATCH] 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. --- .../inc/src/main/scala/sbt/inc/IncOptions.scala | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/compile/inc/src/main/scala/sbt/inc/IncOptions.scala b/compile/inc/src/main/scala/sbt/inc/IncOptions.scala index 0441eb6c5..7077d2291 100644 --- a/compile/inc/src/main/scala/sbt/inc/IncOptions.scala +++ b/compile/inc/src/main/scala/sbt/inc/IncOptions.scala @@ -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