diff options
author | Siva Velusamy <vsiva@google.com> | 2013-05-22 11:45:14 -0700 |
---|---|---|
committer | Siva Velusamy <vsiva@google.com> | 2013-05-22 11:45:14 -0700 |
commit | 26389d38443e3f41c2faeff1ce53612395aae5a8 (patch) | |
tree | 0fdd8664a464d111afe035f3fd17762c287257a3 /eclipse | |
parent | 38c67e13026b31dcc10eb54d4084396432d253d1 (diff) | |
download | sdk-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.java | 2 |
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); |