Skip to content

Commit

Permalink
Polish
Browse files Browse the repository at this point in the history
  • Loading branch information
jvalkeal committed May 24, 2024
1 parent c2acffa commit dd2a873
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017 the original author or authors.
* Copyright 2017-2024 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -43,7 +43,7 @@ public static ClassPathResource qualifiedResource(Class<?> clazz, String resourc
return new ClassPathResource(String.format("%s-%s", clazz.getSimpleName(), resourceSuffix), clazz);
}

public static String resourceContents(Class clazz, String resourceName) {
public static String resourceContents(Class<?> clazz, String resourceName) {
try {
return StreamUtils.copyToString(TestResourceUtils.qualifiedResource(clazz, resourceName).getInputStream(),
Charset.defaultCharset());
Expand Down

0 comments on commit dd2a873

Please sign in to comment.