Changeset 6985 in josm for trunk/src/org


Ignore:
Timestamp:
2014-04-16T00:09:40+02:00 (11 years ago)
Author:
Don-vip
Message:

sonar - deprecated code

Location:
trunk/src/org/openstreetmap/josm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/MirroredInputStream.java

    r6889 r6985  
    181181    /**
    182182     * Like {@link #findZipEntryPath}, but returns the corresponding InputStream.
     183     * @since 6148
    183184     */
    184185    public InputStream findZipEntryInputStream(String extension, String namepart) {
     
    186187        if (ze == null) return null;
    187188        return ze.b;
    188     }
    189 
    190     @Deprecated // use findZipEntryInputStream
    191     public InputStream getZipEntry(String extension, String namepart) {
    192         return findZipEntryInputStream(extension, namepart);
    193189    }
    194190
  • trunk/src/org/openstreetmap/josm/tools/AlphanumComparator.java

    r6804 r6985  
    4242    private static final AlphanumComparator INSTANCE = new AlphanumComparator();
    4343
     44    /**
     45     * Replies the unique instance.
     46     * @return the unique instance
     47     */
    4448    public static AlphanumComparator getInstance() {
    4549        return INSTANCE;
     
    4852    /**
    4953     * Constructs a new Alphanum Comparator.
    50      * @deprecated use {@link #getInstance()} instead.
    5154     */
    52     @Deprecated
    53     public AlphanumComparator() {
     55    private AlphanumComparator() {
    5456    }
    5557
Note: See TracChangeset for help on using the changeset viewer.