mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-12 08:25:44 +01:00
refactor
This commit is contained in:
@@ -36,8 +36,8 @@ final class GPGTestHelper {
|
||||
}
|
||||
|
||||
@SuppressWarnings("UnstableApiUsage")
|
||||
static String readKey(String key) throws IOException {
|
||||
URL resource = Resources.getResource("sonia/scm/security/gpg/" + key);
|
||||
static String readResource(String fileName) throws IOException {
|
||||
URL resource = Resources.getResource("sonia/scm/security/gpg/" + fileName);
|
||||
return Resources.toString(resource, StandardCharsets.UTF_8);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user