~ubuntu-branches/ubuntu/precise/jetty/precise-updates

« back to all changes in this revision

Viewing changes to contrib/sweeper/src/main/java/org/mortbay/util/daemon/Sweeper.java

  • Committer: Bazaar Package Importer
  • Author(s): Niels Thykier
  • Date: 2009-10-23 20:45:43 UTC
  • mfrom: (1.2.4 upstream)
  • mto: (11.1.1 lucid)
  • mto: This revision was merged to the branch mainline in revision 11.
  • Revision ID: james.westby@ubuntu.com-20091023204543-hgys3tmhj0squzvp
Tags: upstream-6.1.21
ImportĀ upstreamĀ versionĀ 6.1.21

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
    
47
47
    private void schedule(Timer timer, long interval)
48
48
    {
 
49
        if (LOG_TO_CONSOLE)
 
50
            System.err.println("Sweeping "+System.getProperty("java.io.tmpdir")+" every "+interval+"ms");
49
51
        timer.scheduleAtFixedRate(new TimerTask()
50
52
        {
51
53
            public void run()