OSDN Git Service

Fix some minor typo
authorXavier Ducrohet <xav@android.com>
Fri, 7 Aug 2009 00:59:52 +0000 (17:59 -0700)
committerXavier Ducrohet <xav@android.com>
Fri, 7 Aug 2009 00:59:52 +0000 (17:59 -0700)
BUG: 2039797

tools/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/UpdaterData.java
tools/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/widgets/AvdSelector.java

index 6cae085..486095c 100755 (executable)
@@ -308,7 +308,7 @@ class UpdaterData {
                         // Display anything unexpected in the monitor.\r
                         String msg = t.getMessage();\r
                         if (msg != null) {\r
-                            monitor.setResult("Unexpected Error installing '%1$s: %2$s",\r
+                            monitor.setResult("Unexpected Error installing '%1$s': %2$s",\r
                                     archive.getParentPackage().getShortDescription(), msg);\r
                         } else {\r
                             // no error info? get the stack call to display it\r
@@ -317,7 +317,7 @@ class UpdaterData {
                             t.printStackTrace(new PrintStream(baos));\r
 \r
                             // and display it\r
-                            monitor.setResult("Unexpected Error installing '%1$s\n%2$s",\r
+                            monitor.setResult("Unexpected Error installing '%1$s'\n%2$s",\r
                                     archive.getParentPackage().getShortDescription(),\r
                                     baos.toString());\r
                         }\r
index a85c1b8..96d1b65 100644 (file)
@@ -298,8 +298,8 @@ public final class AvdSelector {
 
         mRefreshButton = new Button(buttons, SWT.PUSH | SWT.FLAT);
         mRefreshButton.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
-        mRefreshButton.setText("Resfresh");
-        mRefreshButton.setToolTipText("Reloads the list of AVD.\nUse this if you create AVD from the command line.");
+        mRefreshButton.setText("Refresh");
+        mRefreshButton.setToolTipText("Reloads the list of AVD.\nUse this if you create AVDs from the command line.");
         mRefreshButton.addSelectionListener(new SelectionAdapter() {
             @Override
             public void widgetSelected(SelectionEvent arg0) {