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); |
} |