From 8046ad7eec01222b5649a29ec1bc5b97e0a34eed Mon Sep 17 00:00:00 2001 From: Benjy Date: Wed, 23 Oct 2013 10:58:44 -0400 Subject: [PATCH] Added some modifiers, per code review comments. --- .../src/main/scala/sbt/inc/InternedAnalysisFormats.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compile/persist/src/main/scala/sbt/inc/InternedAnalysisFormats.scala b/compile/persist/src/main/scala/sbt/inc/InternedAnalysisFormats.scala index 6c5a4eedd..c9c299722 100644 --- a/compile/persist/src/main/scala/sbt/inc/InternedAnalysisFormats.scala +++ b/compile/persist/src/main/scala/sbt/inc/InternedAnalysisFormats.scala @@ -19,7 +19,7 @@ import MultipleOutput.OutputGroup * * Has state, so cannot be an object. To use, wild-card import the implicits from an instance of this class. */ -class InternedAnalysisFormats +private[sbt] final class InternedAnalysisFormats { // Formats that reads/write internable objects directly (i.e., not via the intern pool). // Note: Not implicit. We only want to use the full format explicitly, in specific places (such as when @@ -31,7 +31,7 @@ class InternedAnalysisFormats implicit val fileFormat = filePool.itemFormat // A convenient wrapper class for pool serialization. We can add more pools here in the future if needed. - class Pools(var fileP: InternPool[File]) + final class Pools(var fileP: InternPool[File]) def initPools(analysis: Analysis) = new Pools( filePool.initPool(allFiles(analysis))