diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-20 15:22:11 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-10-07 13:20:01 +0200 |
commit | f635ba068428c66cf979816606fea5ee6f241f78 (patch) | |
tree | 76a5a213960f64c3ed2b2d0f6edbf9fd2539a10c /framework/qa/complex | |
parent | 02ace92aba684238622610776b2c618aa04c7a02 (diff) |
java: remove some unnecessary intermediary object creation
Change-Id: Id4949fa08546e710fbf9bd0c7e3bf62979f29c83
Diffstat (limited to 'framework/qa/complex')
-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 77b1dc64376b..144aea8b975a 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, Long.valueOf(m_nLine).toString(), BGCOLOR_LINECOL, FGCOLOR_LINECOL_MARKED, true); + impl_generateColoredHTMLCell(sLine, Long.toString(m_nLine), BGCOLOR_LINECOL, FGCOLOR_LINECOL_MARKED, true); else - impl_generateColoredHTMLCell(sLine, Long.valueOf(m_nLine).toString(), BGCOLOR_LINECOL, FGCOLOR_LINECOL_NORMAL, false); + impl_generateColoredHTMLCell(sLine, Long.toString(m_nLine), BGCOLOR_LINECOL, FGCOLOR_LINECOL_NORMAL, false); // add time stamp impl_generateColoredHTMLCell(sLine, m_aStamp.toString()+" ", BGCOLOR_TIMESTAMP, FGCOLOR_TIMESTAMP, false); |