Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Stocker2012-07-16 23:12:05 +0000
committerMatthias Sohn2012-07-16 23:12:05 +0000
commit146c2f221b628c6dc67a77c0f5964ab362482224 (patch)
treefc957161bb6dcd6e70cddd1a7c3f7256ea1a59cf /org.eclipse.egit.import
parentf740ea51a70f861f353af005232f11d31a08aeee (diff)
downloadegit-146c2f221b628c6dc67a77c0f5964ab362482224.tar.gz
egit-146c2f221b628c6dc67a77c0f5964ab362482224.tar.xz
egit-146c2f221b628c6dc67a77c0f5964ab362482224.zip
[findBugs] Use Integer.valueOf instead of new Integer
Change-Id: I8b5330fb540eab61c66cc55c64f0158559e4314e Signed-off-by: Robin Stocker <robin@nibor.org> Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.egit.import')
-rw-r--r--org.eclipse.egit.import/src/org/eclipse/egit/internal/importing/GitScmUrlImportWizardPage.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.egit.import/src/org/eclipse/egit/internal/importing/GitScmUrlImportWizardPage.java b/org.eclipse.egit.import/src/org/eclipse/egit/internal/importing/GitScmUrlImportWizardPage.java
index da8eb9b162..ed6749364a 100644
--- a/org.eclipse.egit.import/src/org/eclipse/egit/internal/importing/GitScmUrlImportWizardPage.java
+++ b/org.eclipse.egit.import/src/org/eclipse/egit/internal/importing/GitScmUrlImportWizardPage.java
@@ -205,7 +205,7 @@ public class GitScmUrlImportWizardPage extends WizardPage implements
* Updates the count of bundles that will be imported
*/
private void updateCount() {
- counterLabel.setText(NLS.bind(Messages.GitScmUrlImportWizardPage_counter, new Integer(descriptions.length)));
+ counterLabel.setText(NLS.bind(Messages.GitScmUrlImportWizardPage_counter, Integer.valueOf(descriptions.length)));
counterLabel.getParent().layout();
}

Back to the top