--- old/src/java.desktop/share/classes/javax/swing/text/LayoutQueue.java 2015-04-06 22:10:14.557237689 -0700 +++ new/src/java.desktop/share/classes/javax/swing/text/LayoutQueue.java 2015-04-06 22:10:14.405237685 -0700 @@ -50,6 +50,7 @@ /** * Fetch the default layout queue. + * @return the default layout queue */ public static LayoutQueue getDefaultQueue() { AppContext ac = AppContext.getAppContext(); @@ -77,6 +78,7 @@ /** * Add a task that is not needed immediately because * the results are not believed to be visible. + * @param task the task to add to the queue */ public synchronized void addTask(Runnable task) { if (worker == null) { @@ -88,7 +90,8 @@ } /** - * Used by the worker thread to get a new task to execute + * Used by the worker thread to get a new task to execute. + * @return a task from the queue */ protected synchronized Runnable waitForWork() { while (tasks.size() == 0) {