mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-21 19:08:31 +00:00
8051838: [Findbugs]sun.awt.image.MultiResolutionCachedImage expose internal representation
Reviewed-by: serb, pchelko
This commit is contained in:
parent
984d53cb40
commit
60a32b2687
@ -53,7 +53,7 @@ public class MultiResolutionCachedImage extends AbstractMultiResolutionImage {
|
||||
Dimension2D[] sizes, BiFunction<Integer, Integer, Image> mapper) {
|
||||
this.baseImageWidth = baseImageWidth;
|
||||
this.baseImageHeight = baseImageHeight;
|
||||
this.sizes = sizes;
|
||||
this.sizes = (sizes == null) ? null : Arrays.copyOf(sizes, sizes.length);
|
||||
this.mapper = mapper;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user