Author: sebb
Date: Tue Oct 22 01:45:58 2013
New Revision: 1534461
URL: http://svn.apache.org/r1534461
Log:
Don't reuse same name as a field
Modified:
commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/jpeg/iptc/IptcRecord.java
Modified:
commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/jpeg/iptc/IptcRecord.java
URL:
http://svn.apache.org/viewvc/commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/jpeg/iptc/IptcRecord.java?rev=1534461&r1=1534460&r2=1534461&view=diff
==============================================================================
---
commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/jpeg/iptc/IptcRecord.java
(original)
+++
commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/jpeg/iptc/IptcRecord.java
Tue Oct 22 01:45:58 2013
@@ -35,13 +35,13 @@ public class IptcRecord {
public IptcRecord(final IptcType iptcType, final String value) {
this.iptcType = iptcType;
- byte[] bytes;
+ byte[] tempBytes;
try {
- bytes = value.getBytes("ISO-8859-1");
+ tempBytes = value.getBytes("ISO-8859-1");
} catch (final UnsupportedEncodingException cannotHappen) {
- bytes = null;
+ tempBytes = null;
}
- this.bytes = bytes;
+ this.bytes = tempBytes;
this.value = value;
}