Fix some warnings.
--
MOS_MIGRATED_REVID=102332437
diff --git a/src/main/java/com/google/devtools/build/lib/skyframe/PackageFunction.java b/src/main/java/com/google/devtools/build/lib/skyframe/PackageFunction.java
index c8fad50..2c7b068 100644
--- a/src/main/java/com/google/devtools/build/lib/skyframe/PackageFunction.java
+++ b/src/main/java/com/google/devtools/build/lib/skyframe/PackageFunction.java
@@ -418,14 +418,8 @@
}
ASTFileLookupValue astLookupValue = null;
- SkyKey astLookupKey = null;
- try {
- astLookupKey = ASTFileLookupValue.key(
- PackageIdentifier.createInDefaultRepo(preludePath));
- } catch (ASTLookupInputException e) {
- // There's a static check ensuring that PRELUDE_FILE_FRAGMENT is relative.
- throw new IllegalStateException(e);
- }
+ SkyKey astLookupKey = ASTFileLookupValue.key(
+ PackageIdentifier.createInDefaultRepo(preludePath));
try {
astLookupValue = (ASTFileLookupValue) env.getValueOrThrow(astLookupKey,
ErrorReadingSkylarkExtensionException.class, InconsistentFilesystemException.class);