Skip to content
This repository was archived by the owner on Feb 29, 2024. It is now read-only.

Commit 56d8140

Browse files
jasonborgcopybara-github
authored andcommitted
Method renamed to getBlocklist
PiperOrigin-RevId: 371754299 Change-Id: I61a901af7a2b195e8219762eab6b04899705bb32
1 parent 10ef556 commit 56d8140

File tree

3 files changed

+6
-12
lines changed

3 files changed

+6
-12
lines changed

src/agent/internals/src/main/java/com/google/devtools/cdbg/debuglets/java/YamlConfigParser.java

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -71,21 +71,15 @@ public YamlConfigParser(String yamlConfig) throws YamlConfigParserException {
7171

7272
/**
7373
* Returns blocklists found in config.
74-
*
75-
* TODO: Finalize the conversion to blocklist by renaming this
76-
* method.
7774
*/
78-
public String[] getBlacklistPatterns() {
75+
public String[] getBlocklistPatterns() {
7976
return blocklistPatterns;
8077
}
8178

8279
/**
8380
* Returns blocklist exceptions found in config.
84-
*
85-
* TODO: Finalize the conversion to blocklist by renaming this
86-
* method.
8781
*/
88-
public String[] getBlacklistExceptionPatterns() {
82+
public String[] getBlocklistExceptionPatterns() {
8983
return blocklistExceptionPatterns;
9084
}
9185

src/agent/yaml_data_visibility_config_reader.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ static bool ParseYamlConfig(const std::string& yaml_config,
9797
}
9898

9999
ExceptionOr<JniLocalRef> blocklist_patterns =
100-
jniproxy::YamlConfigParser()->getBlacklistPatterns(
100+
jniproxy::YamlConfigParser()->getBlocklistPatterns(
101101
config_parser.GetData().get());
102102

103103
if (blocklist_patterns.HasException()) {
@@ -110,7 +110,7 @@ static bool ParseYamlConfig(const std::string& yaml_config,
110110
}
111111

112112
ExceptionOr<JniLocalRef> blocklist_exception_patterns =
113-
jniproxy::YamlConfigParser()->getBlacklistExceptionPatterns(
113+
jniproxy::YamlConfigParser()->getBlocklistExceptionPatterns(
114114
config_parser.GetData().get());
115115

116116
if (blocklist_exception_patterns.HasException()) {

src/codegen/config.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,10 +291,10 @@
291291
"methodName": "<init>"
292292
},
293293
{
294-
"methodName": "getBlacklistPatterns"
294+
"methodName": "getBlocklistPatterns"
295295
},
296296
{
297-
"methodName": "getBlacklistExceptionPatterns"
297+
"methodName": "getBlocklistExceptionPatterns"
298298
}
299299
],
300300
"nativeNamespace": "jniproxy"

0 commit comments

Comments
 (0)