Bug 269599 Compiler warnings in N20090320-2000
1. WARNING in /src/org/eclipse/swt/examples/texteditor/TextEditor.java (at line 760) baselineUpItem.setToolTipText(getResourceString(USE_BASELINE ? "IncreaseBaseline" : "IncreaseFont")); //$NON-NLS-1$ Dead code 2. WARNING in /src/org/eclipse/swt/examples/texteditor/TextEditor.java (at line 774) baselineDownItem.setToolTipText(getResourceString(USE_BASELINE ? "DecreaseBaseline" : "DecreaseFont")); //$NON-NLS-1$ Dead code
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/texteditor/TextEditor.java
dialog.setLayout(new FillLayout());
					dialog.setText(getResourceString("Browser")); 
					Browser browser = new Browser(dialog, SWT.MOZILLA);
					browser.setUrl(link);
					dialog.open();
				}
			}
		}
	}
	
	void handlePaintObject(PaintObjectEvent event) {
		GC gc = event.gc;
		StyleRange style = event.style;
		Bullet bullet = event.bullet;
		if (bullet != null && bullet.type == ST.BULLET_CUSTOM) {
			Display display = event.display;
			Font font = style.font;
			if (font == null) font = styledText.getFont();
			TextLayout layout = new TextLayout(display);
			layout.setAscent(event.ascent);
			layout.setDescent(event.descent);
			layout.setFont(font);
			layout.setText(event.bulletIndex + 1 + "."); 
			layout.draw(gc, event.x + BULLET_WIDTH * 2 / 3, event.y);
			layout.dispose();
		} else {
			Object data = style.data;
			if (data instanceof Image) {
				Image image = (Image)data;
				int x = event.x;