diff options
author | vladmos <vladmos@google.com> | 2017-10-12 15:35:17 +0200 |
---|---|---|
committer | Marcel Hlopko <hlopko@google.com> | 2017-10-13 13:51:30 +0200 |
commit | cd6d8ae312701694b0a3ff9d59fbf3e7720dfe0c (patch) | |
tree | e423c3a35fa97cf7e5129b1241dd3e317ad6efc2 /src/main/java/com/google/devtools/build/lib/skylarkinterface | |
parent | ef143b46a48e3039e3a3ae6b4db3a0ab5210bbbb (diff) |
Remove deprecated legacy string representations of Skylark objects
RELNOTES[INC]: The flag --incompatible_descriptive_string_representations is no
longer available, old style string representations of objects are not supported
anymore.
PiperOrigin-RevId: 171952621
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/skylarkinterface')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/skylarkinterface/SkylarkValue.java | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/skylarkinterface/SkylarkValue.java b/src/main/java/com/google/devtools/build/lib/skylarkinterface/SkylarkValue.java index 6e316b7b32..6d430ff4ab 100644 --- a/src/main/java/com/google/devtools/build/lib/skylarkinterface/SkylarkValue.java +++ b/src/main/java/com/google/devtools/build/lib/skylarkinterface/SkylarkValue.java @@ -41,18 +41,6 @@ public interface SkylarkValue { void repr(SkylarkPrinter printer); /** - * Print a legacy representation of object x. - * - * <p>By default dispatches to the {@code repr} method. Should be called instead of {@code repr} - * if --incompatible_descriptive_string_representations=false is used. - * - * @param printer an instance of a printer to be used for formatting nested values - */ - default void reprLegacy(SkylarkPrinter printer) { - repr(printer); - } - - /** * Print an informal, human-readable representation of the value. * * <p>By default dispatches to the {@code repr} method. @@ -62,15 +50,4 @@ public interface SkylarkValue { default void str(SkylarkPrinter printer) { repr(printer); } - - /** - * Print a legacy informal, human-readable representation of the value. - * - * <p>By default dispatches to the {@code reprLegacy} method. - * - * @param printer a printer to be used for formatting nested values. - */ - default void strLegacy(SkylarkPrinter printer) { - reprLegacy(printer); - } } |