public synchronized double forceUpdate(double delta){
  tokens=Math.min(tokens + delta,capacity);
  return tokens;
}

public synchronized double forceUpdate ( double delta ) { tokens = Math . min ( tokens + delta , capacity ) ; return tokens ; }
update the number of tokens in the bucket based . caps at the bucket capacity , but allows taking the bucket into deficit .
