Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix documentation tag in `Filters.scala`.

As @dotta suggested, it should be `@throws` and not `@exception`.
  • Loading branch information...
commit 81c488ba1b037d0ca0560a12f335222f0ad88653 1 parent 5ce9760
@gkossakowski gkossakowski authored
View
2  core/src/main/scala/com/typesafe/tools/mima/core/Filters.scala
@@ -20,7 +20,7 @@ object ProblemFilters {
*
* The problemName is name of a class corresponding to a problem like `AbstractMethodProblem`.
*
- * @exception ClassNotFoundException if the class corresponding to the problem cannot be located
+ * @throws ClassNotFoundException if the class corresponding to the problem cannot be located
*/
def exclude(problemName: String, name: String): ProblemFilter = {
val problemClass: Class[_ <: ProblemRef] = Class.forName("com.typesafe.tools.mima.core." + problemName).asInstanceOf[Class[_ <: ProblemRef]]
View
4 reporter/src/main/scala/com/typesafe/tools/mima/cli/ProblemFiltersConfig.scala
@@ -13,8 +13,8 @@ object ProblemFiltersConfig {
/**
* Parses Config definition into sequence of problem filters.
*
- * @exception ConfigException
- * @exception ClassNotFoundException if filter rule uses `problemName` that does not
+ * @throws ConfigException
+ * @throws ClassNotFoundException if filter rule uses `problemName` that does not
* correspond to existing Problem class.
*/
def parseProblemFilters(config: Config): Seq[ProblemFilter] = {
Please sign in to comment.
Something went wrong with that request. Please try again.