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 93122ff358
commit 9fe1cea901
1 changed files with 2 additions and 2 deletions

View File

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