Remove redundant annotations.
already implies public.
@@ -228,7 +228,7 @@ public final class GenerateExportsTest extends CompilerTestCase {
LINE_JOINER.join(
"/** @export */ G = class {};",
"google_exportSymbol('G', G);",
- "/** @public @export */ G.foo = class {};",
+ "/** @export */ G.foo = class {};",
"goog.exportProperty(G, 'foo', G.foo)"));
test(
@@ -237,7 +237,7 @@ public final class GenerateExportsTest extends CompilerTestCase {
"/** @export */ G.prototype.foo = class {};"),
LINE_JOINER.join(
"G = class {};",
- "/** @export @public */ G.prototype.foo = class {};",
+ "/** @export */ G.prototype.foo = class {};",
"goog.exportProperty(G.prototype, 'foo', G.prototype.foo)"));
}
@@ -249,7 +249,7 @@ public final class GenerateExportsTest extends CompilerTestCase {
" /** @export */ method() {}",
"}"),
LINE_JOINER.join(
- "/** @export @public */ class G { /** @export */ method() {} }",
+ "/** @export */ class G { /** @export */ method() {} }",
"google_exportSymbol('G', G);",
"goog.exportProperty(G.prototype, 'method', G.prototype.method);"));
@@ -260,7 +260,7 @@ public final class GenerateExportsTest extends CompilerTestCase {
" /** @export */ static method() {}",
"}"),
LINE_JOINER.join(
- "/** @export @public */ class G { /** @export */ static method() {} }",
+ "/** @export */ class G { /** @export */ static method() {} }",
"google_exportSymbol('G', G);",
"goog.exportProperty(G, 'method', G.method);"));
}
