From 09ed4f89ba925af472d5e65adfe9ffc12c4d0d21 Mon Sep 17 00:00:00 2001 From: Peter Bernard West Date: Mon, 5 Jan 2004 02:50:28 +0000 Subject: [PATCH] Removed redundant casts. Javadocs cleanupo. Flagged by Eclipse. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP_0-20-0_Alt-Design@197134 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/fop/fo/ShorthandPropSets.java | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/java/org/apache/fop/fo/ShorthandPropSets.java b/src/java/org/apache/fop/fo/ShorthandPropSets.java index f357397ee..866ab3a5c 100644 --- a/src/java/org/apache/fop/fo/ShorthandPropSets.java +++ b/src/java/org/apache/fop/fo/ShorthandPropSets.java @@ -353,8 +353,8 @@ public class ShorthandPropSets { shorthandMap = new HashMap(shorthands.length); for (int i = 0; i < shorthands.length; i++) { shorthandMap.put - ((Object)(Ints.consts.get(shorthands[i])), - (Object)(Ints.consts.get(i))); + ((Ints.consts.get(shorthands[i])), + (Ints.consts.get(i))); } } @@ -380,7 +380,7 @@ public class ShorthandPropSets { * @param property int property index * @return ROIntArray containing the expansion list for * this shorthand. - * @exception PropertyException if this is not a valid + * @exception PropertyException if this is not a valid * shorthand property */ public static ROIntArray getSHandExpansionSet(int property) @@ -464,7 +464,7 @@ public class ShorthandPropSets { * @param element the overriding PropertyValue * @return PropertyValueList the expansion list with the * appropriate element reset - * @exception PropertyException + * @exception PropertyException */ public static PropertyValueList overrideSHandElement (PropertyValueList expansionList, PropertyValue element) @@ -494,7 +494,7 @@ public class ShorthandPropSets { * @param list the overriding PropertyValueList * @return PropertyValueList the new expansion list with * appropriate elements reset - * @exception PropertyException + * @exception PropertyException */ public static PropertyValueList overrideSHandElements (PropertyValueList expansionList, PropertyValueList list) @@ -814,8 +814,8 @@ public class ShorthandPropSets { compoundMap = new HashMap(compounds.length); for (int i = 0; i < compounds.length; i++) { compoundMap.put - ((Object)(Ints.consts.get(compounds[i])), - (Object)(Ints.consts.get(i))); + ((Ints.consts.get(compounds[i])), + (Ints.consts.get(i))); } } @@ -961,7 +961,7 @@ public class ShorthandPropSets { * @param list - the list to which to append the expansion elements. * @return the original PropertyValueList containing the * appended expansions. - * @exception PropertyException + * @exception PropertyException */ private static PropertyValueList copyValueToSet(PropertyValue value, ROIntArray expansionSet, PropertyValueList list) @@ -991,13 +991,13 @@ public class ShorthandPropSets { * references to the initial values. Note also that, in the * expansion of a compound value, the initial value comonents are * regarded as having been specified. - * @param foTree - the FOTree of the node whose properties are - * being processed. - * @param expansion - the set of indices of the expansion properties. - * @param list - the list to which to append the expansion elements. + * @param foTree tree of the node whose properties are + * being processed + * @param expansion the set of indices of the expansion properties + * @param list the list to which to append the expansion elements * @return the original PropertyValueList containing the * appended initial value expansions for the (compound) property. - * @exception PropertyException + * @exception PropertyException */ public static PropertyValueList initialValueCompoundExpansion (FOTree foTree, ROIntArray expansion, PropertyValueList list) -- 2.39.5