Out of sync error: source file file:/pericore/OzoneServer/src/com/pericore/ozone/server/proof/ProofMap.java ----- Element: ------------------------------------------------------- kind: METHOD, till() ----- Tree: ------------------------------------------------------- kind: METHOD public long till() { return Math.max(when - System.currentTimeMillis(), 0); } ----- Offset: ------------------------------------------------------- offset: 966 ----- Token sequence: ---------------------------------------- TokenSequence for text/x-java/text/x-javadoc at tokenIndex=0. TokenList contains 1 tokens: *[0]: " *" <965,967> OTHER_TEXT[5] DefT, IHC=195750721 ----- Doc instance: ------------------------------------------------------- class: class org.netbeans.modules.java.source.JavadocEnv$JavadocMethod, toString: com.pericore.ozone.server.proof.ProofMap.Until.till(), raw text:'' ----- Stack trace: --------------------------------------------- java.lang.IllegalStateException at org.netbeans.modules.java.editor.javadoc.JavadocCompletionUtils.dumpOutOfSyncError(JavadocCompletionUtils.java:481) at org.netbeans.modules.java.editor.javadoc.JavadocCompletionUtils.findJavadoc(JavadocCompletionUtils.java:186) at org.netbeans.modules.java.editor.javadoc.JavadocImports.findReferencedElement(JavadocImports.java:242) at org.netbeans.modules.java.editor.semantic.MarkOccurrencesHighlighter.processImpl(MarkOccurrencesHighlighter.java:372) at org.netbeans.modules.java.editor.semantic.MarkOccurrencesHighlighter.run(MarkOccurrencesHighlighter.java:153) at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:668) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:637) ----- Source file content/snapshot: ---------------------------------------- /* * Copyright (c) Pericore, Inc. 2007-2010 All rights reserved. * PROPRIETARY/CONFIDENTIAL */ package com.pericore.ozone.server.proof; import java.util.Set; /** * A collection of ProofNodes which is static as of a date and time. * * This data structure is designed to take some of the pressure off of ProofManager * durring heavy authorizaitons. * * * @author Jacob Dilles */ public class ProofMap { final Object rebuildLock = new Object(); /** * Past this time, this map is no longer valid. */ long expires; Set members; class ProofNode extends Thread { @Override public void run() { } } private class Until{ /** when we are waiting until */ long when; /** Creates an Until with the specified when */ public Until(long when){ this.when = when; } /** **/ public long till(){ return Math.max(when - System.currentTimeMillis(), 0); } } /** Delay object counts ms from a certin time**/ private class Delay { long from; /** creates a delay from now */ public Delay() { this(System.currentTimeMillis()); } /** Create a delay, from the given time **/ public Delay(long from) { this.from = from; } /** How may ms have passed since 'from' */ public long passed() { return System.currentTimeMillis() - from; } /** Return difference between target delay and the actual delay (min 0)*/ public long split(long target) { return Math.max(target - passed(), 0); } } } ----- Document content: ---------------------------------------- /* * Copyright (c) Pericore, Inc. 2007-2010 All rights reserved. * PROPRIETARY/CONFIDENTIAL */ package com.pericore.ozone.server.proof; import java.util.Set; /** * A collection of ProofNodes which is static as of a date and time. * * This data structure is designed to take some of the pressure off of ProofManager * durring heavy authorizaitons. * * * @author Jacob Dilles */ public class ProofMap { final Object rebuildLock = new Object(); /** * Past this time, this map is no longer valid. */ long expires; Set members; class ProofNode extends Thread { @Override public void run() { } } private class Until{ /** when we are waiting until */ long when; /** Creates an Until with the specified when */ public Until(long when){ this.when = when; } /** **/ public long till(){ return Math.max(when - System.currentTimeMillis(), 0); } } /** Delay object counts ms from a certin time**/ private class Delay { long from; /** creates a delay from now */ public Delay() { this(System.currentTimeMillis()); } /** Create a delay, from the given time **/ public Delay(long from) { this.from = from; } /** How may ms have passed since 'from' */ public long passed() { return System.currentTimeMillis() - from; } /** Return difference between target delay and the actual delay (min 0)*/ public long split(long target) { return Math.max(target - passed(), 0); } } }