java: use 'Integer.valueOf' instead of 'new Integer'

Change-Id: Ia8befb8d69914ce971174fc5f2ffc0e2f506a940
This commit is contained in:
Noel Grandin
2014-08-12 15:09:06 +02:00
parent be1bb7b1cc
commit ff0ad0493e
322 changed files with 1127 additions and 1127 deletions

View File

@@ -152,7 +152,7 @@ public class HighlightText implements com.sun.star.awt.XActionListener {
// Sets the replaced text property color value to RGB parameter
PropertyValue cv = new PropertyValue("CharColor", -1,
new Integer(red),
Integer.valueOf(red),
com.sun.star.beans.PropertyState.DIRECT_VALUE);
// Apply the properties