commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1763957 - /commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/psd/PsdImageParser.java
Date Sun, 09 Oct 2016 10:29:26 GMT
Author: sebb
Date: Sun Oct  9 10:29:26 2016
New Revision: 1763957

URL: http://svn.apache.org/viewvc?rev=1763957&view=rev
Log:
Must clone constant array

Modified:
    commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/psd/PsdImageParser.java

Modified: commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/psd/PsdImageParser.java
URL: http://svn.apache.org/viewvc/commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/psd/PsdImageParser.java?rev=1763957&r1=1763956&r2=1763957&view=diff
==============================================================================
--- commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/psd/PsdImageParser.java
(original)
+++ commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/psd/PsdImageParser.java
Sun Oct  9 10:29:26 2016
@@ -84,7 +84,7 @@ public class PsdImageParser extends Imag
 
     @Override
     protected String[] getAcceptedExtensions() {
-        return ACCEPTED_EXTENSIONS;
+        return ACCEPTED_EXTENSIONS.clone();
     }
 
     @Override



Mime
View raw message