cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anathan...@apache.org
Subject svn commit: r476958 - in /cocoon/branches/BRANCH_2_1_X/src/blocks/databases/java/org/apache/cocoon/util: BlobHelper.java ClobHelper.java
Date Sun, 19 Nov 2006 22:36:04 GMT
Author: anathaniel
Date: Sun Nov 19 14:36:03 2006
New Revision: 476958

URL: http://svn.apache.org/viewvc?view=rev&rev=476958
Log:
Add dummy implementations for new Blob/Clob methods in Java6

Modified:
    cocoon/branches/BRANCH_2_1_X/src/blocks/databases/java/org/apache/cocoon/util/BlobHelper.java
    cocoon/branches/BRANCH_2_1_X/src/blocks/databases/java/org/apache/cocoon/util/ClobHelper.java

Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/databases/java/org/apache/cocoon/util/BlobHelper.java
URL: http://svn.apache.org/viewvc/cocoon/branches/BRANCH_2_1_X/src/blocks/databases/java/org/apache/cocoon/util/BlobHelper.java?view=diff&rev=476958&r1=476957&r2=476958
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/databases/java/org/apache/cocoon/util/BlobHelper.java
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/databases/java/org/apache/cocoon/util/BlobHelper.java
Sun Nov 19 14:36:03 2006
@@ -107,6 +107,18 @@
         System.out.println("BlobHelper ** NOT IMPLEMENTED ** truncate");
     }
 
+    /**
+     * Not implemented (Java6 extension).
+     */
+    public void free() {
+        System.out.println("BlobHelper ** NOT IMPLEMENTED ** free");
+    }
 
+    /**
+     * Not implemented (Java6 extension).
+     */
+    public InputStream getBinaryStream(long pos, long length) {
+        System.out.println("BlobHelper ** NOT IMPLEMENTED ** getBinaryStream(long,long");
+        return null;
+    }
 }
-

Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/databases/java/org/apache/cocoon/util/ClobHelper.java
URL: http://svn.apache.org/viewvc/cocoon/branches/BRANCH_2_1_X/src/blocks/databases/java/org/apache/cocoon/util/ClobHelper.java?view=diff&rev=476958&r1=476957&r2=476958
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/databases/java/org/apache/cocoon/util/ClobHelper.java
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/databases/java/org/apache/cocoon/util/ClobHelper.java
Sun Nov 19 14:36:03 2006
@@ -123,6 +123,18 @@
         System.out.println("ClobHelper ** NOT IMPLEMENTED ** truncate");
     }
 
+    /**
+     * Not implemented (Java6 extension).
+     */
+    public void free() {
+        System.out.println("BlobHelper ** NOT IMPLEMENTED ** free");
+    }
 
+    /**
+     * Not implemented (Java6 extension).
+     */
+    public Reader getCharacterStream(long pos, long length) {
+        System.out.println("BlobHelper ** NOT IMPLEMENTED ** getCharacterStream(long,long");
+        return null;
+    }
 }
-



Mime
View raw message