Changeset 10862 in josm for trunk/src/com/drew/lang


Ignore:
Timestamp:
2016-08-20T20:58:03+02:00 (9 years ago)
Author:
Don-vip
Message:

update to metadata-extractor 2.9.1

Location:
trunk/src/com/drew/lang
Files:
1 added
2 deleted
14 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/com/drew/lang/BufferBoundsException.java

    r8132 r10862  
    11/*
    2  * Copyright 2002-2015 Drew Noakes
     2 * Copyright 2002-2016 Drew Noakes
    33 *
    44 *    Licensed under the Apache License, Version 2.0 (the "License");
  • trunk/src/com/drew/lang/ByteArrayReader.java

    r8132 r10862  
    11/*
    2  * Copyright 2002-2015 Drew Noakes
     2 * Copyright 2002-2016 Drew Noakes
    33 *
    44 *    Licensed under the Apache License, Version 2.0 (the "License");
     
    2222package com.drew.lang;
    2323
     24import java.io.IOException;
     25
    2426import com.drew.lang.annotations.NotNull;
    25 
    26 import java.io.IOException;
    2727
    2828/**
     
    4040    private final byte[] _buffer;
    4141
    42     @SuppressWarnings({ "ConstantConditions" })
    43     @com.drew.lang.annotations.SuppressWarnings(value = "EI_EXPOSE_REP2", justification = "Design intent")
    4442    public ByteArrayReader(@NotNull byte[] buffer)
    4543    {
     
    7472        return bytesRequested >= 0
    7573            && index >= 0
    76             && (long)index + (long)bytesRequested - 1L < (long)_buffer.length;
     74            && (long)index + (long)bytesRequested - 1L < _buffer.length;
    7775    }
    7876
  • trunk/src/com/drew/lang/CompoundException.java

    r8132 r10862  
    11/*
    2  * Copyright 2002-2015 Drew Noakes
     2 * Copyright 2002-2016 Drew Noakes
    33 *
    44 *    Licensed under the Apache License, Version 2.0 (the "License");
  • trunk/src/com/drew/lang/GeoLocation.java

    r8132 r10862  
    11/*
    2  * Copyright 2002-2015 Drew Noakes
     2 * Copyright 2002-2016 Drew Noakes
    33 *
    44 *    Licensed under the Apache License, Version 2.0 (the "License");
     
    8484        double[] dms = decimalToDegreesMinutesSeconds(decimal);
    8585        DecimalFormat format = new DecimalFormat("0.##");
    86         return String.format("%s° %s' %s\"", format.format(dms[0]), format.format(dms[1]), format.format(dms[2]));
     86        return String.format("%s\u00B0 %s' %s\"", format.format(dms[0]), format.format(dms[1]), format.format(dms[2]));
    8787    }
    8888
  • trunk/src/com/drew/lang/RandomAccessReader.java

    r8243 r10862  
    11/*
    2  * Copyright 2002-2015 Drew Noakes
     2 * Copyright 2002-2016 Drew Noakes
    33 *
    44 *    Licensed under the Apache License, Version 2.0 (the "License");
     
    5353     * @param index The index from which to read the byte
    5454     * @return The read byte value
    55      * @throws IllegalArgumentException <code>index</code> or <code>count</code> are negative
     55     * @throws IllegalArgumentException <code>index</code> is negative
    5656     * @throws BufferBoundsException if the requested byte is beyond the end of the underlying data source
    5757     * @throws IOException if the byte is unable to be read
  • trunk/src/com/drew/lang/Rational.java

    r8132 r10862  
    11/*
    2  * Copyright 2002-2015 Drew Noakes
     2 * Copyright 2002-2016 Drew Noakes
    33 *
    44 *    Licensed under the Apache License, Version 2.0 (the "License");
  • trunk/src/com/drew/lang/SequentialByteArrayReader.java

    r8243 r10862  
    11/*
    2  * Copyright 2002-2015 Drew Noakes
     2 * Copyright 2002-2016 Drew Noakes
    33 *
    44 *    Licensed under the Apache License, Version 2.0 (the "License");
     
    4242    }
    4343
    44     @SuppressWarnings("ConstantConditions")
    4544    public SequentialByteArrayReader(@NotNull byte[] bytes, int baseIndex)
    4645    {
  • trunk/src/com/drew/lang/SequentialReader.java

    r8132 r10862  
    11/*
    2  * Copyright 2002-2015 Drew Noakes
     2 * Copyright 2002-2016 Drew Noakes
    33 *
    44 *    Licensed under the Apache License, Version 2.0 (the "License");
  • trunk/src/com/drew/lang/StreamReader.java

    r8132 r10862  
    11/*
    2  * Copyright 2002-2015 Drew Noakes
     2 * Copyright 2002-2016 Drew Noakes
    33 *
    44 *    Licensed under the Apache License, Version 2.0 (the "License");
     
    3737    private final InputStream _stream;
    3838
    39     @SuppressWarnings("ConstantConditions")
    4039    public StreamReader(@NotNull InputStream stream)
    4140    {
  • trunk/src/com/drew/lang/StringUtil.java

    r8132 r10862  
    11/*
    2  * Copyright 2002-2015 Drew Noakes
     2 * Copyright 2002-2016 Drew Noakes
    33 *
    44 *    Licensed under the Apache License, Version 2.0 (the "License");
  • trunk/src/com/drew/lang/annotations/NotNull.java

    r8132 r10862  
    11/*
    2  * Copyright 2002-2015 Drew Noakes
     2 * Copyright 2002-2016 Drew Noakes
    33 *
    44 *    Licensed under the Apache License, Version 2.0 (the "License");
  • trunk/src/com/drew/lang/annotations/Nullable.java

    r8132 r10862  
    11/*
    2  * Copyright 2002-2015 Drew Noakes
     2 * Copyright 2002-2016 Drew Noakes
    33 *
    44 *    Licensed under the Apache License, Version 2.0 (the "License");
  • trunk/src/com/drew/lang/annotations/package.html

    r8132 r10862  
    11<!--
    2   ~ Copyright 2002-2015 Drew Noakes
     2  ~ Copyright 2002-2016 Drew Noakes
    33  ~
    44  ~    Licensed under the Apache License, Version 2.0 (the "License");
  • trunk/src/com/drew/lang/package.html

    r8132 r10862  
    11<!--
    2   ~ Copyright 2002-2015 Drew Noakes
     2  ~ Copyright 2002-2016 Drew Noakes
    33  ~
    44  ~    Licensed under the Apache License, Version 2.0 (the "License");
Note: See TracChangeset for help on using the changeset viewer.