Update of /cvsroot/asterisk-java/asterisk-java/src/java/net/sf/asterisk/manager/action
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11436/src/java/net/sf/asterisk/manager/action
Modified Files:
QueueAddAction.java
Log Message:
Fixed spelling of penalty
Index: QueueAddAction.java
===================================================================
RCS file: /cvsroot/asterisk-java/asterisk-java/src/java/net/sf/asterisk/manager/action/QueueAddAction.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -p -r1.5 -r1.6
--- QueueAddAction.java 27 Aug 2005 09:42:34 -0000 1.5
+++ QueueAddAction.java 28 Aug 2005 09:28:59 -0000 1.6
@@ -31,7 +31,7 @@ public class QueueAddAction extends Abst
private static final long serialVersionUID = -7022129266332219953L;
private String queue;
private String iface;
- private Integer penality;
+ private Integer penalty;
private Boolean paused;
/**
@@ -59,21 +59,21 @@ public class QueueAddAction extends Abst
/**
* Creates a new QueueAddAction that adds a new member on the given
- * interface to the given queue with the given penality.
+ * interface to the given queue with the given penalty.
*
* @param queue the name of the queue the new member will be added to
* @param iface Sets the interface to add. To add a specific channel just
* use the channel name, e.g. "SIP/1234".
- * @param penality the penality for this member. The penality must be a
- * positive integer or 0 for no penality. When calls are
+ * @param penalty the penalty for this member. The penalty must be a
+ * positive integer or 0 for no penalty. When calls are
* distributed members with higher penalties are considered last.
* @since 0.2
*/
- public QueueAddAction(String queue, String iface, Integer penality)
+ public QueueAddAction(String queue, String iface, Integer penalty)
{
this.queue = queue;
this.iface = iface;
- this.penality = penality;
+ this.penalty = penalty;
}
/**
@@ -120,23 +120,23 @@ public class QueueAddAction extends Abst
}
/**
- * Returns the penality for this member.
+ * Returns the penalty for this member.
*/
- public Integer getPenality()
+ public Integer getPenalty()
{
- return penality;
+ return penalty;
}
/**
- * Sets the penality for this member.<br>
- * The penality must be a positive integer or 0 for no penality. If it is
+ * Sets the penalty for this member.<br>
+ * The penalty must be a positive integer or 0 for no penalty. If it is
* not set 0 is assumed.<br>
* When calls are distributed members with higher penalties are considered
* last.
*/
- public void setPenality(Integer penality)
+ public void setPenalty(Integer penalty)
{
- this.penality = penality;
+ this.penalty = penalty;
}
/**
|