Ignore:
Timestamp:
2017-10-30T22:46:09+01:00 (8 years ago)
Author:
Don-vip
Message:

fix #15505 - update to metadata-extractor 2.10.1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/com/drew/metadata/jpeg/JpegCommentReader.java

    r10862 r13061  
    11/*
    2  * Copyright 2002-2016 Drew Noakes
     2 * Copyright 2002-2017 Drew Noakes
    33 *
    44 *    Licensed under the Apache License, Version 2.0 (the "License");
     
    2525import com.drew.lang.annotations.NotNull;
    2626import com.drew.metadata.Metadata;
     27import com.drew.metadata.StringValue;
    2728
    2829import java.util.Collections;
     
    4950
    5051            // The entire contents of the directory are the comment
    51             directory.setString(JpegCommentDirectory.TAG_COMMENT, new String(segmentBytes));
     52            directory.setStringValue(JpegCommentDirectory.TAG_COMMENT, new StringValue(segmentBytes, null));
    5253        }
    5354    }
Note: See TracChangeset for help on using the changeset viewer.