Update of /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv6409/src/net/sourceforge/bprocessor/model
Modified Files:
Attribute.java
Log Message:
removed some code
Index: Attribute.java
===================================================================
RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/Attribute.java,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** Attribute.java 11 Oct 2007 10:21:46 -0000 1.23
--- Attribute.java 18 Oct 2007 11:59:20 -0000 1.24
***************
*** 35,58 ****
private Space level;
- /** The precision of the object */
- private int precision;
-
/** If the attribute can be modified or not */
private boolean editable;
-
- /**
- * Constructor
- * @param name The name
- * @param value The value
- * @param precision The precision
- */
- public Attribute(String name, Object value, int precision) {
- setName(name);
- setValue(value);
- setPrecision(precision);
- editable = true;
- }
-
/**
* True if the attribute is editable
--- 35,41 ----
***************
*** 77,81 ****
*/
public Attribute(String name, Object value) {
! this(name, value, 0);
}
--- 60,66 ----
*/
public Attribute(String name, Object value) {
! setName(name);
! setValue(value);
! editable = true;
}
***************
*** 135,153 ****
this.name = name;
}
!
! /**
! * @return Returns the precision.
! */
! public int getPrecision() {
! return precision;
! }
!
! /**
! * @param precision The precision to set.
! */
! public void setPrecision(int precision) {
! this.precision = precision;
! }
!
/**
* @return Returns the value.
--- 120,124 ----
this.name = name;
}
!
/**
* @return Returns the value.
|