diff options
author | 2016-11-23 17:23:21 +0000 | |
---|---|---|
committer | 2016-11-23 19:12:54 +0000 | |
commit | 4956d3207f8d055405b214f01ce571f84a47f6e4 (patch) | |
tree | 328d1e9fd11a9878855a02c890cd0b572f653071 /src/main/java | |
parent | d700dff5152f5b76a50b6839a8ccc8c8c22e1f5d (diff) |
Remove useless function in BuildFileAST.
--
MOS_MIGRATED_REVID=140040343
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/syntax/BuildFileAST.java | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/syntax/BuildFileAST.java b/src/main/java/com/google/devtools/build/lib/syntax/BuildFileAST.java index ad58b48349..473c54c301 100644 --- a/src/main/java/com/google/devtools/build/lib/syntax/BuildFileAST.java +++ b/src/main/java/com/google/devtools/build/lib/syntax/BuildFileAST.java @@ -227,19 +227,6 @@ public class BuildFileAST extends ASTNode { /** * Parse the specified build file, returning its AST. All errors during * scanning or parsing will be reported to the reporter. - * - * @throws IOException if the file cannot not be read. - */ - public static BuildFileAST parseBuildFile(Path buildFile, long fileSize, - EventHandler eventHandler) - throws IOException { - ParserInputSource inputSource = ParserInputSource.create(buildFile, fileSize); - return parseBuildFile(inputSource, eventHandler); - } - - /** - * Parse the specified build file, returning its AST. All errors during - * scanning or parsing will be reported to the reporter. */ public static BuildFileAST parseBuildFile(ParserInputSource input, List<Statement> preludeStatements, |