From 1837ea77829fe9045deacdd51769ac6c409916ad Mon Sep 17 00:00:00 2001 From: Benedikt Ritter Date: Mon, 27 Jan 2014 16:19:55 +0000 Subject: [PATCH] Fix raw type warnings, as pointed out by Duncan Jones git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1561722 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/java/org/apache/commons/lang3/ClassPathUtils.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/apache/commons/lang3/ClassPathUtils.java b/src/main/java/org/apache/commons/lang3/ClassPathUtils.java index 0fcd48d4c..e3f487a9c 100644 --- a/src/main/java/org/apache/commons/lang3/ClassPathUtils.java +++ b/src/main/java/org/apache/commons/lang3/ClassPathUtils.java @@ -55,7 +55,7 @@ public ClassPathUtils() { * @return the fully qualified name of the resource with name {@code resourceName}. * @throws java.lang.NullPointerException if either {@code context} or {@code resourceName} is null. */ - public static String toFullyQualifiedName(final Class context, final String resourceName) { + public static String toFullyQualifiedName(final Class context, final String resourceName) { Validate.notNull(context, "Parameter '%s' must not be null!", "context" ); Validate.notNull(resourceName, "Parameter '%s' must not be null!", "resourceName"); return toFullyQualifiedName(context.getPackage(), resourceName); @@ -103,7 +103,7 @@ public static String toFullyQualifiedName(final Package context, final String re * @return the fully qualified path of the resource with name {@code resourceName}. * @throws java.lang.NullPointerException if either {@code context} or {@code resourceName} is null. */ - public static String toFullyQualifiedPath(final Class context, final String resourceName) { + public static String toFullyQualifiedPath(final Class context, final String resourceName) { Validate.notNull(context, "Parameter '%s' must not be null!", "context" ); Validate.notNull(resourceName, "Parameter '%s' must not be null!", "resourceName"); return toFullyQualifiedPath(context.getPackage(), resourceName);