activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r774096 - in /activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal: nio/ util/
Date Tue, 12 May 2009 21:20:09 GMT
Author: tabish
Date: Tue May 12 21:20:07 2009
New Revision: 774096

URL: http://svn.apache.org/viewvc?rev=774096&view=rev
Log:
Fix some spelling errors in the API documentation.

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/nio/ByteArrayBuffer.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/nio/ByteArrayPerspective.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/nio/CharArrayBuffer.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/nio/DoubleArrayBuffer.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/nio/FloatArrayBuffer.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/nio/IntArrayBuffer.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/nio/LongArrayBuffer.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/nio/ShortArrayBuffer.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/util/ByteArrayAdapter.h

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/nio/ByteArrayBuffer.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/nio/ByteArrayBuffer.h?rev=774096&r1=774095&r2=774096&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/nio/ByteArrayBuffer.h
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/nio/ByteArrayBuffer.h
Tue May 12 21:20:07 2009
@@ -148,7 +148,7 @@
             throw( decaf::lang::exceptions::IndexOutOfBoundsException );
 
         /**
-         * Create a ByteArrayBuffer that mirros this one, meaning it shares a
+         * Create a ByteArrayBuffer that mirrors this one, meaning it shares a
          * reference to this buffers ByteArrayPerspective and when changes
          * are made to that data it is reflected in both.
          * @param other - the ByteArrayBuffer this one is to mirror.

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/nio/ByteArrayPerspective.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/nio/ByteArrayPerspective.h?rev=774096&r1=774095&r2=774096&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/nio/ByteArrayPerspective.h
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/nio/ByteArrayPerspective.h
Tue May 12 21:20:07 2009
@@ -26,10 +26,10 @@
 
     /**
      * This class extends ByteArray to create a reference counted byte array
-     * that can be held and used by several differen ByteBuffers and allow them
+     * that can be held and used by several different ByteBuffers and allow them
      * to know on destruction whose job it is to delete the perspective.
      * <p>
-     * Creating an instance of this class implicity takes a reference to it, so
+     * Creating an instance of this class implicitly takes a reference to it, so
      * a creator must return its ref before the count will be zero.
      */
     class DECAF_API ByteArrayPerspective : public util::ByteArrayAdapter {

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/nio/CharArrayBuffer.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/nio/CharArrayBuffer.h?rev=774096&r1=774095&r2=774096&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/nio/CharArrayBuffer.h
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/nio/CharArrayBuffer.h
Tue May 12 21:20:07 2009
@@ -83,7 +83,7 @@
             throw( decaf::lang::exceptions::IndexOutOfBoundsException );
 
         /**
-         * Create a CharArrayBuffer that mirros this one, meaning it shares a
+         * Create a CharArrayBuffer that mirrors this one, meaning it shares a
          * reference to this buffers ByteArrayPerspective and when changes
          * are made to that data it is reflected in both.
          * @param other - the CharArrayBuffer this one is to mirror.

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/nio/DoubleArrayBuffer.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/nio/DoubleArrayBuffer.h?rev=774096&r1=774095&r2=774096&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/nio/DoubleArrayBuffer.h
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/nio/DoubleArrayBuffer.h
Tue May 12 21:20:07 2009
@@ -83,7 +83,7 @@
             throw( decaf::lang::exceptions::IndexOutOfBoundsException );
 
         /**
-         * Create a DoubleArrayBuffer that mirros this one, meaning it shares a
+         * Create a DoubleArrayBuffer that mirrors this one, meaning it shares a
          * reference to this buffers ByteArrayPerspective and when changes
          * are made to that data it is reflected in both.
          * @param other - the DoubleArrayBuffer this one is to mirror.

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/nio/FloatArrayBuffer.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/nio/FloatArrayBuffer.h?rev=774096&r1=774095&r2=774096&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/nio/FloatArrayBuffer.h
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/nio/FloatArrayBuffer.h
Tue May 12 21:20:07 2009
@@ -83,7 +83,7 @@
             throw( decaf::lang::exceptions::IndexOutOfBoundsException );
 
         /**
-         * Create a FloatArrayBuffer that mirros this one, meaning it shares a
+         * Create a FloatArrayBuffer that mirrors this one, meaning it shares a
          * reference to this buffers ByteArrayPerspective and when changes
          * are made to that data it is reflected in both.
          * @param other - the FloatArrayBuffer this one is to mirror.

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/nio/IntArrayBuffer.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/nio/IntArrayBuffer.h?rev=774096&r1=774095&r2=774096&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/nio/IntArrayBuffer.h
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/nio/IntArrayBuffer.h
Tue May 12 21:20:07 2009
@@ -83,7 +83,7 @@
             throw( decaf::lang::exceptions::IndexOutOfBoundsException );
 
         /**
-         * Create a IntArrayBuffer that mirros this one, meaning it shares a
+         * Create a IntArrayBuffer that mirrors this one, meaning it shares a
          * reference to this buffers ByteArrayPerspective and when changes
          * are made to that data it is reflected in both.
          * @param other - the IntArrayBuffer this one is to mirror.

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/nio/LongArrayBuffer.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/nio/LongArrayBuffer.h?rev=774096&r1=774095&r2=774096&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/nio/LongArrayBuffer.h
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/nio/LongArrayBuffer.h
Tue May 12 21:20:07 2009
@@ -83,7 +83,7 @@
             throw( decaf::lang::exceptions::IndexOutOfBoundsException );
 
         /**
-         * Create a LongArrayBuffer that mirros this one, meaning it shares a
+         * Create a LongArrayBuffer that mirrors this one, meaning it shares a
          * reference to this buffers ByteArrayPerspective and when changes
          * are made to that data it is reflected in both.
          * @param other - the LongArrayBuffer this one is to mirror.

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/nio/ShortArrayBuffer.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/nio/ShortArrayBuffer.h?rev=774096&r1=774095&r2=774096&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/nio/ShortArrayBuffer.h
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/nio/ShortArrayBuffer.h
Tue May 12 21:20:07 2009
@@ -83,7 +83,7 @@
             throw( decaf::lang::exceptions::IndexOutOfBoundsException );
 
         /**
-         * Create a ShortArrayBuffer that mirros this one, meaning it shares a
+         * Create a ShortArrayBuffer that mirrors this one, meaning it shares a
          * reference to this buffers ByteArrayPerspective and when changes
          * are made to that data it is reflected in both.
          * @param other - the ShortArrayBuffer this one is to mirror.

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/util/ByteArrayAdapter.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/util/ByteArrayAdapter.h?rev=774096&r1=774095&r2=774096&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/util/ByteArrayAdapter.h
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/util/ByteArrayAdapter.h
Tue May 12 21:20:07 2009
@@ -29,12 +29,12 @@
 namespace util{
 
     /**
-     * This class adapts primitve type arrays to a base byte array so that the
-     * classes can interoperate on the same base byte array without copying data.
+     * This class adapts primitive type arrays to a base byte array so that the
+     * classes can inter-operate on the same base byte array without copying data.
      * All the array types are mapped down to a byte array and methods are
-     * supplied for accesing the data in any of the primitve type forms.
+     * supplied for accessing the data in any of the primitive type forms.
      * <p>
-     * Methods in this class that do not return a specifc value return a
+     * Methods in this class that do not return a specific value return a
      * reference to this object so that calls can be chained.
      */
     class DECAF_API ByteArrayAdapter {
@@ -58,7 +58,7 @@
         // Size of the Buffer
         std::size_t capacity;
 
-        // Wether this object owns the buffer
+        // Whether this object owns the buffer
         bool own;
 
     public:
@@ -274,7 +274,7 @@
          * the specified length.  If the length is greater than the capacity of this
          * underlying byte array then an BufferUnderflowException is thrown.
          * @param buffer - the buffer to read data from this array into.
-         * @param offset - postition in this array to start reading from.
+         * @param offset - position in this array to start reading from.
          * @param length - the amount of data to read from this array.
          * @throws NullPointerException if buffer is null
          * @throws BufferUnderflowException if there is not enought data to read
@@ -286,11 +286,11 @@
 
         /**
          * Writes from the Byte array given, starting at the specified offset and writing
-         * the specified amoutn of data into this objects internal array..  If the length
+         * the specified amount of data into this objects internal array..  If the length
          * is greater than the capacity of this underlying byte array then an
          * BufferOverflowException is thrown.
          * @param buffer - the buffer to write get data written into this array.
-         * @param offset - postition in this array to start writing from.
+         * @param offset - position in this array to start writing from.
          * @param length - the amount of data to write to this array.
          * @throws NullPointerException if buffer is null
          * @throws BufferOverflowException if the amount of data to be written to this
@@ -302,7 +302,7 @@
 
         /**
          * Resizes the underlying array to the new given capacity, preserving all the
-         * Data that was previouly in the array, unless the resize is smaller than the
+         * Data that was previously in the array, unless the resize is smaller than the
          * current size in which case only the data that will fit into the new array is
          * preserved.
          * <p>
@@ -378,7 +378,7 @@
 
         /**
          * Reads four bytes at the given index and returns it. The index is a
-         * relative to the size of the type to be read, in otherwords when accessing
+         * relative to the size of the type to be read, in other words when accessing
          * the element in the array index * sizeof( type ) if the actual start index
          * of the type to be read.
          * @param index - the index in the Buffer where the bytes are to be read
@@ -401,7 +401,7 @@
 
         /**
          * Reads eight bytes at the given index and returns it.  The index is a
-         * relative to the size of the type to be read, in otherwords when accessing
+         * relative to the size of the type to be read, in other words when accessing
          * the element in the array index * sizeof( type ) if the actual start index
          * of the type to be read.
          * @param index - the index in the Buffer where the bytes are to be read
@@ -424,7 +424,7 @@
 
         /**
          * Reads four bytes at the given index and returns it.  The index is a
-         * relative to the size of the type to be read, in otherwords when accessing
+         * relative to the size of the type to be read, in other words when accessing
          * the element in the array index * sizeof( type ) if the actual start index
          * of the type to be read.
          * @param index - the index in the Buffer where the bytes are to be read
@@ -447,7 +447,7 @@
 
         /**
          * Reads two bytes at the given index and returns it. The index is a
-         * relative to the size of the type to be read, in otherwords when accessing
+         * relative to the size of the type to be read, in other words when accessing
          * the element in the array index * sizeof( type ) if the actual start index
          * of the type to be read.
          * @param index - the index in the Buffer where the bytes are to be read
@@ -470,7 +470,7 @@
 
         /**
          * Writes the given byte into this buffer at the given index. The index is a
-         * relative to the size of the type to be read, in otherwords when accessing
+         * relative to the size of the type to be read, in other words when accessing
          * the element in the array index * sizeof( type ) if the actual start index
          * of the type to be read.
          * @param index - position in the Buffer to write the data
@@ -485,7 +485,7 @@
         /**
          * Writes one byte containing the given value, into this buffer at the
          * given index. The index is a relative to the size of the type to be read,
-         * in otherwords when accessing the element in the array index * sizeof( type )
+         * in other words when accessing the element in the array index * sizeof( type )
          * if the actual start index of the type to be read.
          * @param index - position in the Buffer to write the data
          * @param value - the value to write.
@@ -499,7 +499,7 @@
         /**
          * Writes eight bytes containing the given value, into this buffer at the
          * given index. The index is a relative to the size of the type to be read,
-         * in otherwords when accessing the element in the array index * sizeof( type )
+         * in other words when accessing the element in the array index * sizeof( type )
          * if the actual start index of the type to be read.
          * @param index - position in the Buffer to write the data
          * @param value - the value to write.
@@ -525,7 +525,7 @@
         /**
          * Writes four bytes containing the given value, into this buffer at the
          * given index. The index is a relative to the size of the type to be read,
-         * in otherwords when accessing the element in the array index * sizeof( type )
+         * in other words when accessing the element in the array index * sizeof( type )
          * if the actual start index of the type to be read.
          * @param index - position in the Buffer to write the data
          * @param value - the value to write.
@@ -551,7 +551,7 @@
         /**
          * Writes eight bytes containing the given value, into this buffer at the
          * given index. The index is a relative to the size of the type to be read,
-         * in otherwords when accessing the element in the array index * sizeof( type )
+         * in other words when accessing the element in the array index * sizeof( type )
          * if the actual start index of the type to be read.
          * @param index - position in the Buffer to write the data
          * @param value - the value to write.
@@ -577,7 +577,7 @@
         /**
          * Writes four bytes containing the given value, into this buffer at the
          * given index. The index is a relative to the size of the type to be read,
-         * in otherwords when accessing the element in the array index * sizeof( type )
+         * in other words when accessing the element in the array index * sizeof( type )
          * if the actual start index of the type to be read.
          * @param index - position in the Buffer to write the data
          * @param value - the value to write.
@@ -603,7 +603,7 @@
         /**
          * Writes two bytes containing the given value, into this buffer at the
          * given index. The index is a relative to the size of the type to be read,
-         * in otherwords when accessing the element in the array index * sizeof( type )
+         * in other words when accessing the element in the array index * sizeof( type )
          * if the actual start index of the type to be read.
          * @param index - position in the Buffer to write the data
          * @param value - the value to write.



Mime
View raw message