pbwest 2002/09/26 07:33:17 Modified: src/org/apache/fop/fo Tag: FOP_0-20-0_Alt-Design PropertyConsts.java Log: Fixed method argument type to int.class. Revision Changes Path No revision No revision 1.1.2.11 +7 -5 xml-fop/src/org/apache/fop/fo/Attic/PropertyConsts.java Index: PropertyConsts.java =================================================================== RCS file: /home/cvs/xml-fop/src/org/apache/fop/fo/Attic/PropertyConsts.java,v retrieving revision 1.1.2.10 retrieving revision 1.1.2.11 diff -u -r1.1.2.10 -r1.1.2.11 --- PropertyConsts.java 24 Sep 2002 05:30:05 -0000 1.1.2.10 +++ PropertyConsts.java 26 Sep 2002 14:33:17 -0000 1.1.2.11 @@ -559,7 +559,7 @@ refineparsingmethods = new Method[PropNames.LAST_PROPERTY_INDEX + 1]; mappednummethods = new HashMap(); - oneClass[0] = Integer.class; + oneClass[0] = int.class; twoClasses[0] = FONode.class; twoClasses[1] = PropertyValue.class; @@ -630,9 +630,11 @@ datatypes[i] = classes[i].getField("dataTypes").getInt(null); refineparsingmethods[i] = classes[i].getMethod("refineParsing", twoClasses); - if ((datatypes[i] & Properties.MAPPED_LENGTH) != 0) + + if ((datatypes[i] & Properties.MAPPED_LENGTH) != 0) { mappednummethods.put(Ints.consts.get(i), classes[i].getMethod("getMappedLength", oneClass)); + } } catch (NoSuchFieldException e) { throw new RuntimeException(
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]