diff options
author | Robey Pointer <robey@twitter.com> | 2011-02-28 12:10:17 -0800 |
---|---|---|
committer | Christopher Vogt <oss.nsp@cvogt.org> | 2016-11-07 02:08:37 -0500 |
commit | d129b83d4896f97ce7e27769886873df849c3a57 (patch) | |
tree | 1322b6d292bf7365bb033217f4897fed0d4d2210 /libraries/eval | |
parent | 1a0362e888ed04d3dc97611aca4745aeac682716 (diff) | |
download | cbt-d129b83d4896f97ce7e27769886873df849c3a57.tar.gz cbt-d129b83d4896f97ce7e27769886873df849c3a57.tar.bz2 cbt-d129b83d4896f97ce7e27769886873df849c3a57.zip |
looks like we only ever ask for a jarPathOfClass if we're looking for something fundamental to compiling, so go ahead and throw an exception.
Diffstat (limited to 'libraries/eval')
-rw-r--r-- | libraries/eval/Eval.scala | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libraries/eval/Eval.scala b/libraries/eval/Eval.scala index 41e1241..354791f 100644 --- a/libraries/eval/Eval.scala +++ b/libraries/eval/Eval.scala @@ -102,8 +102,6 @@ object Eval { val indexOfFile = path.indexOf("file:") + 5 val indexOfSeparator = path.lastIndexOf('!') List(path.substring(indexOfFile, indexOfSeparator)) - } catch { - case e: NullPointerException => List.empty[String] // Couldn't find the resource. } /* |