diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-12 15:10:41 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-19 14:57:17 +0200 |
commit | 8a2c6c29af41cd7a62f37861fb0d4e81a857bb45 (patch) | |
tree | 87575bd76a2ce98793d2bb1773ddc4a9c4e5e41c /framework/qa | |
parent | ff0ad0493ee1729c726587f667761b04101d774c (diff) |
java: use 'Long.valueOf' instead of 'new Long'
Change-Id: If4fff3dd37326fbcdd01b743355a16591d71fa69
Diffstat (limited to 'framework/qa')
-rw-r--r-- | framework/qa/complex/framework/autosave/Protocol.java | 4 |
1 files changed, 2 insertions, 2 deletions
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); |