diff options
author | Jakob Odersky <jodersky@gmail.com> | 2013-07-11 14:05:04 +0200 |
---|---|---|
committer | Jakob Odersky <jodersky@gmail.com> | 2013-07-11 14:05:04 +0200 |
commit | 9ceea97cfb9bbf692c986534860ab0bbb315911b (patch) | |
tree | 92390255d5505c63318be8211fc73c62771b51d3 /flow-main/src/main/scala | |
parent | b2ee4d1d3c5881f8f0edeeb6383b29c15a119c47 (diff) | |
download | akka-serial-9ceea97cfb9bbf692c986534860ab0bbb315911b.tar.gz akka-serial-9ceea97cfb9bbf692c986534860ab0bbb315911b.tar.bz2 akka-serial-9ceea97cfb9bbf692c986534860ab0bbb315911b.zip |
add some documentation
Diffstat (limited to 'flow-main/src/main/scala')
-rw-r--r-- | flow-main/src/main/scala/com/github/jodersky/flow/internal/NativeLoader.scala | 4 |
1 files changed, 2 insertions, 2 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 41ae250..81f51b4 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 @@ -6,7 +6,7 @@ import scalax.file.Path import scalax.io.Resource import scala.util.Try -/**Loads the current system's native library for flow. */ +/** Handles loading of the current platform's native library for flow. */ object NativeLoader { def extract(): Option[File] = { @@ -24,7 +24,7 @@ object NativeLoader { def loadFromJar() = extract() match { case Some(file) => System.load(file.getAbsolutePath) - case None => throw new UnsatisfiedLinkError("cannot extract native library, the native library may not exist for your specific system/architecture combination") + case None => throw new UnsatisfiedLinkError("cannot extract native library, the native library may not exist for your specific os/architecture combination") } def load = { |