Changeset 5158


Ignore:
Timestamp:
Jan 28, 2012 1:01:13 PM (4 months ago)
Author:
Zoey76
Message:

BETA: Reverting [5157] and fixing minor typo in [5156].

Note: Fix typos, don't revert improvements.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/unstable/L2J_Server_BETA/java/com/l2jserver/gameserver/util/Util.java

    r5157 r5158  
    413413        public static String formatDate(Date date, String format) 
    414414        { 
     415                if (date == null) 
     416                { 
     417                        return null; 
     418                } 
    415419                final DateFormat dateFormat = new SimpleDateFormat(format); 
    416                 if (date != null) 
    417                 { 
    418                         return dateFormat.format(date); 
    419                 } 
    420                 return null; 
     420                return dateFormat.format(date); 
    421421        } 
    422422         
Note: See TracChangeset for help on using the changeset viewer.