Revision 23de68fc
Added by Andreas Müller almost 2 years ago
cdmlib-ext/src/main/java/eu/etaxonomy/cdm/ext/ipni/IpniServicePublicationConfigurator.java | ||
---|---|---|
1 | 1 |
/** |
2 |
*
|
|
2 |
* |
|
3 | 3 |
*/ |
4 | 4 |
package eu.etaxonomy.cdm.ext.ipni; |
5 | 5 |
|
6 |
import org.apache.log4j.Logger; |
|
6 |
import org.apache.logging.log4j.LogManager; |
|
7 |
import org.apache.logging.log4j.Logger; |
|
7 | 8 |
|
8 | 9 |
/** |
9 | 10 |
* @author a.mueller |
10 | 11 |
* |
11 | 12 |
*/ |
12 | 13 |
public class IpniServicePublicationConfigurator extends IpniServiceConfiguratorBase implements IIpniServiceConfigurator{ |
13 |
public static final Logger logger = Logger.getLogger(IpniServicePublicationConfigurator.class); |
|
14 |
|
|
14 |
public static final Logger logger = LogManager.getLogger(IpniServicePublicationConfigurator.class);
|
|
15 |
|
|
15 | 16 |
/** |
16 |
* If true the abbreviation is used as title instead of the title
|
|
17 |
* If true the abbreviation is used as title instead of the title |
|
17 | 18 |
*/ |
18 | 19 |
private boolean useAbbreviationAsTitle = false; |
19 | 20 |
|
20 |
|
|
21 |
|
|
21 |
|
|
22 |
|
|
22 | 23 |
public void setUseAbbreviationAsTitle(boolean useAbbreviationAsTitle) { |
23 | 24 |
this.useAbbreviationAsTitle = useAbbreviationAsTitle; |
24 | 25 |
} |
25 | 26 |
|
26 | 27 |
public boolean isUseAbbreviationAsTitle() { |
27 | 28 |
return useAbbreviationAsTitle; |
28 |
}
|
|
29 |
|
|
29 |
} |
|
30 |
|
|
30 | 31 |
} |
Also available in: Unified diff
ref #9359 upgrade cdmlib to log4j 2