mirror of
https://github.com/openjdk/jdk.git
synced 2026-04-08 05:58:38 +00:00
7006948: FindBugs warning in IndexColorModel class
Reviewed-by: igor, prr
This commit is contained in:
parent
f5e1bc5ca8
commit
dbef654a2c
@ -625,7 +625,7 @@ public class IndexColorModel extends ColorModel {
|
||||
}
|
||||
nBits[0] = nBits[1] = nBits[2] = 8;
|
||||
}
|
||||
return nBits;
|
||||
return nBits.clone();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user