]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Fix a src/dst mixup in System.arraycopy.
authorFinn Bock <bckfnn@apache.org>
Tue, 7 Sep 2004 12:21:18 +0000 (12:21 +0000)
committerFinn Bock <bckfnn@apache.org>
Tue, 7 Sep 2004 12:21:18 +0000 (12:21 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197921 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/fo/properties/PropertyMaker.java

index 228e3472c5dba03ace8d937b24c32fbf4d543a05..19048f9d7d48018da2edeff044fe1aadb350105e 100644 (file)
@@ -82,7 +82,7 @@ public class PropertyMaker implements Cloneable {
         percentBase = generic.percentBase;
         if (generic.shorthands != null) {
             shorthands = new PropertyMaker[generic.shorthands.length];
-            System.arraycopy(shorthands, 0, generic.shorthands, 0, shorthands.length);
+            System.arraycopy(generic.shorthands, 0, shorthands, 0, shorthands.length);
         }
         if (generic.enums != null) {
             enums = new HashMap(generic.enums);