harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r926838 - in /harmony/enhanced/classlib/trunk/modules/luni: make/ src/main/java/java/io/ src/main/java/java/lang/ src/main/java/java/net/ src/main/java/java/util/ src/main/java/org/apache/harmony/luni/net/ src/main/java/org/apache/harmony/l...
Date Tue, 23 Mar 2010 23:04:07 GMT
Author: hindessm
Date: Tue Mar 23 23:04:06 2010
New Revision: 926838

URL: http://svn.apache.org/viewvc?rev=926838&view=rev
Log:
Typo fixes.

Modified:
    harmony/enhanced/classlib/trunk/modules/luni/make/findbugs-exclude-filter.xml
    harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/io/CharArrayReader.java
    harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/io/InvalidClassException.java
    harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/lang/Math.java
    harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/lang/StrictMath.java
    harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/URI.java
    harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/util/Currency.java
    harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/net/PlainDatagramSocketImpl.java
    harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/util/FloatingPointParser.java
    harmony/enhanced/classlib/trunk/modules/luni/src/main/native/launcher/shared/main.c
    harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/cbigint.c
    harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/netif.c
    harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/socket.c
    harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/reflect/FieldTest.java
    harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ProxySelectorTest.java
    harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ServerSocketTest.java
    harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/PropertyResourceBundleTest.java
    harmony/enhanced/classlib/trunk/modules/luni/src/test/resources/net.resources/README.txt

Modified: harmony/enhanced/classlib/trunk/modules/luni/make/findbugs-exclude-filter.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/make/findbugs-exclude-filter.xml?rev=926838&r1=926837&r2=926838&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/make/findbugs-exclude-filter.xml (original)
+++ harmony/enhanced/classlib/trunk/modules/luni/make/findbugs-exclude-filter.xml Tue Mar
23 23:04:06 2010
@@ -84,7 +84,7 @@
     </Match>
 
     <!--
