Refactored OwLint.scala