You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sc...@apache.org on 2016/06/23 00:47:40 UTC
svn commit: r1749803 -
/maven/shared/trunk/maven-shared-utils/src/main/java/org/apache/maven/shared/utils/PropertyUtils.java
Author: schulte
Date: Thu Jun 23 00:47:40 2016
New Revision: 1749803
URL: http://svn.apache.org/viewvc?rev=1749803&view=rev
Log:
[MSHARED-564] Exceptions thrown on closing resources should not be suppressed silently.
Modified:
maven/shared/trunk/maven-shared-utils/src/main/java/org/apache/maven/shared/utils/PropertyUtils.java
Modified: maven/shared/trunk/maven-shared-utils/src/main/java/org/apache/maven/shared/utils/PropertyUtils.java
URL: http://svn.apache.org/viewvc/maven/shared/trunk/maven-shared-utils/src/main/java/org/apache/maven/shared/utils/PropertyUtils.java?rev=1749803&r1=1749802&r2=1749803&view=diff
==============================================================================
--- maven/shared/trunk/maven-shared-utils/src/main/java/org/apache/maven/shared/utils/PropertyUtils.java (original)
+++ maven/shared/trunk/maven-shared-utils/src/main/java/org/apache/maven/shared/utils/PropertyUtils.java Thu Jun 23 00:47:40 2016
@@ -75,7 +75,7 @@ public class PropertyUtils
*
* @deprecated As of 3.1.0, please use method {@link #loadOptionalProperties(java.io.File)}. This method should not
* be used as it suppresses exceptions when loading properties fails and returns {@code null} instead of an empty
- * {@code Properties} instance when the given {@code URL} is {@code null}.
+ * {@code Properties} instance when the given {@code File} is {@code null}.
*/
@Deprecated
public static Properties loadProperties( @Nonnull File file )