Ignore:
Timestamp:
2015-10-13T23:50:14+02:00 (4 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/tools/date/PrimaryDateParser.java

    r8372 r8870  
    4040    }
    4141
    42     private boolean isDateInShortStandardFormat(String date) {
     42    private static boolean isDateInShortStandardFormat(String date) {
    4343        char[] dateChars;
    4444        // We can only parse the date if it is in a very specific format.
     
    107107    }
    108108
    109     private boolean isDateInLongStandardFormat(String date) {
     109    private static boolean isDateInLongStandardFormat(String date) {
    110110        char[] dateChars;
    111111        // We can only parse the date if it is in a very specific format.
Note: See TracChangeset for help on using the changeset viewer.