You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by pe...@apache.org on 2005/03/11 11:12:07 UTC
cvs commit: ant/src/main/org/apache/tools/ant/types FlexInteger.java
peterreilly 2005/03/11 02:12:07
Modified: src/main/org/apache/tools/ant/types FlexInteger.java
Log:
javadoc
Revision Changes Path
1.7 +4 -1 ant/src/main/org/apache/tools/ant/types/FlexInteger.java
Index: FlexInteger.java
===================================================================
RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/types/FlexInteger.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- FlexInteger.java 9 Mar 2004 16:48:41 -0000 1.6
+++ FlexInteger.java 11 Mar 2005 10:12:07 -0000 1.7
@@ -1,5 +1,5 @@
/*
- * Copyright 2002,2004 The Apache Software Foundation
+ * Copyright 2002,2004-2005 The Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -29,6 +29,7 @@
/**
* Constructor used by Ant's introspection mechanism for attribute population
+ * @param value the value to decode
*/
public FlexInteger(String value) {
this.value = Integer.decode(value);
@@ -36,6 +37,7 @@
/**
* Returns the decimal integer value
+ * @return the integer value
*/
public int intValue() {
return value.intValue();
@@ -43,6 +45,7 @@
/**
* Overridden method to return the decimal value for display
+ * @return a string version of the integer
*/
public String toString() {
return value.toString();
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org