From 8a2c6c29af41cd7a62f37861fb0d4e81a857bb45 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 12 Aug 2014 15:10:41 +0200 Subject: java: use 'Long.valueOf' instead of 'new Long' Change-Id: If4fff3dd37326fbcdd01b743355a16591d71fa69 --- framework/qa/complex/framework/autosave/Protocol.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'framework/qa') diff --git a/framework/qa/complex/framework/autosave/Protocol.java b/framework/qa/complex/framework/autosave/Protocol.java index 225ebce46207..77b1dc64376b 100644 --- a/framework/qa/complex/framework/autosave/Protocol.java +++ b/framework/qa/complex/framework/autosave/Protocol.java @@ -279,9 +279,9 @@ public class Protocol extends JComponent // insert line number if (m_nLine % MARK_DIFF == 0) - impl_generateColoredHTMLCell(sLine, new Long(m_nLine).toString(), BGCOLOR_LINECOL, FGCOLOR_LINECOL_MARKED, true); + impl_generateColoredHTMLCell(sLine, Long.valueOf(m_nLine).toString(), BGCOLOR_LINECOL, FGCOLOR_LINECOL_MARKED, true); else - impl_generateColoredHTMLCell(sLine, new Long(m_nLine).toString(), BGCOLOR_LINECOL, FGCOLOR_LINECOL_NORMAL, false); + impl_generateColoredHTMLCell(sLine, Long.valueOf(m_nLine).toString(), BGCOLOR_LINECOL, FGCOLOR_LINECOL_NORMAL, false); // add time stamp impl_generateColoredHTMLCell(sLine, m_aStamp.toString()+" ", BGCOLOR_TIMESTAMP, FGCOLOR_TIMESTAMP, false); -- cgit