From 9ceea97cfb9bbf692c986534860ab0bbb315911b Mon Sep 17 00:00:00 2001 From: Jakob Odersky Date: Thu, 11 Jul 2013 14:05:04 +0200 Subject: add some documentation --- .../main/scala/com/github/jodersky/flow/internal/NativeLoader.scala | 4 ++-- 1 file 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 = { -- cgit v1.2.3