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

Unified Diff: dart/editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/analysis/timing/ScanTimings.java

Issue 126303002: Version 1.1.0-dev.5.3 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: Created 6 years, 11 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: dart/editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/analysis/timing/ScanTimings.java
===================================================================
--- dart/editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/analysis/timing/ScanTimings.java (revision 31563)
+++ dart/editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/analysis/timing/ScanTimings.java (working copy)
@@ -1,11 +1,11 @@
/*
* Copyright 2012 Dart project authors.
- *
+ *
* Licensed under the Eclipse Public License v1.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
- *
+ *
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
@@ -92,8 +92,8 @@
private final class MockIndexForScan implements Index {
@Override
- public void getRelationships(Element element, Relationship relationship,
- RelationshipCallback callback) {
+ public void getRelationships(
+ Element element, Relationship relationship, RelationshipCallback callback) {
// ignored
}
@@ -318,6 +318,11 @@
}
@Override
+ public String resolvePathToPackage(IResource resource, String filePath) {
+ throw new UnsupportedOperationException();
+ }
+
+ @Override
public IFileInfo resolveUriToFileInfo(IResource relativeTo, String uri) {
return null;
}
@@ -475,8 +480,9 @@
delta[0] = System.currentTimeMillis() - start;
}
}, null);
- System.out.println("IRes: " + fileCount + " (" + dartCount + ") files in " + delta[0]
- + " ms in " + contextCount + " contexts");
+ System.out.println(
+ "IRes: " + fileCount + " (" + dartCount + ") files in " + delta[0] + " ms in "
+ + contextCount + " contexts");
}
private void scanFiles(File dir) {
@@ -551,8 +557,8 @@
protected DeltaProcessor createProcessor(Project project) {
return new DeltaProcessor(project) {
@Override
- protected boolean visitPackagesProxy(IResourceProxy proxy, String name, File packageDir,
- IPath packagePath) {
+ protected boolean visitPackagesProxy(
+ IResourceProxy proxy, String name, File packageDir, IPath packagePath) {
checkName(name);
return super.visitPackagesProxy(proxy, name, packageDir, packagePath);
}

Powered by Google App Engine
This is Rietveld 408576698