Bug 105816 Extraneous NLS tag incorrectly found in comments
I20050802-0800 In CoolBarManager (org.eclipse.jface) there are NLS tags inside of commented-out blocks of code. These are being reported as compiler errors (when "Usage of non-externalized strings" is set to error). NLS tags inside of commented-out sections should be ignored. If the commented-out sections were uncommented, then the NLS tags would not be errors.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/actions/QuickMenuAction.java
case 0:
            return null;
        case 1:
            Rectangle bounds = items[0].getBounds();
            Rectangle intersect = clientArea.intersection(bounds);
            if (intersect != null && intersect.height == bounds.height) {
                return new Point(Math.max(0, bounds.x
                        + getAvarageCharWith(tree) * CHAR_INDENT), bounds.y
                        + bounds.height);
            } else {
                return null;
            }
        default:
            Rectangle[] rectangles = new Rectangle[items.length];
            for (int i = 0; i < rectangles.length; i++) {
                rectangles[i] = items[i].getBounds();
            }
            Point cursorLocation = tree.getDisplay().getCursorLocation();
            Point result = findBestLocation(getIncludedPositions(rectangles,
                    clientArea), tree.toControl(cursorLocation));
            if (result != null)
                result.x = result.x + getAvarageCharWith(tree) * CHAR_INDENT;
            return result;
        }
    }
    /**
     * Hook to compute the menu location if the focus widget is
     * a table widget.
     * 
     * @param table the table widget that has the focus