Branch for 2.3.x tree

git-svn-id: https://svn.libreccm.org/ccm/trunk@3532 8810af33-2d31-482b-a856-94f89814c4df
master
jensp 2015-07-28 07:43:36 +00:00
parent c56db8ae78
commit 0f2473a873
2 changed files with 20 additions and 21 deletions

View File

@ -33,8 +33,7 @@ import org.apache.log4j.Logger;
*/ */
public class ConfigError extends Error { public class ConfigError extends Error {
private static final Logger s_log = Logger.getLogger private static final long serialVersionUID = 5224480607138738741L;
(ConfigError.class);
/** /**
* Constructs a new configuration error with the content * Constructs a new configuration error with the content

View File

@ -25,9 +25,8 @@ import java.util.Date;
import java.text.DateFormat; import java.text.DateFormat;
/** /**
* An alternate formatter for java.util.Date objects, * An alternate formatter for java.util.Date objects, outputing the date in
* outputing the date in 'medium' format. The time * 'medium' format. The time is ommitted.
* is ommitted.
* *
* @author unkknown * @author unkknown
* @author Sören Bernstein <quasi@quasiweb.de> * @author Sören Bernstein <quasi@quasiweb.de>
@ -50,9 +49,10 @@ public class DateFormatter implements Formatter {
Locale locale = GlobalizationHelper.getNegotiatedLocale(); Locale locale = GlobalizationHelper.getNegotiatedLocale();
DateFormat format = DateFormat.getDateInstance DateFormat format = DateFormat
(DateFormat.MEDIUM, locale); .getDateInstance(DateFormat.MEDIUM, locale);
return format.format(date); return format.format(date);
} }
} }