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 /qadevOOo/runner/util | |
parent | ff0ad0493ee1729c726587f667761b04101d774c (diff) |
java: use 'Long.valueOf' instead of 'new Long'
Change-Id: If4fff3dd37326fbcdd01b743355a16591d71fa69
Diffstat (limited to 'qadevOOo/runner/util')
-rw-r--r-- | qadevOOo/runner/util/ValueChanger.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qadevOOo/runner/util/ValueChanger.java b/qadevOOo/runner/util/ValueChanger.java index db95579f162c..a197c1b65d69 100644 --- a/qadevOOo/runner/util/ValueChanger.java +++ b/qadevOOo/runner/util/ValueChanger.java @@ -60,7 +60,7 @@ public class ValueChanger { if (oldValue instanceof Long) { long oldlong = ((Long) oldValue).longValue(); - newValue = new Long(oldlong + 15); + newValue = Long.valueOf(oldlong + 15); } else if (oldValue instanceof Short) { |