bazel syntax: remove deprecated ParserInput.create
Also, remove deprecation on fromLatin1 as it creates lots of noisy
linter warnings.
@@ -64,10 +64,9 @@ public final class ParserInput {
* Returns an input source that reads from a Latin1-encoded byte array. The caller is free to
* subsequently mutate the array.
*
- * @deprecated this function exists to support legacy uses of Latin1 in Bazel. Do not use Latin1
- * in new applications.
+ * <p>This function exists to support legacy uses of Latin1 in Bazel. Do not use Latin1 in new
+ * applications. (Consider this deprecated, without the fussy warnings.)
*/
- @Deprecated
public static ParserInput fromLatin1(byte[] bytes, String file) {
char[] chars = new char[bytes.length];
for (int i = 0; i < bytes.length; i++) {
@@ -81,12 +80,6 @@ public final class ParserInput {
return fromCharArray(content.toCharArray(), file);
}
- /** Deprecated alias for {@link #fromString}. */
- @Deprecated
- public static ParserInput create(String content, String file) {
- return fromString(content, file);
- }
-
/**
* Returns an input source that reads from the given char array. The caller must not subsequently
* modify the array.
