This is an automated email from the ASF dual-hosted git repository. ebakke pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git
commit 73a3f68275cfb4483be9bc2b0ca6ffda6922855d Author: Eirik Bakke <eba...@ultorg.com> AuthorDate: Fri May 31 10:19:36 2019 -0400 Fix a few comment typos. --- platform/openide.util.ui/src/org/openide/util/CachedHiDPIIcon.java | 4 ++-- platform/openide.util.ui/src/org/openide/util/FilteredIcon.java | 2 +- platform/openide.util.ui/src/org/openide/util/VectorIcon.java | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/platform/openide.util.ui/src/org/openide/util/CachedHiDPIIcon.java b/platform/openide.util.ui/src/org/openide/util/CachedHiDPIIcon.java index ecce663..107469c 100644 --- a/platform/openide.util.ui/src/org/openide/util/CachedHiDPIIcon.java +++ b/platform/openide.util.ui/src/org/openide/util/CachedHiDPIIcon.java @@ -34,7 +34,7 @@ import javax.swing.ImageIcon; /** * Abstract base class for {@link javax.swing.Icon} implementations that need to cache scaled bitmap * representations for HiDPI displays. Bitmaps for multiple HiDPI scaling factors can be cached at - * the same time, e.g. for multi-monitor setups. + * the same time, e.g. for multi-monitor setups. Thread-safe. */ abstract class CachedHiDPIIcon extends ImageIcon { /** @@ -143,7 +143,7 @@ abstract class CachedHiDPIIcon extends ImageIcon { * Future implementations might also elect to simply pass a dummy Component instance * here. * @param graphicsConfiguration the configuration of the surface on which the image will be - * painted + * painted * @param deviceWidth the required width of the image, with scaling already applied * @param deviceHeight the required height of the image, with scaling already applied * @param scale the HiDPI scaling factor detected in {@code graphicsConfiguration} diff --git a/platform/openide.util.ui/src/org/openide/util/FilteredIcon.java b/platform/openide.util.ui/src/org/openide/util/FilteredIcon.java index 94499eb..0496c3b 100644 --- a/platform/openide.util.ui/src/org/openide/util/FilteredIcon.java +++ b/platform/openide.util.ui/src/org/openide/util/FilteredIcon.java @@ -38,7 +38,7 @@ import javax.swing.ImageIcon; * of {@link VectorIcon}, or {@link ImageIcon} instances delegating to a * {@code java.awt.image.MultiResolutionImage} (available since Java 9 and above). * - * <p>Note that state passed through the {code Component} parameter of the + * <p>Note that state passed through the {@code Component} parameter of the * {@link Icon#paintIcon(Component,Graphics,int,int)} method will only be current as of the time the * icon is initially entered into the cache. */ diff --git a/platform/openide.util.ui/src/org/openide/util/VectorIcon.java b/platform/openide.util.ui/src/org/openide/util/VectorIcon.java index e961753..07a9f5b 100644 --- a/platform/openide.util.ui/src/org/openide/util/VectorIcon.java +++ b/platform/openide.util.ui/src/org/openide/util/VectorIcon.java @@ -178,7 +178,7 @@ public abstract class VectorIcon implements Icon, Serializable { * Paint the icon at the given width and height. The dimensions given are the device pixels onto * which the icon must be drawn after it has been scaled up from its originally constant logical * dimensions and aligned onto the device pixel grid. Painting onto the supplied - * {@code Graphics2D} instance using whole number coordinates (for horizontal and veritcal + * {@code Graphics2D} instance using whole number coordinates (for horizontal and vertical * lines) will encourage sharp and well-aligned icons. * * <p>The icon should be painted with its upper left-hand corner at position (0, 0). Icons need --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists