Skip to content

Commit b5bd3a4

Browse files
committed
Make clear the intent
1 parent 5a578bf commit b5bd3a4

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

src/main/java/org/codehaus/plexus/components/secdispatcher/internal/sources/EnvMasterSource.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@ public EnvMasterSource() {
4242

4343
@Override
4444
public String description() {
45-
return "Environment variable";
45+
return "Environment variable (variable name should be edited)";
4646
}
4747

4848
@Override
4949
public Optional<String> configTemplate() {
50-
return Optional.of(NAME + ":" + "ENV_VARIABLE");
50+
return Optional.of(NAME + ":$VARIABLE_NAME");
5151
}
5252

5353
@Override

src/main/java/org/codehaus/plexus/components/secdispatcher/internal/sources/GpgAgentMasterSource.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,12 @@ public GpgAgentMasterSource() {
5353

5454
@Override
5555
public String description() {
56-
return "GPG Agent";
56+
return "GPG Agent (agent socket path should be edited)";
5757
}
5858

5959
@Override
6060
public Optional<String> configTemplate() {
61-
return Optional.of(NAME + ":" + "$agentSocketPath");
61+
return Optional.of(NAME + ":$agentSocketPath");
6262
}
6363

6464
@Override

src/main/java/org/codehaus/plexus/components/secdispatcher/internal/sources/PinEntryMasterSource.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@ public PinEntryMasterSource() {
4444

4545
@Override
4646
public String description() {
47-
return "Secure PinEntry prompt";
47+
return "Secure PinEntry prompt (pinentry path should be edited)";
4848
}
4949

5050
@Override
5151
public Optional<String> configTemplate() {
52-
return Optional.of(NAME + ":" + "$pinentryPath");
52+
return Optional.of(NAME + ":$pinentryPath");
5353
}
5454

5555
@Override

src/main/java/org/codehaus/plexus/components/secdispatcher/internal/sources/SystemPropertyMasterSource.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@ public SystemPropertyMasterSource() {
4242

4343
@Override
4444
public String description() {
45-
return "Java System properties";
45+
return "Java System properties (property name should be edited)";
4646
}
4747

4848
@Override
4949
public Optional<String> configTemplate() {
50-
return Optional.of(NAME + ":" + "$systemProperty");
50+
return Optional.of(NAME + ":$systemProperty");
5151
}
5252

5353
@Override

0 commit comments

Comments
 (0)