aboutsummaryrefslogtreecommitdiffstats
path: root/eclipse
diff options
context:
space:
mode:
authorSiva Velusamy <vsiva@google.com>2013-05-22 11:45:14 -0700
committerSiva Velusamy <vsiva@google.com>2013-05-22 11:45:14 -0700
commit26389d38443e3f41c2faeff1ce53612395aae5a8 (patch)
tree0fdd8664a464d111afe035f3fd17762c287257a3 /eclipse
parent38c67e13026b31dcc10eb54d4084396432d253d1 (diff)
downloadsdk-26389d38443e3f41c2faeff1ce53612395aae5a8.zip
sdk-26389d38443e3f41c2faeff1ce53612395aae5a8.tar.gz
sdk-26389d38443e3f41c2faeff1ce53612395aae5a8.tar.bz2
Cast from object to String, required for older Eclipse
Change-Id: I4840c7f5b1ddd6cbdebe5d266035c20fdefdd5d4
Diffstat (limited to 'eclipse')
-rw-r--r--eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/VersionCheck.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/VersionCheck.java b/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/VersionCheck.java
index d997c7e..4aeb2cc 100644
--- a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/VersionCheck.java
+++ b/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/VersionCheck.java
@@ -121,7 +121,7 @@ public final class VersionCheck {
}
// test the plugin number
- String versionString = plugin.getBundle().getHeaders().get(
+ String versionString = (String) plugin.getBundle().getHeaders().get(
Constants.BUNDLE_VERSION);
Version version = new Version(versionString);