You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2018/06/28 08:47:58 UTC

[3/4] jena git commit: Javadoc

Javadoc

Project: http://git-wip-us.apache.org/repos/asf/jena/repo
Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/59445de4
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/59445de4
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/59445de4

Branch: refs/heads/master
Commit: 59445de4d9dcac41aa064d4bd20777fd19b0043b
Parents: 35cbd47
Author: Andy Seaborne <an...@apache.org>
Authored: Tue Jun 26 17:49:19 2018 +0100
Committer: Andy Seaborne <an...@apache.org>
Committed: Thu Jun 28 09:46:42 2018 +0100

----------------------------------------------------------------------
 .../src/main/java/org/apache/jena/dboe/migrate/L.java    | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/59445de4/jena-db/jena-dboe-base/src/main/java/org/apache/jena/dboe/migrate/L.java
----------------------------------------------------------------------
diff --git a/jena-db/jena-dboe-base/src/main/java/org/apache/jena/dboe/migrate/L.java b/jena-db/jena-dboe-base/src/main/java/org/apache/jena/dboe/migrate/L.java
index 14d4baf..189f97f 100644
--- a/jena-db/jena-dboe-base/src/main/java/org/apache/jena/dboe/migrate/L.java
+++ b/jena-db/jena-dboe-base/src/main/java/org/apache/jena/dboe/migrate/L.java
@@ -109,9 +109,8 @@ public class L {
             return null ;
         }
     }
-    
 
-    /** Execute. Preform the "before" action, then main action.
+    /** Execute. Perform the "before" action, then main action.
      *  Always call the "after" runnable if the "before" succeeded.
      *  Be careful about argument order. 
      * @param action
@@ -124,7 +123,7 @@ public class L {
         finally { after.run();  }
     }
 
-    /** Execute. Preform the "before" action, then main action.
+    /** Execute. Perform the "before" action, then main action.
      *  Always call the "after" runnable if the "before" succeeded.
      *  Be careful about argument order. 
      * @param action
@@ -174,9 +173,9 @@ public class L {
         }
     }
 
-    /** Read a whole stream as UTF-8
+    /** Write a string into an {@link OutputStream} as UTF-8. 
      * 
-     * @param out       OutputStream to be read
+     * @param out       OutputStream destination.
      * @param content   String to be written
      * @throws  IOException
      */
@@ -189,7 +188,7 @@ public class L {
 
     // ==> IO.writeWholeFileAsUTF8
     
-    /** String to ByteBuffer */
+    /** String to ByteBuffer as UTF-8 bytes */
     public static ByteBuffer stringToByteBuffer(String str) {
         byte[] b = StrUtils.asUTF8bytes(str) ;
         return ByteBuffer.wrap(b) ;