Gary D. Gregory 2003-08-22 03:06:36 +00:00
parent 30c4f3890d
commit 22aeaddb5e
4 changed files with 16 additions and 6 deletions

View File

@ -63,8 +63,9 @@
* @author <a href="bayard@generationjava.com">Henri Yandell</a>
* @author Stephen Colebourne
* @author Phil Steitz
* @author Gary Gregory
* @since 1.0
* @version $Id: CharSetUtils.java,v 1.24 2003/08/19 00:21:46 scolebourne Exp $
* @version $Id: CharSetUtils.java,v 1.25 2003/08/22 03:06:36 ggregory Exp $
*/
public class CharSetUtils {
@ -252,6 +253,7 @@ public static int count(String str, String[] set) {
* @param str String to keep characters from, may be null
* @param set String set of characters to keep, may be null
* @return modified String, <code>null</code> if null string input
* @since 2.0
*/
public static String keep(String str, String set) {
if (str == null) {
@ -279,6 +281,7 @@ public static String keep(String str, String set) {
* @param str String to keep characters from, may be null
* @param set String[] set of characters to keep, may be null
* @return modified String, <code>null</code> if null string input
* @since 2.0
*/
public static String keep(String str, String[] set) {
if (str == null) {

View File

@ -64,11 +64,11 @@
* @author Based on code from Lucene
* @author Stephen Colebourne
* @author <a href="mailto:sdowney@panix.com">Steve Downey</a>
* @author <a href="mailto:ggregory@seagullsw.com">Gary Gregory</a>
* @author Gary Gregory
* @author Michael Becke
* @author Tetsuya Kaneuchi
* @since 1.0
* @version $Id: SystemUtils.java,v 1.21 2003/08/21 15:52:54 ggregory Exp $
* @version $Id: SystemUtils.java,v 1.22 2003/08/22 03:06:36 ggregory Exp $
*/
public class SystemUtils {
@ -463,6 +463,8 @@ public class SystemUtils {
* </ul>
*
* <p>The field will return zero if {@link #JAVA_VERSION} is <code>null</code>.</p>
*
* @since 2.0
*/
public static final float JAVA_VERSION_FLOAT = getJavaVersionAsFloat();
@ -476,6 +478,8 @@ public class SystemUtils {
* </ul>
*
* <p>The field will return zero if {@link #JAVA_VERSION} is <code>null</code>.</p>
*
* @since 2.0
*/
public static final int JAVA_VERSION_INT = getJavaVersionAsInt();

View File

@ -65,8 +65,9 @@
*
* @author Stephen Colebourne
* @author Pete Gieser
* @author Gary Gregory
* @since 1.0
* @version $Id: StandardToStringStyle.java,v 1.14 2003/08/21 15:52:54 ggregory Exp $
* @version $Id: StandardToStringStyle.java,v 1.15 2003/08/22 03:06:36 ggregory Exp $
*/
public class StandardToStringStyle extends ToStringStyle {
@ -390,6 +391,7 @@ public void setFieldSeparator(String fieldSeparator) {
* of each buffer.</p>
*
* @return the fieldSeparatorAtStart flag
* @since 2.0
*/
public boolean isFieldSeparatorAtStart() {
return super.isFieldSeparatorAtStart();

View File

@ -84,10 +84,10 @@
* the array length.</p>
*
* @author Stephen Colebourne
* @author <a href="mailto:ggregory@seagullsw.com">Gary Gregory</a>
* @author Gary Gregory
* @author Pete Gieser
* @since 1.0
* @version $Id: ToStringStyle.java,v 1.25 2003/08/21 15:52:54 ggregory Exp $
* @version $Id: ToStringStyle.java,v 1.26 2003/08/22 03:06:36 ggregory Exp $
*/
public abstract class ToStringStyle implements Serializable {
@ -209,6 +209,7 @@ protected ToStringStyle() {
*
* @param buffer the <code>StringBuffer</code> to populate
* @param superToString the <code>super.toString()</code>
* @since 2.0
*/
public void appendSuper(StringBuffer buffer, String superToString) {
appendToString(buffer, superToString);