diff options
| author | Leway Colin | 2019-06-19 05:22:47 +0800 |
|---|---|---|
| committer | Adam Izraelevitz | 2019-06-18 14:22:47 -0700 |
| commit | fb4133cd76600cc8707e9a7b2f639cf120bd825c (patch) | |
| tree | 7532f341dc95f293fa02e4d015d1a6a0fac102ba /src/main/scala/firrtl/options | |
| parent | d1d422670eb406567b2e34d7036a5cc0262309a1 (diff) | |
Use scalafix to remove unused import and deprecated procedure syntax (#1074)
* Add sbt-scalafix
* Add scalafix guide to README
* Remove Unused Import
* Remove deprecated procedure syntax
Diffstat (limited to 'src/main/scala/firrtl/options')
| -rw-r--r-- | src/main/scala/firrtl/options/Phase.scala | 2 | ||||
| -rw-r--r-- | src/main/scala/firrtl/options/StageUtils.scala | 1 | ||||
| -rw-r--r-- | src/main/scala/firrtl/options/phases/AddDefaults.scala | 2 |
3 files changed, 1 insertions, 4 deletions
diff --git a/src/main/scala/firrtl/options/Phase.scala b/src/main/scala/firrtl/options/Phase.scala index 34739053..7ed964e8 100644 --- a/src/main/scala/firrtl/options/Phase.scala +++ b/src/main/scala/firrtl/options/Phase.scala @@ -3,11 +3,9 @@ package firrtl.options import firrtl.AnnotationSeq -import firrtl.annotations.DeletedAnnotation import logger.LazyLogging -import scala.collection.mutable /** A polymorphic mathematical transform * @tparam A the transformed type diff --git a/src/main/scala/firrtl/options/StageUtils.scala b/src/main/scala/firrtl/options/StageUtils.scala index cf7cc767..8a92b82b 100644 --- a/src/main/scala/firrtl/options/StageUtils.scala +++ b/src/main/scala/firrtl/options/StageUtils.scala @@ -2,7 +2,6 @@ package firrtl.options -import java.io.File /** Utilities related to working with a [[Stage]] */ object StageUtils { diff --git a/src/main/scala/firrtl/options/phases/AddDefaults.scala b/src/main/scala/firrtl/options/phases/AddDefaults.scala index 2d4e4e40..8f7fe401 100644 --- a/src/main/scala/firrtl/options/phases/AddDefaults.scala +++ b/src/main/scala/firrtl/options/phases/AddDefaults.scala @@ -3,7 +3,7 @@ package firrtl.options.phases import firrtl.AnnotationSeq -import firrtl.options.{Phase, StageOption, TargetDirAnnotation} +import firrtl.options.{Phase, TargetDirAnnotation} /** Add default annotations for a [[Stage]] * |