-        OK to compare Strings using using == or != in the String class itself
+        OK to compare Strings using == or != in the String class itself
     -->
     <Match>
         <Class name="java.lang.String" />

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/io/CharArrayReader.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/io/CharArrayReader.java?rev=926838&r1=926837&r2=926838&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/io/CharArrayReader.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/io/CharArrayReader.java
Tue Mar 23 23:04:06 2010
@@ -47,7 +47,7 @@ public class CharArrayReader extends Rea
 
     /**
      * Constructs a CharArrayReader on the char array {@code buf}. The size of
-     * the reader is set to the length of the buffer and the object to to read
+     * the reader is set to the length of the buffer and the object to read
      * from is set to {@code buf}.
      * 
      * @param buf

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/io/InvalidClassException.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/io/InvalidClassException.java?rev=926838&r1=926837&r2=926838&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/io/InvalidClassException.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/io/InvalidClassException.java
Tue Mar 23 23:04:06 2010
@@ -18,7 +18,7 @@
 package java.io;
 
 /**
- * Signals a problem during the serialization or or deserialization of an
+ * Signals a problem during the serialization or deserialization of an
  * object. Possible reasons include:
  * <ul>
  * <li>The SUIDs of the class loaded by the VM and the serialized class info do

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/lang/Math.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/lang/Math.java?rev=926838&r1=926837&r2=926838&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/lang/Math.java (original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/lang/Math.java Tue Mar
23 23:04:06 2010
@@ -397,7 +397,7 @@ public final class Math {
      *            the numerator of the operation.
      * @param y
      *            the denominator of the operation.
-     * @return the IEEE754 floating point reminder of of {@code x/y}.
+     * @return the IEEE754 floating point reminder of {@code x/y}.
      */
     public static native double IEEEremainder(double x, double y);
 

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/lang/StrictMath.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/lang/StrictMath.java?rev=926838&r1=926837&r2=926838&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/lang/StrictMath.java (original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/lang/StrictMath.java Tue
Mar 23 23:04:06 2010
@@ -400,7 +400,7 @@ public final class StrictMath {
      *            the numerator of the operation.
      * @param y
      *            the denominator of the operation.
-     * @return the IEEE754 floating point reminder of of {@code x/y}.
+     * @return the IEEE754 floating point reminder of {@code x/y}.
      */
     public static native double IEEEremainder(double x, double y);
 

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/URI.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/URI.java?rev=926838&r1=926837&r2=926838&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/URI.java (original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/URI.java Tue Mar 23
23:04:06 2010
@@ -1011,8 +1011,8 @@ public final class URI implements Compar
 
     /*
      * Takes two strings that may contain hex sequences like %F1 or %2b and
-     * compares them, ignoring case for the hex values hex values must always
-     * occur in pairs like above
+     * compares them, ignoring case for the hex values. Hex values must always
+     * occur in pairs as above
      */
     private boolean equalsHexCaseInsensitive(String first, String second) {
         if (first.indexOf('%') != second.indexOf('%')) {

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/util/Currency.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/util/Currency.java?rev=926838&r1=926837&r2=926838&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/util/Currency.java (original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/util/Currency.java Tue
Mar 23 23:04:06 2010
@@ -115,7 +115,7 @@ public final class Currency implements S
      * Returns the symbol for this currency in the given {@code Locale}.
      * <p>
      * If the locale doesn't have any countries (e.g.
-     * {@code Locale.JAPANESE, new Locale("en","")}), the the ISO
+     * {@code Locale.JAPANESE, new Locale("en","")}), then the ISO
      * 4217 currency code is returned.
      * <p>
      * First the locale's resource bundle is checked, if the locale has the same currency,

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/net/PlainDatagramSocketImpl.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/net/PlainDatagramSocketImpl.java?rev=926838&r1=926837&r2=926838&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/net/PlainDatagramSocketImpl.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/net/PlainDatagramSocketImpl.java
Tue Mar 23 23:04:06 2010
@@ -287,7 +287,7 @@ public class PlainDatagramSocketImpl ext
     public void setOption(int optID, Object val) throws SocketException {
         /*
          * for datagram sockets on some platforms we have to set both the
-         * REUSEADDR AND REUSEPORT so for REUSEADDR set this option option which
+         * REUSEADDR AND REUSEPORT so for REUSEADDR set this option which
          * tells the VM to set the two values as appropriate for the platform
          */
         if (optID == SocketOptions.SO_REUSEADDR) {

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/util/FloatingPointParser.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/util/FloatingPointParser.java?rev=926838&r1=926837&r2=926838&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/util/FloatingPointParser.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/util/FloatingPointParser.java
Tue Mar 23 23:04:06 2010
@@ -42,7 +42,7 @@ public final class FloatingPointParser {
 	 * Takes a String and an integer exponent. The String should hold a positive
 	 * integer value (or zero). The exponent will be used to calculate the
 	 * floating point number by taking the positive integer the String
-	 * represents and multiplying by 10 raised to the power of the of the
+	 * represents and multiplying by 10 raised to the power of the
 	 * exponent. Returns the closest double value to the real number
 	 * 
 	 * @param s
@@ -60,7 +60,7 @@ public final class FloatingPointParser {
 	 * Takes a String and an integer exponent. The String should hold a positive
 	 * integer value (or zero). The exponent will be used to calculate the
 	 * floating point number by taking the positive integer the String
-	 * represents and multiplying by 10 raised to the power of the of the
+	 * represents and multiplying by 10 raised to the power of the
 	 * exponent. Returns the closest float value to the real number
 	 * 
 	 * @param s
@@ -80,7 +80,7 @@ public final class FloatingPointParser {
 	 * space and trailing zeroes eliminated. The exponent of the
 	 * StringExponentPair will be used to calculate the floating point number by
 	 * taking the positive integer the String represents and multiplying by 10
-	 * raised to the power of the of the exponent.
+	 * raised to the power of the exponent.
 	 * 
 	 * @param s
 	 *            the String that will be parsed to a floating point

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/native/launcher/shared/main.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/launcher/shared/main.c?rev=926838&r1=926837&r2=926838&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/native/launcher/shared/main.c (original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/native/launcher/shared/main.c Tue
Mar 23 23:04:06 2010
@@ -1152,7 +1152,7 @@ addDirsToPath (int count, char *newPathT
    *  now set the new path, and in case of !Windows, execv() to 
    *  restart.  Don't free newPath, as the docs say that the 
    *  string becomes part of the environment, which sounds nutty
-   *  but at worst, it's a leak of of one string under windows
+   *  but at worst, it's a leak of one string under windows
    */
      
 #if defined(WIN32)

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/cbigint.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/cbigint.c?rev=926838&r1=926837&r2=926838&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/cbigint.c (original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/cbigint.c Tue
Mar 23 23:04:06 2010
@@ -718,7 +718,7 @@ timesTenToTheEHighPrecision (U_64 * resu
      result[length++] = overflow;
      } while (--e);
    */
-  /* Replace the current implementaion which performs a
+  /* Replace the current implementation which performs a
    * "multiplication" by 10 e number of times with an actual
    * multiplication. 10e19 is the largest exponent to the power of ten
    * that will fit in a 64-bit integer, and 10e9 is the largest exponent to

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/netif.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/netif.c?rev=926838&r1=926837&r2=926838&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/netif.c (original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/netif.c Tue Mar
23 23:04:06 2010
@@ -190,7 +190,8 @@ Java_java_net_NetworkInterface_getNetwor
             }
         }
 
-      /* now  create the NetworkInterface object for this interface and then add it it ot
the arrary that will be returned */
+      /* now create the NetworkInterface object for this interface and
+         then add it to the array that will be returned */
       currentInterface =
         (*env)->NewObject (env, networkInterfaceClass, methodID, name,
                            displayName, addresses,

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/socket.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/socket.c?rev=926838&r1=926837&r2=926838&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/socket.c (original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/socket.c Tue
Mar 23 23:04:06 2010
@@ -890,7 +890,7 @@ setByteSocketOption (JNIEnv * env, hysoc
  * @param	env			pointer to the JNI library
  * @param	socketP		pointer to the hysocket to query
  *
- * @return	the index for the interface interface bound to the multicast socket
+ * @return	the index for the interface bound to the multicast socket
  * @exception	SocketException	if an error occurs during the call
  */
 

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/reflect/FieldTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/reflect/FieldTest.java?rev=926838&r1=926837&r2=926838&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/reflect/FieldTest.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/reflect/FieldTest.java
Tue Mar 23 23:04:06 2010
@@ -315,7 +315,7 @@ public class FieldTest extends junit.fra
 
 		// The test will attempt to use pass an object to set for object, byte,
 		// short, ..., float and double fields
-		// and pass a byte to to setByte for byte, short, ..., float and double
+		// and pass a byte to setByte for byte, short, ..., float and double
 		// fields and so on.
 		// It will also test if IllegalArgumentException is thrown when the
 		// field does not exist in the given object and that

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ProxySelectorTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ProxySelectorTest.java?rev=926838&r1=926837&r2=926838&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ProxySelectorTest.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ProxySelectorTest.java
Tue Mar 23 23:04:06 2010
@@ -506,7 +506,7 @@ public class ProxySelectorTest extends T
 		assertNotNull(proxyList2);
 		assertEquals(1, proxyList2.size());
 		Proxy proxy2 = (Proxy) proxyList2.get(0);
-		// Default implemention doesn't change the proxy list
+		// Default implementation doesn't change the proxy list
 		assertEquals(proxy1, proxy2);
 	}
 

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ServerSocketTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ServerSocketTest.java?rev=926838&r1=926837&r2=926838&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ServerSocketTest.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ServerSocketTest.java
Tue Mar 23 23:04:06 2010
@@ -542,7 +542,7 @@ public class ServerSocketTest extends So
         // checks if it is a least a certain number as some platforms make
         // it higher than we request. Unfortunately non-server versions of
         // windows artificially limit the backlog to 5 and 5 is the
-        // historical default so it it not a great test.
+        // historical default so it is not a great test.
         theSocket = new ServerSocket();
         theAddress = new InetSocketAddress(InetAddress.getLocalHost(), 0);
         theSocket.bind(theAddress, 4);

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/PropertyResourceBundleTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/PropertyResourceBundleTest.java?rev=926838&r1=926837&r2=926838&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/PropertyResourceBundleTest.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/PropertyResourceBundleTest.java
Tue Mar 23 23:04:06 2010
@@ -101,7 +101,7 @@ public class PropertyResourceBundleTest 
     /**
      * @add tests {@link java.util.PropertyResourceBundle#Enumeration}
      */
-    public void test_access$0_Enumberation() throws IOException {
+    public void test_access$0_Enumeration() throws IOException {
         class MockResourceBundle extends PropertyResourceBundle {
             MockResourceBundle(java.io.InputStream stream) throws IOException {
                 super(stream);

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/test/resources/net.resources/README.txt
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/test/resources/net.resources/README.txt?rev=926838&r1=926837&r2=926838&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/test/resources/net.resources/README.txt
(original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/test/resources/net.resources/README.txt
Tue Mar 23 23:04:06 2010
@@ -96,8 +96,7 @@ The key properties required by the java.
 * WebName : The unqualified name of the host where the HTTP server is running.
 
 * TestResourcesDir : the name of the folder on the HTTP server beneath the
-                     document root where the where the web resources have been
-                     deployed. 
+                     document root where the web resources have been deployed. 
 
 * HomeAddressResponse : the expected response returned from a successful get 
                         from the HTTP server.



Mime
View raw message