mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-01-12 15:56:00 +08:00
Add some more Identifiers
Inline one variable
This commit is contained in:
parent
c95b72239e
commit
d8c42faaca
@ -27,7 +27,7 @@ public class DataCacheClearQueue extends Queue<UUID> {
|
||||
* @param handler current instance of DataCacheHandler.
|
||||
*/
|
||||
public DataCacheClearQueue(DataCacheHandler handler) {
|
||||
super(new ArrayBlockingQueue(Settings.PROCESS_CLEAR_LIMIT.getNumber()));
|
||||
super(new ArrayBlockingQueue<>(Settings.PROCESS_CLEAR_LIMIT.getNumber()));
|
||||
setup = new ClearSetup(queue, handler);
|
||||
setup.go();
|
||||
}
|
||||
@ -65,7 +65,7 @@ class ClearConsumer extends Consumer<UUID> implements Runnable {
|
||||
|
||||
private DataCacheHandler handler;
|
||||
|
||||
ClearConsumer(BlockingQueue q, DataCacheHandler handler) {
|
||||
ClearConsumer(BlockingQueue<UUID> q, DataCacheHandler handler) {
|
||||
super(q, "ClearQueueConsumer");
|
||||
this.handler = handler;
|
||||
}
|
||||
@ -97,7 +97,7 @@ class ClearConsumer extends Consumer<UUID> implements Runnable {
|
||||
|
||||
class ClearSetup extends Setup<UUID> {
|
||||
|
||||
public ClearSetup(BlockingQueue<UUID> q, DataCacheHandler handler) {
|
||||
ClearSetup(BlockingQueue<UUID> q, DataCacheHandler handler) {
|
||||
super(new ClearConsumer(q, handler));
|
||||
}
|
||||
}
|
||||
|
@ -770,9 +770,7 @@
|
||||
var begin = new Date(%refreshlong%);
|
||||
var seconds = now.getTime() - begin.getTime();
|
||||
|
||||
var out = formatTime(seconds);
|
||||
|
||||
document.getElementById('divTime').innerHTML = out;
|
||||
document.getElementById('divTime').innerHTML = formatTime(seconds);
|
||||
setTimeout('countUpTimer()', 1000);
|
||||
}
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user