Project

General

Profile

« Previous | Next » 

Revision a27635bd

Added by Andreas Müller over 1 year ago

ref #10072 adapt vaadin to log4j2 and cleanup

View differences:

src/main/java/eu/etaxonomy/cdm/vaadin/util/converter/GeoLocationConverterValidator.java
11 11
import java.text.ParseException;
12 12
import java.util.Locale;
13 13

  
14
import org.apache.log4j.Logger;
14
import org.apache.logging.log4j.LogManager;
15 15

  
16 16
import com.vaadin.data.Validator;
17 17
import com.vaadin.data.util.converter.Converter;
......
55 55
                return Point.parseLatitude(value);
56 56
            }
57 57
        } catch (ParseException e) {
58
            Logger.getLogger(GeoLocationConverterValidator.class).error(e);
58
            LogManager.getLogger(getClass()).error(e);
59 59
            throw new ConversionException(e);
60 60
        }
61 61
    }

Also available in: Unified diff