sonar fix

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1735514 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Andreas Beeker 2016-03-17 22:39:20 +00:00
parent 492e51b15f
commit 33991bfd98

View File

@ -38,8 +38,8 @@ class PathGradientPaint implements Paint {
}
public PathGradientPaint(Color colors[], float fractions[], int capStyle, int joinStyle) {
this.colors = colors;
this.fractions = fractions;
this.colors = colors.clone();
this.fractions = fractions.clone();
this.capStyle = capStyle;
this.joinStyle = joinStyle;