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

Unified Diff: compiler/javatests/com/google/dart/compiler/MockArtifactProvider.java

Issue 9464044: Updates incremental compilation tests to work w/o code generation (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 10 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: compiler/javatests/com/google/dart/compiler/MockArtifactProvider.java
diff --git a/compiler/javatests/com/google/dart/compiler/MockArtifactProvider.java b/compiler/javatests/com/google/dart/compiler/MockArtifactProvider.java
index c856fc72a4372be71ab5436a991501f7f00e0b57..d531c72787e1290c59631f184a537363bb324676 100644
--- a/compiler/javatests/com/google/dart/compiler/MockArtifactProvider.java
+++ b/compiler/javatests/com/google/dart/compiler/MockArtifactProvider.java
@@ -76,7 +76,7 @@ public class MockArtifactProvider extends DartArtifactProvider {
* Removes the given artifact, by name.
*/
public void removeArtifact(String name, String part, String ext) {
- artifacts.remove(keyFor(name, part, ext));
+ Artifact found = artifacts.remove(keyFor(name, part, ext));
scheglov 2012/02/25 21:47:18 unused assignment
}
private String keyFor(Source source, String part, String ext) {

Powered by Google App Engine
This is Rietveld 408576698