src/java.desktop/share/classes/java/awt/image/renderable/ParameterBlock.java

Print this page

        

*** 368,378 **** * <code>parameters</code> <code>Vector</code> * @return a new <code>ParameterBlock</code> containing * the specified parameter. */ public ParameterBlock add(int i) { ! return add(i); } /** * Adds a Long to the list of parameters. * @param l the long to add to the --- 368,378 ---- * <code>parameters</code> <code>Vector</code> * @return a new <code>ParameterBlock</code> containing * the specified parameter. */ public ParameterBlock add(int i) { ! return add(Integer.valueOf(i)); } /** * Adds a Long to the list of parameters. * @param l the long to add to the
*** 487,497 **** * replaced with the specified parameter * @return a new <code>ParameterBlock</code> containing * the specified parameter. */ public ParameterBlock set(int i, int index) { ! return set(i, index); } /** * Replaces an Object in the list of parameters with a Long. * If the index lies beyond the current source list, --- 487,497 ---- * replaced with the specified parameter * @return a new <code>ParameterBlock</code> containing * the specified parameter. */ public ParameterBlock set(int i, int index) { ! return set(Integer.valueOf(i), index); } /** * Replaces an Object in the list of parameters with a Long. * If the index lies beyond the current source list,