diff options
author | 2015-03-05 10:41:46 +0000 | |
---|---|---|
committer | 2015-03-05 18:31:26 +0000 | |
commit | f014b3c574b1a70942dac1a2dcdf9e86b8df5555 (patch) | |
tree | ec47ebefed90e43976816f6ec3c727d8dfc3c19a | |
parent | cba3d7eff3d95b9557d1603955232ae1bca3806d (diff) |
Remove extra .toString() calls from Bazel's Constants.
--
MOS_MIGRATED_REVID=87806484
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/Constants.java | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/Constants.java b/src/main/java/com/google/devtools/build/lib/Constants.java index a9e5a82e9d..e71b1cf4ce 100644 --- a/src/main/java/com/google/devtools/build/lib/Constants.java +++ b/src/main/java/com/google/devtools/build/lib/Constants.java @@ -18,20 +18,17 @@ import com.google.common.collect.ImmutableList; /** * Various constants required by Bazel. - * - * <p>The extra {@code .toString()} calls are there so that javac doesn't inline these constants - * so that we can replace this class file in the .jar after Bazel was built. */ public class Constants { private Constants() { } - public static final String PRODUCT_NAME = "bazel".toString(); + public static final String PRODUCT_NAME = "bazel"; public static final ImmutableList<String> DEFAULT_PACKAGE_PATH = ImmutableList.of("%workspace%"); public static final String MAIN_RULE_CLASS_PROVIDER = - "com.google.devtools.build.lib.bazel.rules.BazelRuleClassProvider".toString(); + "com.google.devtools.build.lib.bazel.rules.BazelRuleClassProvider"; public static final ImmutableList<String> IGNORED_TEST_WARNING_PREFIXES = ImmutableList.of(); - public static final String DEFAULT_RUNFILES_PREFIX = "".toString(); + public static final String DEFAULT_RUNFILES_PREFIX = ""; public static final ImmutableList<String> WATCHFS_BLACKLIST = ImmutableList.of(); |