1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-05 19:42:17 +02:00

code cleanup

This commit is contained in:
Nikolay Pultsin 2011-05-22 00:10:58 +01:00
parent c30d2df801
commit 5ba68b1ac4
2 changed files with 1 additions and 6 deletions

View file

@ -541,11 +541,6 @@ public final class FBView extends ZLTextView {
return myFooter;
}
@Override
public void clearSelection() {
super.clearSelection();
}
public String getSelectedText() {
final TextBuilderTraverser traverser = new TextBuilderTraverser(this);
if (!isSelectionEmpty()) {

View file

@ -1286,7 +1286,7 @@ public abstract class ZLTextView extends ZLTextViewBase {
return true;
}
protected void clearSelection() {
public void clearSelection() {
if (mySelection.clear()) {
Application.getViewWidget().reset();
Application.getViewWidget().repaint();