diff options
author | Lars Vogel | 2020-01-14 18:51:44 +0000 |
---|---|---|
committer | Lars Vogel | 2020-01-14 18:51:44 +0000 |
commit | f4cc6a3ffa8fa4ea7b2dfdcd2709ca27936fcdcd (patch) | |
tree | 6694c5d43944303bfba0fdec0fba2bcfd3aa18bf | |
parent | 0442fb434d61915118b5a7e4c45afe16256a3769 (diff) | |
download | eclipse.platform.text-f4cc6a3ffa8fa4ea7b2dfdcd2709ca27936fcdcd.tar.gz eclipse.platform.text-f4cc6a3ffa8fa4ea7b2dfdcd2709ca27936fcdcd.tar.xz eclipse.platform.text-f4cc6a3ffa8fa4ea7b2dfdcd2709ca27936fcdcd.zip |
Use Integer.parseInt to avoid wrapper creation with Integer.valueOf inI20200114-1805
QuickSearchDialog
Change-Id: Ifb6c65ffcc49776d8d3548da40bec2c3b648ddf0
Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
-rw-r--r-- | org.eclipse.text.quicksearch/src/org/eclipse/text/quicksearch/internal/ui/QuickSearchDialog.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.text.quicksearch/src/org/eclipse/text/quicksearch/internal/ui/QuickSearchDialog.java b/org.eclipse.text.quicksearch/src/org/eclipse/text/quicksearch/internal/ui/QuickSearchDialog.java index 6be655d52a4..d7b74e0ebb6 100644 --- a/org.eclipse.text.quicksearch/src/org/eclipse/text/quicksearch/internal/ui/QuickSearchDialog.java +++ b/org.eclipse.text.quicksearch/src/org/eclipse/text/quicksearch/internal/ui/QuickSearchDialog.java @@ -449,7 +449,7 @@ public class QuickSearchDialog extends SelectionStatusDialog { String[] _weights = settings.getArray(DIALOG_SASH_WEIGHTS); int[] weights = new int[_weights.length]; for (int i = 0; i < weights.length; i++) { - weights[i] = Integer.valueOf(_weights[i]); + weights[i] = Integer.parseInt(_weights[i]); } sashForm.setWeights(weights); } |