Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(296)

Unified Diff: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/DartProjectImpl.java

Issue 11735003: show package version information in Files View (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/DartProjectImpl.java
===================================================================
--- editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/DartProjectImpl.java (revision 16570)
+++ editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/DartProjectImpl.java (working copy)
@@ -38,7 +38,7 @@
import com.google.dart.tools.core.utilities.io.FileUtilities;
import com.google.dart.tools.core.utilities.resource.IFileUtilities;
import com.google.dart.tools.core.utilities.resource.IResourceUtilities;
-import com.google.dart.tools.core.utilities.yaml.SnakeYamlUtils;
+import com.google.dart.tools.core.utilities.yaml.PubYamlUtils;
import com.google.dart.tools.core.workingcopy.WorkingCopyOwner;
import org.eclipse.core.resources.IFile;
@@ -606,7 +606,7 @@
((DartProjectInfo) getElementInfo()).setLinkedPackageDirName(null);
IResource pubspec = project.findMember(DartCore.PUBSPEC_FILE_NAME);
if (pubspec != null) {
- Map<String, Object> pubMap = SnakeYamlUtils.parsePubspecYamlToMap(IFileUtilities.getContents((IFile) pubspec));
+ Map<String, Object> pubMap = PubYamlUtils.parsePubspecYamlToMap(IFileUtilities.getContents((IFile) pubspec));
if (pubMap != null) {
for (String key : pubMap.keySet()) {
if (key.equals("name")) {

Powered by Google App Engine
This is Rietveld 408576698