diff options
Diffstat (limited to 'flow-main/src/main/scala/com/github/jodersky/flow/internal/NativeLoader.scala')
-rw-r--r-- | flow-main/src/main/scala/com/github/jodersky/flow/internal/NativeLoader.scala | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/flow-main/src/main/scala/com/github/jodersky/flow/internal/NativeLoader.scala b/flow-main/src/main/scala/com/github/jodersky/flow/internal/NativeLoader.scala index dc539ea..a5fdc40 100644 --- a/flow-main/src/main/scala/com/github/jodersky/flow/internal/NativeLoader.scala +++ b/flow-main/src/main/scala/com/github/jodersky/flow/internal/NativeLoader.scala @@ -1,9 +1,7 @@ -package com.github.jodersky.flow.internal +package com.github.jodersky.flow +package internal -import java.io.File -import java.io.FileOutputStream -import java.io.InputStream -import java.io.OutputStream +import java.io.{ File, FileOutputStream, InputStream, OutputStream } /** Handles loading of the current platform's native library for flow. */ object NativeLoader { @@ -46,8 +44,8 @@ object NativeLoader { extract(path, fqlib) match { case Some(file) => System.load(file.getAbsolutePath) case None => throw new UnsatisfiedLinkError("Cannot extract flow's native library, " + - "the native library does not exist for your specific architecture/OS combination." + - "Could not find " + path + ".") + "the native library does not exist for your specific architecture/OS combination." + + "Could not find " + path + ".") } } |