Skip to content

Commit

Permalink
twitter-server: add reference leak lint rule
Browse files Browse the repository at this point in the history
Problem / Solution

Reference leaks are unambiguously bugs and since we can measure
them we should alert users to them.

RB_ID=908396
  • Loading branch information
Daniel Schobel authored and jenkins committed Feb 22, 2017
1 parent bb05f42 commit b61c4c1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions util-lint/src/main/scala/com/twitter/util/lint/Category.scala
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,8 @@ object Category {
*/
case object Configuration extends Category

/**
* Indicative of a runtime failure.
*/
case object Runtime extends Category
}

0 comments on commit b61c4c1

Please sign in to comment.