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

Unified Diff: dart/compiler/java/com/google/dart/compiler/DelegatingCompilerConfiguration.java

Issue 20722006: Removed compiler/ directory from repository (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 5 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/compiler/java/com/google/dart/compiler/DelegatingCompilerConfiguration.java
diff --git a/dart/compiler/java/com/google/dart/compiler/DelegatingCompilerConfiguration.java b/dart/compiler/java/com/google/dart/compiler/DelegatingCompilerConfiguration.java
deleted file mode 100644
index cf377f298c3009dd55854476e2ef8c8d0fc40ee4..0000000000000000000000000000000000000000
--- a/dart/compiler/java/com/google/dart/compiler/DelegatingCompilerConfiguration.java
+++ /dev/null
@@ -1,90 +0,0 @@
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-package com.google.dart.compiler;
-
-import com.google.dart.compiler.CommandLineOptions.CompilerOptions;
-import com.google.dart.compiler.metrics.CompilerMetrics;
-
-import java.io.File;
-import java.util.List;
-
-/**
- * Provides a way to override a specific method of an existing instance of a CompilerConfiguration.
- *
- * @author zundel@google.com (Eric Ayers)
- */
-public class DelegatingCompilerConfiguration implements CompilerConfiguration {
-
- private CompilerConfiguration delegate;
-
- public DelegatingCompilerConfiguration(CompilerConfiguration delegate) {
- this.delegate = delegate;
- }
-
- @Override
- public boolean developerModeChecks() {
- return delegate.developerModeChecks();
- }
-
- @Override
- public List<DartCompilationPhase> getPhases() {
- return delegate.getPhases();
- }
-
- @Override
- public CompilerMetrics getCompilerMetrics() {
- return delegate.getCompilerMetrics();
- }
-
- @Override
- public String getJvmMetricOptions() {
- return delegate.getJvmMetricOptions();
- }
-
- @Override
- public boolean typeErrorsAreFatal() {
- return delegate.typeErrorsAreFatal();
- }
-
- @Override
- public boolean warningsAreFatal() {
- return delegate.warningsAreFatal();
- }
-
- @Override
- public boolean resolveDespiteParseErrors() {
- return delegate.resolveDespiteParseErrors();
- }
-
- @Override
- public boolean incremental() {
- return delegate.incremental();
- }
-
- @Override
- public File getOutputDirectory() {
- return delegate.getOutputDirectory();
- }
-
- @Override
- public LibrarySource getSystemLibraryFor(String importSpec) {
- return delegate.getSystemLibraryFor(importSpec);
- }
-
- @Override
- public CompilerOptions getCompilerOptions() {
- return delegate.getCompilerOptions();
- }
-
- @Override
- public ErrorFormat printErrorFormat() {
- return delegate.printErrorFormat();
- }
-
- @Override
- public PackageLibraryManager getPackageLibraryManager() {
- return delegate.getPackageLibraryManager();
- }
-}

Powered by Google App Engine
This is Rietveld 408576698