aboutsummaryrefslogtreecommitdiff
path: root/libjava/javax/swing/event/DocumentEvent.java
diff options
context:
space:
mode:
authorMichael Koch <konqueror@gmx.de>2003-10-12 13:26:01 +0000
committerMichael Koch <mkoch@gcc.gnu.org>2003-10-12 13:26:01 +0000
commit463bc6afde1be6df9710a0cc70e796711da2200a (patch)
tree0737ea23977c15c3b2a868cead5cf0db554d1c32 /libjava/javax/swing/event/DocumentEvent.java
parent134fee658d0bb4d8dbaa0fe3acd352492d2ac0a8 (diff)
downloadgcc-463bc6afde1be6df9710a0cc70e796711da2200a.zip
gcc-463bc6afde1be6df9710a0cc70e796711da2200a.tar.gz
gcc-463bc6afde1be6df9710a0cc70e796711da2200a.tar.bz2
AncestorListener.java, [...]: Removed redundant modifiers.
2003-10-12 Michael Koch <konqueror@gmx.de> * javax/swing/event/AncestorListener.java, javax/swing/event/CaretListener.java, javax/swing/event/CellEditorListener.java, javax/swing/event/ChangeListener.java, javax/swing/event/DocumentEvent.java, javax/swing/event/DocumentListener.java, javax/swing/event/HyperlinkListener.java, javax/swing/event/InternalFrameListener.java, javax/swing/event/ListDataListener.java, javax/swing/event/ListSelectionListener.java, javax/swing/event/MenuDragMouseListener.java, javax/swing/event/MenuKeyListener.java, javax/swing/event/MenuListener.java, javax/swing/event/MouseInputListener.java, javax/swing/event/PopupMenuListener.java, javax/swing/event/TableColumnModelListener.java, javax/swing/event/TableModelListener.java, javax/swing/event/TreeExpansionListener.java, javax/swing/event/TreeModelListener.java, javax/swing/event/TreeSelectionListener.java, javax/swing/event/TreeWillExpandListener.java, javax/swing/event/UndoableEditListener.java, javax/swing/plaf/UIResource.java, javax/swing/plaf/metal/MetalLookAndFeel.java: Removed redundant modifiers. From-SVN: r72395
Diffstat (limited to 'libjava/javax/swing/event/DocumentEvent.java')
-rw-r--r--libjava/javax/swing/event/DocumentEvent.java32
1 files changed, 16 insertions, 16 deletions
diff --git a/libjava/javax/swing/event/DocumentEvent.java b/libjava/javax/swing/event/DocumentEvent.java
index 6ce9dd5..e86f3e4 100644
--- a/libjava/javax/swing/event/DocumentEvent.java
+++ b/libjava/javax/swing/event/DocumentEvent.java
@@ -41,7 +41,7 @@ package javax.swing.event;
import javax.swing.text.*;
/**
- * DocumentEvent interface
+ * DocumentEvent public interface
* @author Andrew Selkirk
* @author Ronald Veldema
*/
@@ -52,9 +52,9 @@ public interface DocumentEvent {
//-------------------------------------------------------------
/**
- * ElementChange interface
+ * ElementChange public interface
*/
- public static interface ElementChange {
+ public interface ElementChange {
//-------------------------------------------------------------
// Methods ----------------------------------------------------
@@ -64,25 +64,25 @@ public interface DocumentEvent {
* getIndex
* @returns int
*/
- public int getIndex();
+ int getIndex();
/**
* getElement
* @returns Element
*/
- public Element getElement();
+ Element getElement();
/**
* getChildrenRemoved
* @returns Element[]
*/
- public Element[] getChildrenRemoved();
+ Element[] getChildrenRemoved();
/**
* getChildrenAdded
* @returns Element[]
*/
- public Element[] getChildrenAdded();
+ Element[] getChildrenAdded();
} // ElementChange
@@ -90,7 +90,7 @@ public interface DocumentEvent {
/**
* EventType
*/
- public static final class EventType {
+ class EventType {
//-------------------------------------------------------------
// Variables --------------------------------------------------
@@ -99,17 +99,17 @@ public interface DocumentEvent {
/**
* INSERT
*/
- public static final EventType INSERT = new EventType("INSERT"); // TODO
+ EventType INSERT = new EventType("INSERT"); // TODO
/**
* REMOVE
*/
- public static final EventType REMOVE = new EventType("REMOVE"); // TODO
+ EventType REMOVE = new EventType("REMOVE"); // TODO
/**
* CHANGE
*/
- public static final EventType CHANGE = new EventType("CHANGE"); // TODO
+ EventType CHANGE = new EventType("CHANGE"); // TODO
/**
* typeString
@@ -154,32 +154,32 @@ public interface DocumentEvent {
* getType
* @returns EventType
*/
- public EventType getType();
+ EventType getType();
/**
* getOffset
* @returns int
*/
- public int getOffset();
+ int getOffset();
/**
* getLength
* @returns int
*/
- public int getLength();
+ int getLength();
/**
* getDocument
* @returns Document
*/
- public Document getDocument();
+ Document getDocument();
/**
* getChange
* @param element TODO
* @returns ElementChange
*/
- public ElementChange getChange(Element element);
+ ElementChange getChange(Element element);
} // DocumentEvent