diff options
author | 2015-07-24 14:05:45 +0000 | |
---|---|---|
committer | 2015-07-27 08:33:07 +0000 | |
commit | ef57791beffc7492988c600955397267171ae883 (patch) | |
tree | 962871eedd66658bb7ede05a9997b07ab1cc92f7 /src/main/java/com/google/devtools/build/lib/analysis | |
parent | d019eea902ac64a73e80dcf55db26f9f85c3e54a (diff) |
Refactoring: Replaced redundant strings.
--
MOS_MIGRATED_REVID=99024886
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/analysis')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/analysis/AbstractConfiguredTarget.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/analysis/AbstractConfiguredTarget.java b/src/main/java/com/google/devtools/build/lib/analysis/AbstractConfiguredTarget.java index 3bfdd27736..83ab1561a0 100644 --- a/src/main/java/com/google/devtools/build/lib/analysis/AbstractConfiguredTarget.java +++ b/src/main/java/com/google/devtools/build/lib/analysis/AbstractConfiguredTarget.java @@ -111,7 +111,7 @@ public abstract class AbstractConfiguredTarget return get(name); } } - + @Override public String errorMessage(String name) { return null; @@ -119,6 +119,6 @@ public abstract class AbstractConfiguredTarget @Override public ImmutableCollection<String> getKeys() { - return ImmutableList.of("data_runfiles", "default_runfiles", "label", "files"); + return ImmutableList.of(DATA_RUNFILES_FIELD, DEFAULT_RUNFILES_FIELD, LABEL_FIELD, FILES_FIELD); } } |