diff --git a/core/src/build/conf/checkstyle.xml b/core/src/build/conf/checkstyle.xml index fd39590..bd179dc 100644 --- a/core/src/build/conf/checkstyle.xml +++ b/core/src/build/conf/checkstyle.xml @@ -46,7 +46,8 @@ - + + diff --git a/core/src/main/java/edu/umd/cs/piccolo/PCamera.java b/core/src/main/java/edu/umd/cs/piccolo/PCamera.java index 58ec231..07dbb2c 100644 --- a/core/src/main/java/edu/umd/cs/piccolo/PCamera.java +++ b/core/src/main/java/edu/umd/cs/piccolo/PCamera.java @@ -209,8 +209,10 @@ } /** - * @deprecated by {@link repaintFromLayer(PBounds, PLayer)}. Will be removed + * @deprecated by {@link #repaintFromLayer(PBounds, PLayer)}. Will be removed * in version 2.0. + * @param viewBounds bounds of the region needing painting + * @param repaintedLayer the layer dispatching the repaint notification */ public void repaintFromLayer(final PBounds viewBounds, final PNode repaintedLayer) { if (repaintedLayer instanceof PLayer) { @@ -245,7 +247,7 @@ * @param index the index of the layer to return * @return the layer at the specified position in the list of layers viewed by this camera * @throws IndexOutOfBoundsException if the specified index is out of range - * (index < 0 || index >= getLayerCount()) + * (index < 0 || index >= getLayerCount()) */ public PLayer getLayer(final int index) { return (PLayer) layers.get(index); @@ -282,7 +284,7 @@ * @param index index at which the specified layer is to be inserted * @param layer layer to add * @throws IndexOutOfBoundsException if the specified index is out of range - * (index < 0 || index >= getLayerCount()) + * (index < 0 || index >= getLayerCount()) */ public void addLayer(final int index, final PLayer layer) { layers.add(index, layer); @@ -314,7 +316,7 @@ * @param index index of the layer to remove * @return the layer previously at the specified position * @throws IndexOutOfBoundsException if the specified index is out of range - * (index < 0 || index >= getLayerCount()) + * (index < 0 || index >= getLayerCount()) */ public PLayer removeLayer(final int index) { final PLayer layer = (PLayer) layers.remove(index);