Permalink
Browse files

Use static Character.valueOf(char) instead of instantiating a new

character instance
  • Loading branch information...
1 parent 6d18d0b commit e7a98fbbf25584287d78b80091fd9f98946ccc61 @mdentremont mdentremont committed with U-dEntremont-PC\Matt Oct 6, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 org.rssowl.core/src/org/rssowl/core/util/HTMLFilterReader.java
View
2 org.rssowl.core/src/org/rssowl/core/util/HTMLFilterReader.java
@@ -112,7 +112,7 @@
fgEntityTable.put(entityName[i], new Character(entityVal[i]));
/* Special-case nbsp to a simple space instead of 0xa0 */
- fgEntityTable.put("nbsp", new Character(' ')); //$NON-NLS-1$
+ fgEntityTable.put("nbsp", Character.valueOf(' ')); //$NON-NLS-1$
}
/**

0 comments on commit e7a98fb

Please sign in to comment.