void (double fraction) { super.setFraction(fraction); if (mySyncConsole != null) { long newFraction = Math.round(fraction * 100); if (myFraction == newFraction) return; myFraction = newFraction; ProgressBuildEventImpl event = new ProgressBuildEventImpl( SyncBundle.message("maven.sync.wrapper"), SyncBundle.message("maven.sync.wrapper"), System.currentTimeMillis(), SyncBundle.message("maven.sync.wrapper.downloading.progress", myFraction, 100), 100, myFraction, "%"); mySyncConsole.addBuildEvent(event); } }