| Index: compiler/java/com/google/dart/compiler/ast/LibraryImport.java
|
| diff --git a/compiler/java/com/google/dart/compiler/ast/LibraryImport.java b/compiler/java/com/google/dart/compiler/ast/LibraryImport.java
|
| index e6f32f557768403c2c508d200b7b0ed18bd334b3..986fb3c2f19c73c8ef4704996825c1a54dc50eff 100644
|
| --- a/compiler/java/com/google/dart/compiler/ast/LibraryImport.java
|
| +++ b/compiler/java/com/google/dart/compiler/ast/LibraryImport.java
|
| @@ -18,15 +18,12 @@ public class LibraryImport {
|
| private final String prefix;
|
| private final Set<String> showNames;
|
| private final Set<String> hideNames;
|
| - private final boolean exported;
|
|
|
| - public LibraryImport(LibraryUnit library, String prefix, List<ImportCombinator> combinators,
|
| - boolean exported) {
|
| + public LibraryImport(LibraryUnit library, String prefix, List<ImportCombinator> combinators) {
|
| this.library = library;
|
| this.prefix = prefix;
|
| this.showNames = createCombinatorsSet(combinators, true);
|
| this.hideNames = createCombinatorsSet(combinators, false);
|
| - this.exported = exported;
|
| }
|
|
|
| @Override
|
| @@ -39,8 +36,7 @@ public class LibraryImport {
|
| if (obj instanceof LibraryImport) {
|
| LibraryImport other = (LibraryImport) obj;
|
| return Objects.equal(library, other.library) && Objects.equal(prefix, other.prefix)
|
| - && Objects.equal(showNames, other.showNames) && Objects.equal(hideNames, other.hideNames)
|
| - && exported == other.exported;
|
| + && Objects.equal(showNames, other.showNames) && Objects.equal(hideNames, other.hideNames);
|
| }
|
| return false;
|
| }
|
| @@ -63,10 +59,6 @@ public class LibraryImport {
|
| return true;
|
| }
|
|
|
| - public boolean isExported() {
|
| - return exported;
|
| - }
|
| -
|
| private static Set<String> createCombinatorsSet(List<ImportCombinator> combinators, boolean show) {
|
| Set<String> result = Sets.newHashSet();
|
| for (ImportCombinator combinator : combinators) {
|
|
|