Minor patch for io/ByteUtils.java

2 messages Options
Embed this post
Permalink
Marcelo F. Ochoa

Minor patch for io/ByteUtils.java

Reply Threaded More More options
Print post
Permalink
Hi:
   I am back again compiling and updating XDB extension for Oracle 11g.
   There is a minor typo in a macro def which cuts some code for GAE
version and prevents ByteUtils to compile, below the SVN diff.
    Best regards, Marcelo.

Index: io/ByteUtils.java
===================================================================
--- io/ByteUtils.java    (revision 5351)
+++ io/ByteUtils.java    (working copy)
@@ -251,7 +251,7 @@
      */
     public static InputStream getStream(final Representation representation) {
         if (Edition.CURRENT != Edition.GAE) {
-            // [ifndef gae] method
+            // [ifndef gae]
             if (representation == null) {
                 return null;
             }

--
Marcelo F. Ochoa
http://marceloochoa.blogspot.com/
http://marcelo.ochoa.googlepages.com/home
______________
Want to integrate Lucene and Oracle?
http://marceloochoa.blogspot.com/2007/09/running-lucene-inside-your-oracle-jvm.html
Is Oracle 11g REST ready?
http://marceloochoa.blogspot.com/2008/02/is-oracle-11g-rest-ready.html

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=7458&dsMessageId=2397452
jlouvel

RE: Minor patch for io/ByteUtils.java

Reply Threaded More More options
Print post
Permalink
Hi Marcelo,

Good catch! I've applied your fix in SVN trunk.

Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead developer ~ http://www.restlet.org
Noelios Technologies ~ Co-founder ~ http://www.noelios.com


-----Message d'origine-----
De : Marcelo F. Ochoa [mailto:[hidden email]]
Envoyé : lundi 21 septembre 2009 14:29
À : [hidden email]
Objet : Minor patch for io/ByteUtils.java

Hi:
   I am back again compiling and updating XDB extension for Oracle 11g.
   There is a minor typo in a macro def which cuts some code for GAE
version and prevents ByteUtils to compile, below the SVN diff.
    Best regards, Marcelo.

Index: io/ByteUtils.java
===================================================================
--- io/ByteUtils.java    (revision 5351)
+++ io/ByteUtils.java    (working copy)
@@ -251,7 +251,7 @@
      */
     public static InputStream getStream(final Representation
representation) {
         if (Edition.CURRENT != Edition.GAE) {
-            // [ifndef gae] method
+            // [ifndef gae]
             if (representation == null) {
                 return null;
             }

--
Marcelo F. Ochoa
http://marceloochoa.blogspot.com/
http://marcelo.ochoa.googlepages.com/home
______________
Want to integrate Lucene and Oracle?
http://marceloochoa.blogspot.com/2007/09/running-lucene-inside-your-oracle-j
vm.html
Is Oracle 11g REST ready?
http://marceloochoa.blogspot.com/2008/02/is-oracle-11g-rest-ready.html

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=7458&dsMessageId=23974
52

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=7458&dsMessageId=2401092