Browse Source

docs: fix typo and messing imports

pull/2659/head
zanninso 2 months ago committed by zanninso
parent
commit
6895ee71a0
  1. 1
      subjects/java/checkpoints/config-protector/ExerciseRunner.java
  2. 3
      subjects/java/checkpoints/config-protector/README.md

1
subjects/java/checkpoints/config-protector/ExerciseRunner.java

@ -1,3 +1,4 @@
import java.util.List;
import java.util.Arrays;
public class ExerciseRunner {

3
subjects/java/checkpoints/config-protector/README.md

@ -2,7 +2,7 @@
### Instructions
Create a class `ConfigProtector` that provides a method to hide sensitive data in a configuration file using regex. The method should replace sensitive values with asterisks. The configuration file will be provided as a string, and the keys for the sensitive data will be given in a list.
Create a class `ConfigProtector` that provides a method to hide sensitive data in a configuration file using `Regex`. The method should replace sensitive values with asterisks. The configuration file will be provided as a string, and the keys for the sensitive data will be given in a list.
### Expected Class
@ -21,6 +21,7 @@ public class ConfigProtector {
Here is a possible `ExerciseRunner.java` to test your class:
```java
import java.util.List;
import java.util.Arrays;
public class ExerciseRunner {

Loading…
Cancel
Save