From c75ae5bac912229d8168efb91b117823959bc79d Mon Sep 17 00:00:00 2001 From: Raphael Date: Fri, 23 Sep 2011 12:13:49 -0700 Subject: [PATCH] Fix ADT build. Change-Id: I329115eff351ffd4875c018c71d77c6699f61d68 --- .../src/com/android/ide/eclipse/adt/AdtPlugin.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/AdtPlugin.java b/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/AdtPlugin.java index 4d9aaee3b..2ada80082 100644 --- a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/AdtPlugin.java +++ b/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/AdtPlugin.java @@ -1710,7 +1710,8 @@ public class AdtPlugin extends AbstractUIPlugin implements ILogger { versionString = String.format("%1$d.%2$d.%3$d", version.getMajor(), //$NON-NLS-1$ version.getMinor(), version.getMicro()); - SdkStatsService.ping("adt", versionString); //$NON-NLS-1$ + SdkStatsService stats = new SdkStatsService(); + stats.ping("adt", versionString); //$NON-NLS-1$ // Report the version of Eclipse to the stat server. // Get the version of eclipse by getting the version of one of the runtime plugins. @@ -1724,7 +1725,7 @@ public class AdtPlugin extends AbstractUIPlugin implements ILogger { eclipseVersionString = String.format("%1$d.%2$d", //$NON-NLS-1$ eclipseVersion.getMajor(), eclipseVersion.getMinor()); - SdkStatsService.ping("eclipse", eclipseVersionString); //$NON-NLS-1$ + stats.ping("eclipse", eclipseVersionString); //$NON-NLS-1$ } /** -- 2.11.0