Skip to content

Commit 8c2ab7f

Browse files
committed
Address remaining Copilot review comments manually
Per: - #8067 (comment) - #8067 (comment)
1 parent 487db0c commit 8c2ab7f

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

modules/dcache/src/main/java/org/dcache/pool/migration/MigrationModule.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1636,9 +1636,7 @@ public String call() {
16361636
}
16371637

16381638
@Command(name = "hotfile show",
1639-
description = "Show the current status of the hot-file replication facility, "
1640-
+ "including whether it is enabled and the values of the 'replicas' "
1641-
+ "and 'threshold' parameters.",
1639+
description = "Show the values of the 'replicas' and 'threshold' parameters.",
16421640
hint = "Show hot-file replication status.")
16431641
public class HotfileShowCommand implements Callable<String> {
16441642

modules/dcache/src/test/java/org/dcache/pool/json/PoolDataDetailsTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ public void shouldPrintHotfileReplicationStatus() {
1818
}
1919

2020
String output = sw.toString();
21-
assertTrue("Output should contain Hot File Replication status", output.contains("Hot File Replication : ON"));
21+
assertTrue("Output should contain Hot File Replication status", output.contains("Hot File Replication : ON"));
2222

2323
details.setHotFileReplicationEnabled(false);
2424
sw = new StringWriter();
2525
try (PrintWriter pw = new PrintWriter(sw)) {
2626
details.print(pw);
2727
}
2828
output = sw.toString();
29-
assertTrue("Output should contain HotFile Replication status", output.contains("Hot File Replication : OFF"));
29+
assertTrue("Output should contain Hot File Replication status", output.contains("Hot File Replication : OFF"));
3030
}
3131
}

0 commit comments

Comments
 (0)