~ubuntu-branches/ubuntu/lucid/groovy/lucid

« back to all changes in this revision

Viewing changes to src/main/org/codehaus/groovy/binding/SwingTimerTriggerBinding.java

  • Committer: Bazaar Package Importer
  • Author(s): Varun Hiremath, Torsten Werner, Varun Hiremath
  • Date: 2009-04-01 19:24:19 UTC
  • mfrom: (3.2.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090401192419-c5mpylqhcdkv3zuv
Tags: 1.6.0-1
[ Torsten Werner ]
* New upstream release (Closes: #521648)
* Remove Build-Depends: libclassworlds-java.
* Switch to source and target version 1.5.

[ Varun Hiremath ]
* Fix build.xml file
* Add ivy to Build-Depends
* Remove unnecessary Depends -- collections3, mx4j and xpp3 
* Add build.diff patch to fix a build error
* Use quilt to manage patches
* Update manpage (Closes: #507862)

Show diffs side-by-side

added added

removed removed

Lines of Context:
102
102
        // calculate
103
103
        if (reportSteps) {
104
104
            ((ClosureSourceBinding)sourceBinding).setClosureArgument(
105
 
                    new Integer((int) (elapsed / stepSize)));
106
 
              //in Groovy2.0 use valueOf
 
105
                    Integer.valueOf((int) (elapsed / stepSize)));
107
106
        } else if (reportFraction) {
108
107
            ((ClosureSourceBinding)sourceBinding).setClosureArgument(
109
108
                    new Float((float) elapsed / (float) duration));