Bug 161848 [JFace] Javadoc quality in org.eclipse.jface
As Tod announced on the platform-ui mailing list he wants to set the compiler settings to stricter mode so to ensure the javadoc quality. Because the weather was so lousy in Austria today I tried it and took the effort (~2 hours). I'll attach the patches package wise. This is a starting point.
bundles/org.eclipse.jface/src/org/eclipse/jface/action/ActionContributionItem.java
if (mc != null) {
                            Menu m = mc.getMenu(ti.getParent());
                            if (m != null) {
                                
                                Rectangle b = ti.getBounds();
                                Point p = ti.getParent().toDisplay(
                                        new Point(b.x, b.y + b.height));
                                m.setLocation(p.x, p.y); 
                                m.setVisible(true);
                                return; 
                            }
                        }
                    }
                }
            }
            
            
            if (action.isEnabled()) {
                boolean trace = Policy.TRACE_ACTIONS;
                long ms = System.currentTimeMillis();
                if (trace) {
					System.out.println("Running action: " + action.getText()); 
				}
                action.runWithEvent(e);
                if (trace) {
					System.out.println((System.currentTimeMillis() - ms)
                            + " ms to run action: " + action.getText());