Subversion Repositories SmartDukaan

Rev

Rev 22998 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 22998 Rev 23568
Line 1... Line 1...
1
package com.spice.profitmandi.common;
1
package com.spice.profitmandi.common;
2
 
2
 
3
import java.io.InputStream;
3
import java.io.InputStream;
4
import java.util.Properties;
4
import java.util.Properties;
5
 
5
 
6
import org.slf4j.Logger;
6
import org.apache.logging.log4j.Logger;
7
import org.slf4j.LoggerFactory;
7
import org.apache.logging.log4j.LogManager;
8
 
8
 
9
public class ResponseCodeHolder {
9
public class ResponseCodeHolder {
10
 
10
 
11
	private static final Logger log = LoggerFactory.getLogger(ResponseCodeHolder.class);
11
	private static final Logger log = LogManager.getLogger(ResponseCodeHolder.class);
12
	private static final Properties properties = new Properties();
12
	private static final Properties properties = new Properties();
13
	static {
13
	static {
14
		final InputStream in = ResponseCodeHolder.class.getClassLoader().getResourceAsStream("response-codes.properties");
14
		final InputStream in = ResponseCodeHolder.class.getClassLoader().getResourceAsStream("response-codes.properties");
15
		try {
15
		try {
16
			properties.load(in);
16
			properties.load(in);