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

Unified Diff: compiler/java/com/google/dart/compiler/resolver/ClassElementImplementation.java

Issue 10987076: Issue 5447. Wern when concrete class has unimplemented members (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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/java/com/google/dart/compiler/resolver/ClassElementImplementation.java
diff --git a/compiler/java/com/google/dart/compiler/resolver/ClassElementImplementation.java b/compiler/java/com/google/dart/compiler/resolver/ClassElementImplementation.java
index ad75b526467366d99b568bd7445ee6da6edab6de..e8b4b45b9f6dccf2f16cde8a86c2ee1f3d3eff79 100644
--- a/compiler/java/com/google/dart/compiler/resolver/ClassElementImplementation.java
+++ b/compiler/java/com/google/dart/compiler/resolver/ClassElementImplementation.java
@@ -292,19 +292,6 @@ class ClassElementImplementation extends AbstractNodeElement implements ClassNod
}
@Override
- public boolean isAbstract() {
- if (modifiers.isAbstract()) {
- return true;
- }
- for (Element element : getMembers()) {
- if (element.getModifiers().isAbstract()) {
- return true;
- }
- }
- return false;
- }
-
- @Override
public EnclosingElement getEnclosingElement() {
return library;
}

Powered by Google App Engine
This is Rietveld 408576698