[slf4j-dev] svn commit: r883 - slf4j/trunk/slf4j-converter/src/main/java/org/slf4j/converter
ceki at slf4j.org
ceki at slf4j.org
Thu Aug 30 00:20:01 CEST 2007
Author: ceki
Date: Thu Aug 30 00:20:00 2007
New Revision: 883
Modified:
slf4j/trunk/slf4j-converter/src/main/java/org/slf4j/converter/PatternWrapper.java
Log:
use the autoboxing feature of JDK 1.5
Modified: slf4j/trunk/slf4j-converter/src/main/java/org/slf4j/converter/PatternWrapper.java
==============================================================================
--- slf4j/trunk/slf4j-converter/src/main/java/org/slf4j/converter/PatternWrapper.java (original)
+++ slf4j/trunk/slf4j-converter/src/main/java/org/slf4j/converter/PatternWrapper.java Thu Aug 30 00:20:00 2007
@@ -23,8 +23,8 @@
replacementMap.put(groupIndex, replacement);
}
- public String getReplacement(int groupIndex) {
- return replacementMap.get(new Integer(groupIndex));
+ public String getReplacement(Integer groupIndex) {
+ return replacementMap.get(groupIndex);
}
}
More information about the slf4j-dev
mailing list