Author: michaelo
Date: Fri Jan 6 23:06:05 2017
New Revision: 1777730
URL: http://svn.apache.org/viewvc?rev=1777730&view=rev
Log:
[MPIR-356] Deprecate non-used methods in ProjectInfoReportUtils
Modified:
maven/plugins/trunk/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/ProjectInfoReportUtils.java
Modified:
maven/plugins/trunk/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/ProjectInfoReportUtils.java
URL:
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/ProjectInfoReportUtils.java?rev=1777730&r1=1777729&r2=1777730&view=diff
==============================================================================
---
maven/plugins/trunk/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/ProjectInfoReportUtils.java
(original)
+++
maven/plugins/trunk/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/ProjectInfoReportUtils.java
Fri Jan 6 23:06:05 2017
@@ -394,6 +394,7 @@ public class ProjectInfoReportUtils
* @param str The string to be checked.
* @return true if is number false otherwise.
*/
+ @Deprecated
public static boolean isNumber( String str )
{
if ( str.startsWith( "+" ) )
@@ -408,6 +409,7 @@ public class ProjectInfoReportUtils
* @param defaultValue The default value.
* @return Converted string.
*/
+ @Deprecated
public static float toFloat( String str, float defaultValue )
{
if ( str.startsWith( "+" ) )