removed all statics. It doesn't work as we're using Jelly's useBean tag. I would have liked to use invokeStatic but I don't know how to pass an integer...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115122 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8db3b47a68
commit
2aec78f753
@ -26,18 +26,10 @@ import java.util.StringTokenizer;
|
||||
*
|
||||
* @author <a href="mailto:vmassol@apache.org">Vincent Massol</a>
|
||||
*
|
||||
* @version $Id: Formatter.java,v 1.4 2004/05/01 09:15:39 vmassol Exp $
|
||||
* @version $Id: Formatter.java,v 1.5 2004/05/01 09:46:21 vmassol Exp $
|
||||
*/
|
||||
public final class Formatter
|
||||
{
|
||||
/**
|
||||
* Private constructor to prevent anyone from instantiating this utility
|
||||
* class.
|
||||
*/
|
||||
private Formatter()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Format text by wrapping it if it goes beyond the passed column value.
|
||||
*
|
||||
@ -45,7 +37,7 @@ public final class Formatter
|
||||
* @param column the max column position
|
||||
* @return the wrapped text
|
||||
*/
|
||||
public static List format(final String text, final int column)
|
||||
public List format(final String text, final int column)
|
||||
{
|
||||
StringTokenizer st = new StringTokenizer(text, " \t\r\n");
|
||||
List strings = new ArrayList();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user