[matroska] r884 - trunk/JEBML/src/org/ebml/util

[email protected]
Newsgroups gmane.comp.multimedia.matroska.cvs
Message-ID <[email protected]>
Author: jcsston
Date: 2004-10-14 23:11:41 +0400 (Thu, 14 Oct 2004)
New Revision: 884

Modified:
   trunk/JEBML/src/org/ebml/util/ArrayCopy.java
Log:
ArrayCopy had the arg in the wrong order, resulting in the source data being trashed.

Modified: trunk/JEBML/src/org/ebml/util/ArrayCopy.java
===================================================================
--- trunk/JEBML/src/org/ebml/util/ArrayCopy.java	2004-10-14 19:11:01 UTC (rev 883)
+++ trunk/JEBML/src/org/ebml/util/ArrayCopy.java	2004-10-14 19:11:41 UTC (rev 884)
@@ -32,7 +32,7 @@
 
   }
 
-  public static void arraycopy(byte [] dest, int dest_offset, byte [] src, int src_offset, int count) 
+  public static void arraycopy(byte [] src, int src_offset, byte [] dest, int dest_offset, int count) 
   {
     for (int i = 0; i < count; i++) 
     {
@@ -40,7 +40,7 @@
     }
   }
 
-  public static void arraycopy(char [] dest, int dest_offset, char [] src, int src_offset, int count) 
+  public static void arraycopy(char [] src, int src_offset, char [] dest, int dest_offset, int count) 
   {
     for (int i = 0; i < count; i++) 
     {
@@ -48,7 +48,7 @@
     }
   }
 
-  public static void arraycopy(short [] dest, int dest_offset, short [] src, int src_offset, int count) 
+  public static void arraycopy(short [] src, int src_offset, short [] dest, int dest_offset, int count) 
   {
     for (int i = 0; i < count; i++) 
     {
@@ -56,7 +56,7 @@
     }
   }
 
-  public static void arraycopy(int [] dest, int dest_offset, int [] src, int src_offset, int count) 
+  public static void arraycopy(int [] src, int src_offset, int [] dest, int dest_offset, int count) 
   {
     for (int i = 0; i < count; i++) 
     {
@@ -64,7 +64,7 @@
     }
   }
 
-  public static void arraycopy(long [] dest, int dest_offset, long [] src, int src_offset, int count) 
+  public static void arraycopy(long [] src, int src_offset, long [] dest, int dest_offset, int count) 
   {
     for (int i = 0; i < count; i++) 
     {
@@ -72,7 +72,7 @@
     }
   }
 
-  public static void arraycopy(Object [] dest, int dest_offset, Object [] src, int src_offset, int count) 
+  public static void arraycopy(Object [] src, int src_offset, Object [] dest, int dest_offset, int count) 
   {
     for (int i = 0; i < count; i++) 
     {
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.