Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.

Commit dd2a873

Browse files
committed
Polish
1 parent c2acffa commit dd2a873

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/org/springframework/cli/testutil/TestResourceUtils.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2017 the original author or authors.
2+
* Copyright 2017-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -43,7 +43,7 @@ public static ClassPathResource qualifiedResource(Class<?> clazz, String resourc
4343
return new ClassPathResource(String.format("%s-%s", clazz.getSimpleName(), resourceSuffix), clazz);
4444
}
4545

46-
public static String resourceContents(Class clazz, String resourceName) {
46+
public static String resourceContents(Class<?> clazz, String resourceName) {
4747
try {
4848
return StreamUtils.copyToString(TestResourceUtils.qualifiedResource(clazz, resourceName).getInputStream(),
4949
Charset.defaultCharset());

0 commit comments

Comments
 (0)