Ignore:
Timestamp:
2015-10-13T23:50:14+02:00 (9 years ago)
Author:
Don-vip
Message:

sonar - squid:S2325 - "private" methods that don't access instance data should be "static"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/geoimage/CorrelateGpxWithImages.java

    r8846 r8870  
    12731273    }
    12741274
    1275     private int getLastIndexOfListBefore(List<ImageEntry> images, long searchedTime) {
     1275    private static int getLastIndexOfListBefore(List<ImageEntry> images, long searchedTime) {
    12761276        int lstSize = images.size();
    12771277
     
    13071307    }
    13081308
    1309     private String formatTimezone(double timezone) {
     1309    private static String formatTimezone(double timezone) {
    13101310        StringBuilder ret = new StringBuilder();
    13111311
     
    13261326    }
    13271327
    1328     private double parseTimezone(String timezone) throws ParseException {
     1328    private static double parseTimezone(String timezone) throws ParseException {
    13291329
    13301330        if (timezone.isEmpty())
     
    13971397    }
    13981398
    1399     private long parseOffset(String offset) throws ParseException {
     1399    private static long parseOffset(String offset) throws ParseException {
    14001400        String error = tr("Error while parsing offset.\nExpected format: {0}", "number");
    14011401
Note: See TracChangeset for help on using the changeset viewer.