Skip to content

Commit

Permalink
Delete unused methods.
Browse files Browse the repository at this point in the history
RELNOTES: None
PiperOrigin-RevId: 218775245
  • Loading branch information
dkelmer authored and Copybara-Service committed Oct 25, 2018
1 parent ccc4295 commit 818b1be
Showing 1 changed file with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
import com.google.common.collect.Maps;
import com.google.devtools.build.lib.actions.InconsistentFilesystemException;
import com.google.devtools.build.lib.cmdline.Label;
import com.google.devtools.build.lib.cmdline.LabelSyntaxException;
import com.google.devtools.build.lib.cmdline.PackageIdentifier;
import com.google.devtools.build.lib.concurrent.BlazeInterners;
import com.google.devtools.build.lib.events.Event;
Expand Down Expand Up @@ -455,18 +454,6 @@ private SkylarkImportFailedException(String errorMessage, Exception cause) {
super(errorMessage, cause);
}

private SkylarkImportFailedException(InconsistentFilesystemException e) {
this(e.getMessage(), e);
}

private SkylarkImportFailedException(BuildFileNotFoundException e) {
this(e.getMessage(), e);
}

private SkylarkImportFailedException(LabelSyntaxException e) {
this(e.getMessage(), e);
}

static SkylarkImportFailedException errors(PathFragment file) {
return new SkylarkImportFailedException(
String.format("Extension file '%s' has errors", file));
Expand Down

0 comments on commit 818b1be

Please sign in to comment.