Author: rwhitcomb Date: Fri Apr 27 18:09:02 2018 New Revision: 1830383 URL: http://svn.apache.org/viewvc?rev=1830383&view=rev Log: PIVOT-1032: Change all "default public" in all the listener interfaces to just "default". This reduces our "check style" error count by around 1000, because there were two errors per occurrence: [ModifierOrder] because the order should be "public default", and [RedundantModifier] because "public" is unnecessary in an interface.
Modified: pivot/trunk/core/src/org/apache/pivot/collections/ListListener.java pivot/trunk/core/src/org/apache/pivot/collections/MapListener.java pivot/trunk/core/src/org/apache/pivot/collections/QueueListener.java pivot/trunk/core/src/org/apache/pivot/collections/SetListener.java pivot/trunk/core/src/org/apache/pivot/collections/StackListener.java pivot/trunk/core/src/org/apache/pivot/json/JSONSerializerListener.java pivot/trunk/core/src/org/apache/pivot/serialization/CSVSerializerListener.java pivot/trunk/core/src/org/apache/pivot/xml/ElementListener.java pivot/trunk/core/src/org/apache/pivot/xml/XMLSerializerListener.java pivot/trunk/tutorials/src/org/apache/pivot/tutorials/bxmlexplorer/FakeWindowListener.java pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/tools/EventLoggerListener.java pivot/trunk/web/src/org/apache/pivot/web/QueryListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/AccordionAttributeListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/AccordionListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/AccordionSelectionListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/ActionClassListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/AlertListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/Application.java pivot/trunk/wtk/src/org/apache/pivot/wtk/BorderListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/ButtonBindingListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/ButtonGroupListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/ButtonListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/CalendarBindingListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/CalendarButtonBindingListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/CalendarButtonListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/CalendarListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/CardPaneListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/ColorChooserBindingListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/ColorChooserButtonBindingListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/ComponentDataListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/ComponentDecoratorListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/ComponentKeyListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/ComponentListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/ComponentMouseButtonListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/ComponentMouseListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/ComponentStateListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/ContainerListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/ContainerMouseListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/DialogCloseListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/DialogStateListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/ExpanderListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/FileBrowserListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/FileBrowserSheetListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/FormAttributeListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/FormListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/GaugeListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/GridPaneListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/ImageViewListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/LabelBindingListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/LabelListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/ListButtonBindingListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/ListButtonItemListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/ListButtonListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/ListButtonSelectionListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/ListViewBindingListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/ListViewItemListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/ListViewItemStateListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/ListViewListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/ListViewSelectionListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/MenuBarListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/MenuHandler.java pivot/trunk/wtk/src/org/apache/pivot/wtk/MenuListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/MenuPopupStateListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/MeterListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/NumberRulerListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/PromptListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/RollupListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/RollupStateListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/ScrollBarListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/ScrollPaneListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/SheetCloseListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/SheetStateListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/SliderListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/SpinnerBindingListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/SpinnerItemListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/SpinnerListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/SpinnerSelectionListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/SplitPaneListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/SuggestionPopupCloseListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/SuggestionPopupItemListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/SuggestionPopupListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/SuggestionPopupSelectionListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/SuggestionPopupStateListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/TabPaneAttributeListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/TabPaneListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/TabPaneSelectionListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/TablePaneAttributeListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/TablePaneListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/TableViewBindingListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/TableViewColumnListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/TableViewHeaderListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/TableViewListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/TableViewRowListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/TableViewSelectionListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/TableViewSortListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/TextAreaBindingListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/TextAreaContentListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/TextAreaListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/TextInputBindingListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/TextInputContentListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/TextInputListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/TextInputMethodListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/TextInputSelectionListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/TextPaneCharacterListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/TextPaneListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/TreeViewBranchListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/TreeViewListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/TreeViewNodeListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/TreeViewSelectionListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/VFSBrowserListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/VFSBrowserSheetListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/ViewportListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/WindowListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/WindowStateListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/media/MovieListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/text/BlockListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/text/BulletedListListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/text/ElementListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/text/NodeListener.java pivot/trunk/wtk/src/org/apache/pivot/wtk/text/NumberedListListener.java Modified: pivot/trunk/core/src/org/apache/pivot/collections/ListListener.java URL: http://svn.apache.org/viewvc/pivot/trunk/core/src/org/apache/pivot/collections/ListListener.java?rev=1830383&r1=1830382&r2=1830383&view=diff ============================================================================== --- pivot/trunk/core/src/org/apache/pivot/collections/ListListener.java (original) +++ pivot/trunk/core/src/org/apache/pivot/collections/ListListener.java Fri Apr 27 18:09:02 2018 @@ -60,7 +60,7 @@ public interface ListListener<T> { * @param list The source of the list event. * @param index The index at which the item was added. */ - default public void itemInserted(List<T> list, int index) { + default void itemInserted(List<T> list, int index) { } /** @@ -70,7 +70,7 @@ public interface ListListener<T> { * @param index The starting index from which items have been removed. * @param items The items that were removed from the list. */ - default public void itemsRemoved(List<T> list, int index, Sequence<T> items) { + default void itemsRemoved(List<T> list, int index, Sequence<T> items) { } /** @@ -80,7 +80,7 @@ public interface ListListener<T> { * @param index The index of the item that was updated. * @param previousItem The item that was previously stored at <tt>index</tt>. */ - default public void itemUpdated(List<T> list, int index, T previousItem) { + default void itemUpdated(List<T> list, int index, T previousItem) { } /** @@ -88,7 +88,7 @@ public interface ListListener<T> { * * @param list The source of the list event. */ - default public void listCleared(List<T> list) { + default void listCleared(List<T> list) { } /** @@ -97,6 +97,6 @@ public interface ListListener<T> { * @param list The source of the event. * @param previousComparator The previous comparator value. */ - default public void comparatorChanged(List<T> list, Comparator<T> previousComparator) { + default void comparatorChanged(List<T> list, Comparator<T> previousComparator) { } } Modified: pivot/trunk/core/src/org/apache/pivot/collections/MapListener.java URL: http://svn.apache.org/viewvc/pivot/trunk/core/src/org/apache/pivot/collections/MapListener.java?rev=1830383&r1=1830382&r2=1830383&view=diff ============================================================================== --- pivot/trunk/core/src/org/apache/pivot/collections/MapListener.java (original) +++ pivot/trunk/core/src/org/apache/pivot/collections/MapListener.java Fri Apr 27 18:09:02 2018 @@ -92,7 +92,7 @@ public interface MapListener<K, V> { * @param map The source of the map event. * @param key The key that was added to the map. */ - default public void valueAdded(Map<K, V> map, K key) { + default void valueAdded(Map<K, V> map, K key) { } /** @@ -103,7 +103,7 @@ public interface MapListener<K, V> { * @param previousValue The value that was previously associated with the * key. */ - default public void valueUpdated(Map<K, V> map, K key, V previousValue) { + default void valueUpdated(Map<K, V> map, K key, V previousValue) { } /** @@ -113,7 +113,7 @@ public interface MapListener<K, V> { * @param key The key that was removed. * @param value The value that was removed. */ - default public void valueRemoved(Map<K, V> map, K key, V value) { + default void valueRemoved(Map<K, V> map, K key, V value) { } /** @@ -121,7 +121,7 @@ public interface MapListener<K, V> { * * @param map The source of the map event. */ - default public void mapCleared(Map<K, V> map) { + default void mapCleared(Map<K, V> map) { } /** @@ -130,6 +130,6 @@ public interface MapListener<K, V> { * @param map The source of the event. * @param previousComparator The previous comparator value. */ - default public void comparatorChanged(Map<K, V> map, Comparator<K> previousComparator) { + default void comparatorChanged(Map<K, V> map, Comparator<K> previousComparator) { } } Modified: pivot/trunk/core/src/org/apache/pivot/collections/QueueListener.java URL: http://svn.apache.org/viewvc/pivot/trunk/core/src/org/apache/pivot/collections/QueueListener.java?rev=1830383&r1=1830382&r2=1830383&view=diff ============================================================================== --- pivot/trunk/core/src/org/apache/pivot/collections/QueueListener.java (original) +++ pivot/trunk/core/src/org/apache/pivot/collections/QueueListener.java Fri Apr 27 18:09:02 2018 @@ -82,7 +82,7 @@ public interface QueueListener<T> { * @param queue The queue that has been modified. * @param item The item that was just added to the queue. */ - default public void itemEnqueued(Queue<T> queue, T item) { + default void itemEnqueued(Queue<T> queue, T item) { } /** @@ -91,7 +91,7 @@ public interface QueueListener<T> { * @param queue The queue in question. * @param item The item that was just removed from the head of the queue. */ - default public void itemDequeued(Queue<T> queue, T item) { + default void itemDequeued(Queue<T> queue, T item) { } /** @@ -99,7 +99,7 @@ public interface QueueListener<T> { * * @param queue The newly cleared queue object. */ - default public void queueCleared(Queue<T> queue) { + default void queueCleared(Queue<T> queue) { } /** @@ -108,6 +108,6 @@ public interface QueueListener<T> { * @param queue The queue that changed. * @param previousComparator Previous value of the queue's comparator (if any). */ - default public void comparatorChanged(Queue<T> queue, Comparator<T> previousComparator) { + default void comparatorChanged(Queue<T> queue, Comparator<T> previousComparator) { } } Modified: pivot/trunk/core/src/org/apache/pivot/collections/SetListener.java URL: http://svn.apache.org/viewvc/pivot/trunk/core/src/org/apache/pivot/collections/SetListener.java?rev=1830383&r1=1830382&r2=1830383&view=diff ============================================================================== --- pivot/trunk/core/src/org/apache/pivot/collections/SetListener.java (original) +++ pivot/trunk/core/src/org/apache/pivot/collections/SetListener.java Fri Apr 27 18:09:02 2018 @@ -82,7 +82,7 @@ public interface SetListener<E> { * @param set The source of the set event. * @param element The element that was added to the set. */ - default public void elementAdded(Set<E> set, E element) { + default void elementAdded(Set<E> set, E element) { } /** @@ -91,7 +91,7 @@ public interface SetListener<E> { * @param set The source of the set event. * @param element The element that was removed from the set. */ - default public void elementRemoved(Set<E> set, E element) { + default void elementRemoved(Set<E> set, E element) { } /** @@ -99,7 +99,7 @@ public interface SetListener<E> { * * @param set The source of the set event. */ - default public void setCleared(Set<E> set) { + default void setCleared(Set<E> set) { } /** @@ -108,6 +108,6 @@ public interface SetListener<E> { * @param set The source of the event. * @param previousComparator The previous comparator value. */ - default public void comparatorChanged(Set<E> set, Comparator<E> previousComparator) { + default void comparatorChanged(Set<E> set, Comparator<E> previousComparator) { } } Modified: pivot/trunk/core/src/org/apache/pivot/collections/StackListener.java URL: http://svn.apache.org/viewvc/pivot/trunk/core/src/org/apache/pivot/collections/StackListener.java?rev=1830383&r1=1830382&r2=1830383&view=diff ============================================================================== --- pivot/trunk/core/src/org/apache/pivot/collections/StackListener.java (original) +++ pivot/trunk/core/src/org/apache/pivot/collections/StackListener.java Fri Apr 27 18:09:02 2018 @@ -82,7 +82,7 @@ public interface StackListener<T> { * @param stack The stack that has changed. * @param item The newly pushed item. */ - default public void itemPushed(Stack<T> stack, T item) { + default void itemPushed(Stack<T> stack, T item) { } /** @@ -91,7 +91,7 @@ public interface StackListener<T> { * @param stack The stack that has changed. * @param item The item newly popped from the stack. */ - default public void itemPopped(Stack<T> stack, T item) { + default void itemPopped(Stack<T> stack, T item) { } /** @@ -99,7 +99,7 @@ public interface StackListener<T> { * * @param stack The newly cleared stack. */ - default public void stackCleared(Stack<T> stack) { + default void stackCleared(Stack<T> stack) { } /** @@ -108,6 +108,6 @@ public interface StackListener<T> { * @param stack The stack in question. * @param previousComparator The previous comparator for this stack (if any). */ - default public void comparatorChanged(Stack<T> stack, Comparator<T> previousComparator) { + default void comparatorChanged(Stack<T> stack, Comparator<T> previousComparator) { } } Modified: pivot/trunk/core/src/org/apache/pivot/json/JSONSerializerListener.java URL: http://svn.apache.org/viewvc/pivot/trunk/core/src/org/apache/pivot/json/JSONSerializerListener.java?rev=1830383&r1=1830382&r2=1830383&view=diff ============================================================================== --- pivot/trunk/core/src/org/apache/pivot/json/JSONSerializerListener.java (original) +++ pivot/trunk/core/src/org/apache/pivot/json/JSONSerializerListener.java Fri Apr 27 18:09:02 2018 @@ -133,7 +133,7 @@ public interface JSONSerializerListener * @param jsonSerializer The serializer in question. * @param value The dictionary just started. */ - default public void beginDictionary(JSONSerializer jsonSerializer, Dictionary<String, ?> value) { + default void beginDictionary(JSONSerializer jsonSerializer, Dictionary<String, ?> value) { } /** @@ -141,7 +141,7 @@ public interface JSONSerializerListener * * @param jsonSerializer The serializer in operation. */ - default public void endDictionary(JSONSerializer jsonSerializer) { + default void endDictionary(JSONSerializer jsonSerializer) { } /** @@ -150,7 +150,7 @@ public interface JSONSerializerListener * @param jsonSerializer The active serializer. * @param key The key just read. */ - default public void readKey(JSONSerializer jsonSerializer, String key) { + default void readKey(JSONSerializer jsonSerializer, String key) { } /** @@ -159,7 +159,7 @@ public interface JSONSerializerListener * @param jsonSerializer The serializer. * @param value The sequence just started. */ - default public void beginSequence(JSONSerializer jsonSerializer, Sequence<?> value) { + default void beginSequence(JSONSerializer jsonSerializer, Sequence<?> value) { } /** @@ -167,7 +167,7 @@ public interface JSONSerializerListener * * @param jsonSerializer The current serializer. */ - default public void endSequence(JSONSerializer jsonSerializer) { + default void endSequence(JSONSerializer jsonSerializer) { } /** @@ -176,7 +176,7 @@ public interface JSONSerializerListener * @param jsonSerializer The active serializer. * @param value The string value just read. */ - default public void readString(JSONSerializer jsonSerializer, String value) { + default void readString(JSONSerializer jsonSerializer, String value) { } /** @@ -185,7 +185,7 @@ public interface JSONSerializerListener * @param jsonSerializer The active serializer. * @param value The numeric value just read. */ - default public void readNumber(JSONSerializer jsonSerializer, Number value) { + default void readNumber(JSONSerializer jsonSerializer, Number value) { } /** @@ -194,7 +194,7 @@ public interface JSONSerializerListener * @param jsonSerializer The serializer. * @param value The boolean value just read. */ - default public void readBoolean(JSONSerializer jsonSerializer, Boolean value) { + default void readBoolean(JSONSerializer jsonSerializer, Boolean value) { } /** @@ -202,6 +202,6 @@ public interface JSONSerializerListener * * @param jsonSerializer The currently active serializer. */ - default public void readNull(JSONSerializer jsonSerializer) { + default void readNull(JSONSerializer jsonSerializer) { } } Modified: pivot/trunk/core/src/org/apache/pivot/serialization/CSVSerializerListener.java URL: http://svn.apache.org/viewvc/pivot/trunk/core/src/org/apache/pivot/serialization/CSVSerializerListener.java?rev=1830383&r1=1830382&r2=1830383&view=diff ============================================================================== --- pivot/trunk/core/src/org/apache/pivot/serialization/CSVSerializerListener.java (original) +++ pivot/trunk/core/src/org/apache/pivot/serialization/CSVSerializerListener.java Fri Apr 27 18:09:02 2018 @@ -72,7 +72,7 @@ public interface CSVSerializerListener { * @param csvSerializer The active serializer. * @param list The list just begun. */ - default public void beginList(CSVSerializer csvSerializer, List<?> list) { + default void beginList(CSVSerializer csvSerializer, List<?> list) { } /** @@ -80,7 +80,7 @@ public interface CSVSerializerListener { * * @param csvSerializer The current serializer. */ - default public void endList(CSVSerializer csvSerializer) { + default void endList(CSVSerializer csvSerializer) { } /** @@ -89,6 +89,6 @@ public interface CSVSerializerListener { * @param csvSerializer The current serializer. * @param item The item just read. */ - default public void readItem(CSVSerializer csvSerializer, Object item) { + default void readItem(CSVSerializer csvSerializer, Object item) { } } Modified: pivot/trunk/core/src/org/apache/pivot/xml/ElementListener.java URL: http://svn.apache.org/viewvc/pivot/trunk/core/src/org/apache/pivot/xml/ElementListener.java?rev=1830383&r1=1830382&r2=1830383&view=diff ============================================================================== --- pivot/trunk/core/src/org/apache/pivot/xml/ElementListener.java (original) +++ pivot/trunk/core/src/org/apache/pivot/xml/ElementListener.java Fri Apr 27 18:09:02 2018 @@ -112,7 +112,7 @@ public interface ElementListener { * @param element The element that has changed. * @param previousDefaultNamespaceURI The previous value of the default namespace URI. */ - default public void defaultNamespaceURIChanged(Element element, String previousDefaultNamespaceURI) { + default void defaultNamespaceURIChanged(Element element, String previousDefaultNamespaceURI) { } /** @@ -121,7 +121,7 @@ public interface ElementListener { * @param element The element that has been changed. * @param prefix The new namespace prefix that has been set. */ - default public void namespaceAdded(Element element, String prefix) { + default void namespaceAdded(Element element, String prefix) { } /** @@ -131,7 +131,7 @@ public interface ElementListener { * @param prefix The namespace prefix for this element. * @param previousURI The previous value of the namespace URI. */ - default public void namespaceUpdated(Element element, String prefix, String previousURI) { + default void namespaceUpdated(Element element, String prefix, String previousURI) { } /** @@ -141,7 +141,7 @@ public interface ElementListener { * @param prefix The namespace prefix that has been removed. * @param uri The {@code URI} that was removed. */ - default public void namespaceRemoved(Element element, String prefix, String uri) { + default void namespaceRemoved(Element element, String prefix, String uri) { } /** @@ -150,7 +150,7 @@ public interface ElementListener { * @param element The element that has changed. * @param index The index where the new attribute was added. */ - default public void attributeInserted(Element element, int index) { + default void attributeInserted(Element element, int index) { } /** @@ -160,7 +160,7 @@ public interface ElementListener { * @param index Starting index of the attributes that were removed. * @param attributes The sequence of removed attributes. */ - default public void attributesRemoved(Element element, int index, Sequence<Element.Attribute> attributes) { + default void attributesRemoved(Element element, int index, Sequence<Element.Attribute> attributes) { } /** @@ -169,6 +169,6 @@ public interface ElementListener { * @param attribute The attribute whose value has changed. * @param previousValue The previous value for this attribute. */ - default public void attributeValueChanged(Element.Attribute attribute, String previousValue) { + default void attributeValueChanged(Element.Attribute attribute, String previousValue) { } } Modified: pivot/trunk/core/src/org/apache/pivot/xml/XMLSerializerListener.java URL: http://svn.apache.org/viewvc/pivot/trunk/core/src/org/apache/pivot/xml/XMLSerializerListener.java?rev=1830383&r1=1830382&r2=1830383&view=diff ============================================================================== --- pivot/trunk/core/src/org/apache/pivot/xml/XMLSerializerListener.java (original) +++ pivot/trunk/core/src/org/apache/pivot/xml/XMLSerializerListener.java Fri Apr 27 18:09:02 2018 @@ -71,7 +71,7 @@ public interface XMLSerializerListener { * @param xmlSerializer The active serializer. * @param element The element we are beginning to read. */ - default public void beginElement(XMLSerializer xmlSerializer, Element element) { + default void beginElement(XMLSerializer xmlSerializer, Element element) { } /** @@ -79,7 +79,7 @@ public interface XMLSerializerListener { * * @param xmlSerializer The active serializer. */ - default public void endElement(XMLSerializer xmlSerializer) { + default void endElement(XMLSerializer xmlSerializer) { } /** @@ -88,6 +88,6 @@ public interface XMLSerializerListener { * @param xmlSerializer The current serializer. * @param textNode The text node that was just read. */ - default public void readTextNode(XMLSerializer xmlSerializer, TextNode textNode) { + default void readTextNode(XMLSerializer xmlSerializer, TextNode textNode) { } } Modified: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/bxmlexplorer/FakeWindowListener.java URL: http://svn.apache.org/viewvc/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/bxmlexplorer/FakeWindowListener.java?rev=1830383&r1=1830382&r2=1830383&view=diff ============================================================================== --- pivot/trunk/tutorials/src/org/apache/pivot/tutorials/bxmlexplorer/FakeWindowListener.java (original) +++ pivot/trunk/tutorials/src/org/apache/pivot/tutorials/bxmlexplorer/FakeWindowListener.java Fri Apr 27 18:09:02 2018 @@ -60,7 +60,7 @@ public interface FakeWindowListener { * @param window * @param previousTitle */ - default public void titleChanged(FakeWindow window, String previousTitle) { + default void titleChanged(FakeWindow window, String previousTitle) { } /** @@ -69,7 +69,7 @@ public interface FakeWindowListener { * @param window * @param addedIcon */ - default public void iconAdded(FakeWindow window, Image addedIcon) { + default void iconAdded(FakeWindow window, Image addedIcon) { } /** @@ -78,7 +78,7 @@ public interface FakeWindowListener { * @param window * @param addedIcon */ - default public void iconInserted(FakeWindow window, Image addedIcon, int index) { + default void iconInserted(FakeWindow window, Image addedIcon, int index) { } /** @@ -88,7 +88,7 @@ public interface FakeWindowListener { * @param index * @param removed */ - default public void iconsRemoved(FakeWindow window, int index, Sequence<Image> removed) { + default void iconsRemoved(FakeWindow window, int index, Sequence<Image> removed) { } /** @@ -97,7 +97,7 @@ public interface FakeWindowListener { * @param window * @param previousContent */ - default public void contentChanged(FakeWindow window, Component previousContent) { + default void contentChanged(FakeWindow window, Component previousContent) { } } Modified: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/tools/EventLoggerListener.java URL: http://svn.apache.org/viewvc/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/tools/EventLoggerListener.java?rev=1830383&r1=1830382&r2=1830383&view=diff ============================================================================== --- pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/tools/EventLoggerListener.java (original) +++ pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/tools/EventLoggerListener.java Fri Apr 27 18:09:02 2018 @@ -57,7 +57,7 @@ public interface EventLoggerListener { * @param eventLogger * @param previousSource */ - default public void sourceChanged(EventLogger eventLogger, Component previousSource) { + default void sourceChanged(EventLogger eventLogger, Component previousSource) { } /** @@ -67,7 +67,7 @@ public interface EventLoggerListener { * @param eventLogger * @param event */ - default public void eventIncluded(EventLogger eventLogger, Method event) { + default void eventIncluded(EventLogger eventLogger, Method event) { } /** @@ -77,7 +77,7 @@ public interface EventLoggerListener { * @param eventLogger * @param event */ - default public void eventExcluded(EventLogger eventLogger, Method event) { + default void eventExcluded(EventLogger eventLogger, Method event) { } /** @@ -88,6 +88,6 @@ public interface EventLoggerListener { * @param event * @param arguments */ - default public void eventFired(EventLogger eventLogger, Method event, Object[] arguments) { + default void eventFired(EventLogger eventLogger, Method event, Object[] arguments) { } } Modified: pivot/trunk/web/src/org/apache/pivot/web/QueryListener.java URL: http://svn.apache.org/viewvc/pivot/trunk/web/src/org/apache/pivot/web/QueryListener.java?rev=1830383&r1=1830382&r2=1830383&view=diff ============================================================================== --- pivot/trunk/web/src/org/apache/pivot/web/QueryListener.java (original) +++ pivot/trunk/web/src/org/apache/pivot/web/QueryListener.java Fri Apr 27 18:09:02 2018 @@ -81,7 +81,7 @@ public interface QueryListener<V> { * * @param query The query that has just connected. */ - default public void connected(Query<V> query) { + default void connected(Query<V> query) { } /** @@ -90,7 +90,7 @@ public interface QueryListener<V> { * * @param query The query whose request has been sent. */ - default public void requestSent(Query<V> query) { + default void requestSent(Query<V> query) { } /** @@ -98,7 +98,7 @@ public interface QueryListener<V> { * * @param query The query whose response has just been received. */ - default public void responseReceived(Query<V> query) { + default void responseReceived(Query<V> query) { } /** @@ -106,6 +106,6 @@ public interface QueryListener<V> { * * @param query The query that has failed. */ - default public void failed(Query<V> query) { + default void failed(Query<V> query) { } } Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/AccordionAttributeListener.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/AccordionAttributeListener.java?rev=1830383&r1=1830382&r2=1830383&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/AccordionAttributeListener.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/AccordionAttributeListener.java Fri Apr 27 18:09:02 2018 @@ -66,7 +66,7 @@ public interface AccordionAttributeListe * @param component The child component in question. * @param previousHeaderData The previous header data for this component. */ - default public void headerDataChanged(Accordion accordion, Component component, + default void headerDataChanged(Accordion accordion, Component component, Object previousHeaderData) { } @@ -77,7 +77,7 @@ public interface AccordionAttributeListe * @param component The child component in question. * @param previousTooltipText The previous tooltip text for the component. */ - default public void tooltipTextChanged(Accordion accordion, Component component, + default void tooltipTextChanged(Accordion accordion, Component component, String previousTooltipText) { } } Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/AccordionListener.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/AccordionListener.java?rev=1830383&r1=1830382&r2=1830383&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/AccordionListener.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/AccordionListener.java Fri Apr 27 18:09:02 2018 @@ -73,7 +73,7 @@ public interface AccordionListener { * @param accordion The accordion that has changed. * @param index The index of the newly inserted panel. */ - default public void panelInserted(Accordion accordion, int index) { + default void panelInserted(Accordion accordion, int index) { } /** @@ -83,7 +83,7 @@ public interface AccordionListener { * @param index The starting index of the panel(s) that were removed. * @param removed The sequence of removed panels. */ - default public void panelsRemoved(Accordion accordion, int index, Sequence<Component> removed) { + default void panelsRemoved(Accordion accordion, int index, Sequence<Component> removed) { } /** @@ -92,7 +92,7 @@ public interface AccordionListener { * @param accordion The accordion that was changed. * @param previousHeaderDataRenderer The previous version of the header data renderer. */ - default public void headerDataRendererChanged(Accordion accordion, + default void headerDataRendererChanged(Accordion accordion, Button.DataRenderer previousHeaderDataRenderer) { } } Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/AccordionSelectionListener.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/AccordionSelectionListener.java?rev=1830383&r1=1830382&r2=1830383&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/AccordionSelectionListener.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/AccordionSelectionListener.java Fri Apr 27 18:09:02 2018 @@ -78,7 +78,7 @@ public interface AccordionSelectionListe * @param selectedIndex The index that will be selected. * @return The consensus vote as to whether to allow the selected index change. */ - default public Vote previewSelectedIndexChange(Accordion accordion, int selectedIndex) { + default Vote previewSelectedIndexChange(Accordion accordion, int selectedIndex) { return Vote.APPROVE; } @@ -88,7 +88,7 @@ public interface AccordionSelectionListe * @param accordion The source of the event. * @param reason The reason the event was vetoed. */ - default public void selectedIndexChangeVetoed(Accordion accordion, Vote reason) { + default void selectedIndexChangeVetoed(Accordion accordion, Vote reason) { } /** @@ -99,6 +99,6 @@ public interface AccordionSelectionListe * the index that was previously selected. Otherwise, contains the current * selection. */ - default public void selectedIndexChanged(Accordion accordion, int previousSelectedIndex) { + default void selectedIndexChanged(Accordion accordion, int previousSelectedIndex) { } } Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/ActionClassListener.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/ActionClassListener.java?rev=1830383&r1=1830382&r2=1830383&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/ActionClassListener.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/ActionClassListener.java Fri Apr 27 18:09:02 2018 @@ -71,7 +71,7 @@ public interface ActionClassListener { * * @param id The identifier for the newly added action. */ - default public void actionAdded(String id) { + default void actionAdded(String id) { } /** @@ -80,7 +80,7 @@ public interface ActionClassListener { * @param id The identifier for the updated action. * @param previousAction The previous {@link Action} associated with this identifier. */ - default public void actionUpdated(String id, Action previousAction) { + default void actionUpdated(String id, Action previousAction) { } /** @@ -89,6 +89,6 @@ public interface ActionClassListener { * @param id Identifier for the action that was removed. * @param action The removed action. */ - default public void actionRemoved(String id, Action action) { + default void actionRemoved(String id, Action action) { } } Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/AlertListener.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/AlertListener.java?rev=1830383&r1=1830382&r2=1830383&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/AlertListener.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/AlertListener.java Fri Apr 27 18:09:02 2018 @@ -101,7 +101,7 @@ public interface AlertListener { * @param alert The alert that has changed. * @param previousMessageType The previous message type for the alert. */ - default public void messageTypeChanged(Alert alert, MessageType previousMessageType) { + default void messageTypeChanged(Alert alert, MessageType previousMessageType) { } /** @@ -110,7 +110,7 @@ public interface AlertListener { * @param alert The alert that has changed. * @param previousMessage The previous message for this alert. */ - default public void messageChanged(Alert alert, String previousMessage) { + default void messageChanged(Alert alert, String previousMessage) { } /** @@ -119,7 +119,7 @@ public interface AlertListener { * @param alert The alert that has changed. * @param previousBody The previous body for this alert. */ - default public void bodyChanged(Alert alert, Component previousBody) { + default void bodyChanged(Alert alert, Component previousBody) { } /** @@ -128,7 +128,7 @@ public interface AlertListener { * @param alert The alert that has changed. * @param index The index where the new option was inserted. */ - default public void optionInserted(Alert alert, int index) { + default void optionInserted(Alert alert, int index) { } /** @@ -138,7 +138,7 @@ public interface AlertListener { * @param index The starting index where the options were removed. * @param removed The actual sequence of the options that were removed. */ - default public void optionsRemoved(Alert alert, int index, Sequence<?> removed) { + default void optionsRemoved(Alert alert, int index, Sequence<?> removed) { } /** @@ -147,6 +147,6 @@ public interface AlertListener { * @param alert The alert that has changed. * @param previousSelectedOption The index of the previously selected option. */ - default public void selectedOptionChanged(Alert alert, int previousSelectedOption) { + default void selectedOptionChanged(Alert alert, int previousSelectedOption) { } } Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/Application.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/Application.java?rev=1830383&r1=1830382&r2=1830383&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/Application.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/Application.java Fri Apr 27 18:09:02 2018 @@ -94,13 +94,13 @@ public interface Application { } } - default public void keyTyped(char character) { + default void keyTyped(char character) { } - default public void keyPressed(int keyCode, Keyboard.KeyLocation keyLocation) { + default void keyPressed(int keyCode, Keyboard.KeyLocation keyLocation) { } - default public void keyReleased(int keyCode, Keyboard.KeyLocation keyLocation) { + default void keyReleased(int keyCode, Keyboard.KeyLocation keyLocation) { } } @@ -118,7 +118,7 @@ public interface Application { * @param properties Initialization properties passed to the application. * @throws Exception if there is any problem during startup. */ - default public void startup(Display display, Map<String, String> properties) throws Exception { + default void startup(Display display, Map<String, String> properties) throws Exception { } /** @@ -129,7 +129,7 @@ public interface Application { * @return <tt>true</tt> to cancel shutdown, <tt>false</tt> to proceed with shutdown (default). * @throws Exception if there is a problem during shutdown. */ - default public boolean shutdown(boolean optional) throws Exception { + default boolean shutdown(boolean optional) throws Exception { return false; } @@ -138,7 +138,7 @@ public interface Application { * * @throws Exception if there is a problem doing the suspend. */ - default public void suspend() throws Exception { + default void suspend() throws Exception { } /** @@ -146,6 +146,6 @@ public interface Application { * * @throws Exception if there is a problem doing the resume. */ - default public void resume() throws Exception { + default void resume() throws Exception { } } Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/BorderListener.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/BorderListener.java?rev=1830383&r1=1830382&r2=1830383&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/BorderListener.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/BorderListener.java Fri Apr 27 18:09:02 2018 @@ -60,7 +60,7 @@ public interface BorderListener { * @param border The border component that has changed. * @param previousTitle The previous title for the border. */ - default public void titleChanged(Border border, String previousTitle) { + default void titleChanged(Border border, String previousTitle) { } /** @@ -69,6 +69,6 @@ public interface BorderListener { * @param border The border that has changed. * @param previousContent The previous content of the border. */ - default public void contentChanged(Border border, Component previousContent) { + default void contentChanged(Border border, Component previousContent) { } } Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/ButtonBindingListener.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/ButtonBindingListener.java?rev=1830383&r1=1830382&r2=1830383&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/ButtonBindingListener.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/ButtonBindingListener.java Fri Apr 27 18:09:02 2018 @@ -137,7 +137,7 @@ public interface ButtonBindingListener { * @param button The button that has changed. * @param previousButtonDataKey The previous binding key for the button data. */ - default public void buttonDataKeyChanged(Button button, String previousButtonDataKey) { + default void buttonDataKeyChanged(Button button, String previousButtonDataKey) { } /** @@ -146,7 +146,7 @@ public interface ButtonBindingListener { * @param button The button that has changed. * @param previousButtonDataBindType The previous bind type for the button data. */ - default public void buttonDataBindTypeChanged(Button button, BindType previousButtonDataBindType) { + default void buttonDataBindTypeChanged(Button button, BindType previousButtonDataBindType) { } /** @@ -155,7 +155,7 @@ public interface ButtonBindingListener { * @param button The button that has changed. * @param previousButtonDataBindMapping The previous bind mapping for the button data. */ - default public void buttonDataBindMappingChanged(Button button, + default void buttonDataBindMappingChanged(Button button, Button.ButtonDataBindMapping previousButtonDataBindMapping) { } @@ -165,7 +165,7 @@ public interface ButtonBindingListener { * @param button The button that has changed. * @param previousSelectedKey The previous binding key for the selected state. */ - default public void selectedKeyChanged(Button button, String previousSelectedKey) { + default void selectedKeyChanged(Button button, String previousSelectedKey) { } /** @@ -174,7 +174,7 @@ public interface ButtonBindingListener { * @param button The button that has changed. * @param previousSelectedBindType The previous bind type for the selected state. */ - default public void selectedBindTypeChanged(Button button, BindType previousSelectedBindType) { + default void selectedBindTypeChanged(Button button, BindType previousSelectedBindType) { } /** @@ -183,7 +183,7 @@ public interface ButtonBindingListener { * @param button The button that has changed. * @param previousSelectedBindMapping The previous bind mapping for the selected state. */ - default public void selectedBindMappingChanged(Button button, + default void selectedBindMappingChanged(Button button, Button.SelectedBindMapping previousSelectedBindMapping) { } @@ -193,7 +193,7 @@ public interface ButtonBindingListener { * @param button The button that has changed. * @param previousStateKey The previous binding key for the button state. */ - default public void stateKeyChanged(Button button, String previousStateKey) { + default void stateKeyChanged(Button button, String previousStateKey) { } /** @@ -202,7 +202,7 @@ public interface ButtonBindingListener { * @param button The button that has changed. * @param previousStateBindType The previous bind type for the button state. */ - default public void stateBindTypeChanged(Button button, BindType previousStateBindType) { + default void stateBindTypeChanged(Button button, BindType previousStateBindType) { } /** @@ -211,7 +211,7 @@ public interface ButtonBindingListener { * @param button The button that has changed. * @param previousStateBindMapping The previous bind mapping for the button state. */ - default public void stateBindMappingChanged(Button button, + default void stateBindMappingChanged(Button button, Button.StateBindMapping previousStateBindMapping) { } } Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/ButtonGroupListener.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/ButtonGroupListener.java?rev=1830383&r1=1830382&r2=1830383&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/ButtonGroupListener.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/ButtonGroupListener.java Fri Apr 27 18:09:02 2018 @@ -72,7 +72,7 @@ public interface ButtonGroupListener { * @param buttonGroup The button group that has changed. * @param button The button that was added to the group. */ - default public void buttonAdded(ButtonGroup buttonGroup, Button button) { + default void buttonAdded(ButtonGroup buttonGroup, Button button) { } /** @@ -81,7 +81,7 @@ public interface ButtonGroupListener { * @param buttonGroup The button group that has changed. * @param button The button that was removed from the group. */ - default public void buttonRemoved(ButtonGroup buttonGroup, Button button) { + default void buttonRemoved(ButtonGroup buttonGroup, Button button) { } /** @@ -90,6 +90,6 @@ public interface ButtonGroupListener { * @param buttonGroup The button group that changed. * @param previousSelection The previously selected button in the group. */ - default public void selectionChanged(ButtonGroup buttonGroup, Button previousSelection) { + default void selectionChanged(ButtonGroup buttonGroup, Button previousSelection) { } } Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/ButtonListener.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/ButtonListener.java?rev=1830383&r1=1830382&r2=1830383&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/ButtonListener.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/ButtonListener.java Fri Apr 27 18:09:02 2018 @@ -100,7 +100,7 @@ public interface ButtonListener { * @param button The button that changed. * @param previousButtonData The previous value of the button data. */ - default public void buttonDataChanged(Button button, Object previousButtonData) { + default void buttonDataChanged(Button button, Object previousButtonData) { } /** @@ -109,7 +109,7 @@ public interface ButtonListener { * @param button The button that changed. * @param previousDataRenderer The previous data renderer for the button. */ - default public void dataRendererChanged(Button button, Button.DataRenderer previousDataRenderer) { + default void dataRendererChanged(Button button, Button.DataRenderer previousDataRenderer) { } /** @@ -118,7 +118,7 @@ public interface ButtonListener { * @param button The button that changed. * @param previousAction The previous action that was assigned to the button. */ - default public void actionChanged(Button button, Action previousAction) { + default void actionChanged(Button button, Action previousAction) { } /** @@ -126,7 +126,7 @@ public interface ButtonListener { * * @param button The button that changed. */ - default public void toggleButtonChanged(Button button) { + default void toggleButtonChanged(Button button) { } /** @@ -134,7 +134,7 @@ public interface ButtonListener { * * @param button The button that changed. */ - default public void triStateChanged(Button button) { + default void triStateChanged(Button button) { } /** @@ -143,6 +143,6 @@ public interface ButtonListener { * @param button The button whose group changed. * @param previousButtonGroup The button group the button used to belong to (can be {@code null}). */ - default public void buttonGroupChanged(Button button, ButtonGroup previousButtonGroup) { + default void buttonGroupChanged(Button button, ButtonGroup previousButtonGroup) { } } Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/CalendarBindingListener.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/CalendarBindingListener.java?rev=1830383&r1=1830382&r2=1830383&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/CalendarBindingListener.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/CalendarBindingListener.java Fri Apr 27 18:09:02 2018 @@ -75,7 +75,7 @@ public interface CalendarBindingListener * @param calendar The calendar that was updated. * @param previousSelectedDateKey The previous bind key for the calendar's selected date. */ - default public void selectedDateKeyChanged(Calendar calendar, String previousSelectedDateKey) { + default void selectedDateKeyChanged(Calendar calendar, String previousSelectedDateKey) { } /** @@ -84,7 +84,7 @@ public interface CalendarBindingListener * @param calendar The calendar that has changed. * @param previousSelectedDateBindType The previous bind type for the selected date. */ - default public void selectedDateBindTypeChanged(Calendar calendar, BindType previousSelectedDateBindType) { + default void selectedDateBindTypeChanged(Calendar calendar, BindType previousSelectedDateBindType) { } /** @@ -93,7 +93,7 @@ public interface CalendarBindingListener * @param calendar The calendar that changed. * @param previousSelectedDateBindMapping The previous bind mapping for the selected date. */ - default public void selectedDateBindMappingChanged(Calendar calendar, + default void selectedDateBindMappingChanged(Calendar calendar, Calendar.SelectedDateBindMapping previousSelectedDateBindMapping) { } Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/CalendarButtonBindingListener.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/CalendarButtonBindingListener.java?rev=1830383&r1=1830382&r2=1830383&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/CalendarButtonBindingListener.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/CalendarButtonBindingListener.java Fri Apr 27 18:09:02 2018 @@ -78,7 +78,7 @@ public interface CalendarButtonBindingLi * @param calendarButton The calendar button that changed. * @param previousSelectedDateKey The previous value of the selected date binding key. */ - default public void selectedDateKeyChanged(CalendarButton calendarButton, String previousSelectedDateKey) { + default void selectedDateKeyChanged(CalendarButton calendarButton, String previousSelectedDateKey) { } /** @@ -87,7 +87,7 @@ public interface CalendarButtonBindingLi * @param calendarButton The calendar button that changed. * @param previousSelectedDateBindType The previous bind type for the selected date. */ - default public void selectedDateBindTypeChanged(CalendarButton calendarButton, + default void selectedDateBindTypeChanged(CalendarButton calendarButton, BindType previousSelectedDateBindType) { } @@ -97,7 +97,7 @@ public interface CalendarButtonBindingLi * @param calendarButton The calendar button that changed. * @param previousSelectedDateBindMapping The previous bind mapping for the selected date. */ - default public void selectedDateBindMappingChanged(CalendarButton calendarButton, + default void selectedDateBindMappingChanged(CalendarButton calendarButton, Calendar.SelectedDateBindMapping previousSelectedDateBindMapping) { } Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/CalendarButtonListener.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/CalendarButtonListener.java?rev=1830383&r1=1830382&r2=1830383&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/CalendarButtonListener.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/CalendarButtonListener.java Fri Apr 27 18:09:02 2018 @@ -87,7 +87,7 @@ public interface CalendarButtonListener * @param calendarButton The calendar button that changed. * @param previousYear The previously selected year. */ - default public void yearChanged(CalendarButton calendarButton, int previousYear) { + default void yearChanged(CalendarButton calendarButton, int previousYear) { } /** @@ -96,7 +96,7 @@ public interface CalendarButtonListener * @param calendarButton The calendar button that changed. * @param previousMonth The previously selected month. */ - default public void monthChanged(CalendarButton calendarButton, int previousMonth) { + default void monthChanged(CalendarButton calendarButton, int previousMonth) { } /** @@ -105,7 +105,7 @@ public interface CalendarButtonListener * @param calendarButton The calendar button that changed. * @param previousLocale The previously selected locale for the calendar. */ - default public void localeChanged(CalendarButton calendarButton, Locale previousLocale) { + default void localeChanged(CalendarButton calendarButton, Locale previousLocale) { } /** @@ -114,7 +114,7 @@ public interface CalendarButtonListener * @param calendarButton The calendar button that changed. * @param previousDisabledDateFilter The previous disabled date filter. */ - default public void disabledDateFilterChanged(CalendarButton calendarButton, + default void disabledDateFilterChanged(CalendarButton calendarButton, Filter<CalendarDate> previousDisabledDateFilter) { } } Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/CalendarListener.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/CalendarListener.java?rev=1830383&r1=1830382&r2=1830383&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/CalendarListener.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/CalendarListener.java Fri Apr 27 18:09:02 2018 @@ -86,7 +86,7 @@ public interface CalendarListener { * @param calendar The calendar that changed. * @param previousYear The previously selected year. */ - default public void yearChanged(Calendar calendar, int previousYear) { + default void yearChanged(Calendar calendar, int previousYear) { } /** @@ -95,7 +95,7 @@ public interface CalendarListener { * @param calendar The calendar that changed. * @param previousMonth The previously selected month value. */ - default public void monthChanged(Calendar calendar, int previousMonth) { + default void monthChanged(Calendar calendar, int previousMonth) { } /** @@ -104,7 +104,7 @@ public interface CalendarListener { * @param calendar The calendar that changed. * @param previousLocale The previously selected locale for the calendar. */ - default public void localeChanged(Calendar calendar, Locale previousLocale) { + default void localeChanged(Calendar calendar, Locale previousLocale) { } /** @@ -113,7 +113,7 @@ public interface CalendarListener { * @param calendar The calendar that changed. * @param previousDisabledDateFilter The previous disabled date filter. */ - default public void disabledDateFilterChanged(Calendar calendar, + default void disabledDateFilterChanged(Calendar calendar, Filter<CalendarDate> previousDisabledDateFilter) { } } Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/CardPaneListener.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/CardPaneListener.java?rev=1830383&r1=1830382&r2=1830383&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/CardPaneListener.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/CardPaneListener.java Fri Apr 27 18:09:02 2018 @@ -78,7 +78,7 @@ public interface CardPaneListener { * @param selectedIndex The index that will be selected. * @return The consensus vote as to whether to allow this change. */ - default public Vote previewSelectedIndexChange(CardPane cardPane, int selectedIndex) { + default Vote previewSelectedIndexChange(CardPane cardPane, int selectedIndex) { return Vote.APPROVE; } @@ -88,7 +88,7 @@ public interface CardPaneListener { * @param cardPane The source of the event. * @param reason The reason the event was vetoed. */ - default public void selectedIndexChangeVetoed(CardPane cardPane, Vote reason) { + default void selectedIndexChangeVetoed(CardPane cardPane, Vote reason) { } /** @@ -99,6 +99,6 @@ public interface CardPaneListener { * the index that was previously selected. Otherwise, contains the current * selection. */ - default public void selectedIndexChanged(CardPane cardPane, int previousSelectedIndex) { + default void selectedIndexChanged(CardPane cardPane, int previousSelectedIndex) { } } Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/ColorChooserBindingListener.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/ColorChooserBindingListener.java?rev=1830383&r1=1830382&r2=1830383&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/ColorChooserBindingListener.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/ColorChooserBindingListener.java Fri Apr 27 18:09:02 2018 @@ -79,7 +79,7 @@ public interface ColorChooserBindingList * @param colorChooser The color chooser that has changed. * @param previousSelectedColorKey The previous value of the selected color binding key. */ - default public void selectedColorKeyChanged(ColorChooser colorChooser, String previousSelectedColorKey) { + default void selectedColorKeyChanged(ColorChooser colorChooser, String previousSelectedColorKey) { } /** @@ -88,7 +88,7 @@ public interface ColorChooserBindingList * @param colorChooser The color chooser that has changed. * @param previousSelectedColorBindType The previous value of the selected color bind type. */ - default public void selectedColorBindTypeChanged(ColorChooser colorChooser, + default void selectedColorBindTypeChanged(ColorChooser colorChooser, BindType previousSelectedColorBindType) { } @@ -98,7 +98,7 @@ public interface ColorChooserBindingList * @param colorChooser The color chooser that has changed. * @param previousSelectedColorBindMapping The previous bind mapping for the selected color. */ - default public void selectedColorBindMappingChanged(ColorChooser colorChooser, + default void selectedColorBindMappingChanged(ColorChooser colorChooser, ColorChooser.SelectedColorBindMapping previousSelectedColorBindMapping) { } } Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/ColorChooserButtonBindingListener.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/ColorChooserButtonBindingListener.java?rev=1830383&r1=1830382&r2=1830383&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/ColorChooserButtonBindingListener.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/ColorChooserButtonBindingListener.java Fri Apr 27 18:09:02 2018 @@ -80,7 +80,7 @@ public interface ColorChooserButtonBindi * @param colorChooserButton The color chooser button that has changed. * @param previousSelectedColorKey The previous binding key for the selected color. */ - default public void selectedColorKeyChanged(ColorChooserButton colorChooserButton, + default void selectedColorKeyChanged(ColorChooserButton colorChooserButton, String previousSelectedColorKey) { } @@ -91,7 +91,7 @@ public interface ColorChooserButtonBindi * @param colorChooserButton The color chooser button that has changed. * @param previousSelectedColorBindType The previous bind type for the selected color. */ - default public void selectedColorBindTypeChanged(ColorChooserButton colorChooserButton, + default void selectedColorBindTypeChanged(ColorChooserButton colorChooserButton, BindType previousSelectedColorBindType) { } @@ -102,7 +102,7 @@ public interface ColorChooserButtonBindi * @param colorChooserButton The color chooser button that has changed. * @param previousSelectedColorBindMapping The previous bind mapping for the selected color. */ - default public void selectedColorBindMappingChanged(ColorChooserButton colorChooserButton, + default void selectedColorBindMappingChanged(ColorChooserButton colorChooserButton, ColorChooser.SelectedColorBindMapping previousSelectedColorBindMapping) { } } Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/ComponentDataListener.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/ComponentDataListener.java?rev=1830383&r1=1830382&r2=1830383&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/ComponentDataListener.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/ComponentDataListener.java Fri Apr 27 18:09:02 2018 @@ -71,7 +71,7 @@ public interface ComponentDataListener { * @param component The component that has changed. * @param key The key for the key/value pair that was added to this component's data dictionary. */ - default public void valueAdded(Component component, String key) { + default void valueAdded(Component component, String key) { } /** @@ -82,7 +82,7 @@ public interface ComponentDataListener { * @param key The key for the value that has been updated. * @param previousValue The previous value for this key. */ - default public void valueUpdated(Component component, String key, Object previousValue) { + default void valueUpdated(Component component, String key, Object previousValue) { } /** @@ -93,6 +93,6 @@ public interface ComponentDataListener { * @param key The key for the key/value pair that has been removed. * @param value The corresponding value that was removed. */ - default public void valueRemoved(Component component, String key, Object value) { + default void valueRemoved(Component component, String key, Object value) { } } Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/ComponentDecoratorListener.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/ComponentDecoratorListener.java?rev=1830383&r1=1830382&r2=1830383&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/ComponentDecoratorListener.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/ComponentDecoratorListener.java Fri Apr 27 18:09:02 2018 @@ -74,7 +74,7 @@ public interface ComponentDecoratorListe * @param component The component that has changed. * @param index The starting index of the decorator that has been inserted. */ - default public void decoratorInserted(Component component, int index) { + default void decoratorInserted(Component component, int index) { } /** @@ -85,7 +85,7 @@ public interface ComponentDecoratorListe * @param index The index of the decorator that has been updated. * @param previousDecorator The previous decorator at that index. */ - default public void decoratorUpdated(Component component, int index, Decorator previousDecorator) { + default void decoratorUpdated(Component component, int index, Decorator previousDecorator) { } /** @@ -96,6 +96,6 @@ public interface ComponentDecoratorListe * @param index The starting index where decorators were removed. * @param decorators The complete sequence of decorators that were removed. */ - default public void decoratorsRemoved(Component component, int index, Sequence<Decorator> decorators) { + default void decoratorsRemoved(Component component, int index, Sequence<Decorator> decorators) { } } Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/ComponentKeyListener.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/ComponentKeyListener.java?rev=1830383&r1=1830382&r2=1830383&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/ComponentKeyListener.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/ComponentKeyListener.java Fri Apr 27 18:09:02 2018 @@ -87,7 +87,7 @@ public interface ComponentKeyListener { * @return <tt>true</tt> to consume the event; <tt>false</tt> to allow it to * propagate. */ - default public boolean keyTyped(Component component, char character) { + default boolean keyTyped(Component component, char character) { return false; } @@ -100,7 +100,7 @@ public interface ComponentKeyListener { * @return <tt>true</tt> to consume the event; <tt>false</tt> to allow it to * propagate. */ - default public boolean keyPressed(Component component, int keyCode, Keyboard.KeyLocation keyLocation) { + default boolean keyPressed(Component component, int keyCode, Keyboard.KeyLocation keyLocation) { return false; } @@ -113,7 +113,7 @@ public interface ComponentKeyListener { * @return <tt>true</tt> to consume the event; <tt>false</tt> to allow it to * propagate. */ - default public boolean keyReleased(Component component, int keyCode, Keyboard.KeyLocation keyLocation) { + default boolean keyReleased(Component component, int keyCode, Keyboard.KeyLocation keyLocation) { return false; } } Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/ComponentListener.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/ComponentListener.java?rev=1830383&r1=1830382&r2=1830383&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/ComponentListener.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/ComponentListener.java Fri Apr 27 18:09:02 2018 @@ -190,7 +190,7 @@ public interface ComponentListener { * @param component The component whose parent changed. * @param previousParent Previous parent of this component. */ - default public void parentChanged(Component component, Container previousParent) { + default void parentChanged(Component component, Container previousParent) { } /** @@ -200,7 +200,7 @@ public interface ComponentListener { * @param previousWidth Previous width of this component. * @param previousHeight Previous height of this component. */ - default public void sizeChanged(Component component, int previousWidth, int previousHeight) { + default void sizeChanged(Component component, int previousWidth, int previousHeight) { } /** @@ -210,7 +210,7 @@ public interface ComponentListener { * @param previousPreferredWidth Previous value of the preferred width for this component. * @param previousPreferredHeight Previous preferred height for this component. */ - default public void preferredSizeChanged(Component component, int previousPreferredWidth, + default void preferredSizeChanged(Component component, int previousPreferredWidth, int previousPreferredHeight) { } @@ -221,7 +221,7 @@ public interface ComponentListener { * @param previousMinimumWidth Previously specified preferred minimum width. * @param previousMaximumWidth Previous value of the preferred maximum width. */ - default public void widthLimitsChanged(Component component, int previousMinimumWidth, + default void widthLimitsChanged(Component component, int previousMinimumWidth, int previousMaximumWidth) { } @@ -232,7 +232,7 @@ public interface ComponentListener { * @param previousMinimumHeight Previously given minimum height value. * @param previousMaximumHeight Previous maximum height value. */ - default public void heightLimitsChanged(Component component, int previousMinimumHeight, + default void heightLimitsChanged(Component component, int previousMinimumHeight, int previousMaximumHeight) { } @@ -243,7 +243,7 @@ public interface ComponentListener { * @param previousX The previous X position of the component. * @param previousY The previous Y position. */ - default public void locationChanged(Component component, int previousX, int previousY) { + default void locationChanged(Component component, int previousX, int previousY) { } /** @@ -251,7 +251,7 @@ public interface ComponentListener { * * @param component Component that has changed visibility. */ - default public void visibleChanged(Component component) { + default void visibleChanged(Component component) { } /** @@ -260,7 +260,7 @@ public interface ComponentListener { * @param component Component whose cursor has changed. * @param previousCursor Previous cursor for this component. */ - default public void cursorChanged(Component component, Cursor previousCursor) { + default void cursorChanged(Component component, Cursor previousCursor) { } /** @@ -269,7 +269,7 @@ public interface ComponentListener { * @param component Component that changed. * @param previousTooltipText Previous value of this component's tooltip text. */ - default public void tooltipTextChanged(Component component, String previousTooltipText) { + default void tooltipTextChanged(Component component, String previousTooltipText) { } /** @@ -278,7 +278,7 @@ public interface ComponentListener { * @param component The component we're dealing with. * @param previousTooltipDelay The previous tooltip delay for this component. */ - default public void tooltipDelayChanged(Component component, int previousTooltipDelay) { + default void tooltipDelayChanged(Component component, int previousTooltipDelay) { } /** @@ -287,7 +287,7 @@ public interface ComponentListener { * @param component The component in question. * @param previousDragSource The previous value of the {@link DragSource} for this component. */ - default public void dragSourceChanged(Component component, DragSource previousDragSource) { + default void dragSourceChanged(Component component, DragSource previousDragSource) { } /** @@ -296,7 +296,7 @@ public interface ComponentListener { * @param component The component that is changing. * @param previousDropTarget The previous value of the {@link DropTarget} for this component. */ - default public void dropTargetChanged(Component component, DropTarget previousDropTarget) { + default void dropTargetChanged(Component component, DropTarget previousDropTarget) { } /** @@ -305,7 +305,7 @@ public interface ComponentListener { * @param component The component that has changed. * @param previousMenuHandler The previous menu handler object for this component. */ - default public void menuHandlerChanged(Component component, MenuHandler previousMenuHandler) { + default void menuHandlerChanged(Component component, MenuHandler previousMenuHandler) { } /** @@ -314,6 +314,6 @@ public interface ComponentListener { * @param component Component whose name changed. * @param previousName Previous name for this component. */ - default public void nameChanged(Component component, String previousName) { + default void nameChanged(Component component, String previousName) { } } Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/ComponentMouseButtonListener.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/ComponentMouseButtonListener.java?rev=1830383&r1=1830382&r2=1830383&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/ComponentMouseButtonListener.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/ComponentMouseButtonListener.java Fri Apr 27 18:09:02 2018 @@ -88,7 +88,7 @@ public interface ComponentMouseButtonLis * @return <tt>true</tt> to consume the event; <tt>false</tt> to allow it to * propagate (default). */ - default public boolean mouseDown(Component component, Mouse.Button button, int x, int y) { + default boolean mouseDown(Component component, Mouse.Button button, int x, int y) { return false; } @@ -102,7 +102,7 @@ public interface ComponentMouseButtonLis * @return <tt>true</tt> to consume the event; <tt>false</tt> to allow it to * propagate (default). */ - default public boolean mouseUp(Component component, Mouse.Button button, int x, int y) { + default boolean mouseUp(Component component, Mouse.Button button, int x, int y) { return false; } @@ -117,7 +117,7 @@ public interface ComponentMouseButtonLis * @return <tt>true</tt> to consume the event; <tt>false</tt> to allow it to * propagate (default). */ - default public boolean mouseClick(Component component, Mouse.Button button, int x, int y, int count) { + default boolean mouseClick(Component component, Mouse.Button button, int x, int y, int count) { return false; } } Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/ComponentMouseListener.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/ComponentMouseListener.java?rev=1830383&r1=1830382&r2=1830383&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/ComponentMouseListener.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/ComponentMouseListener.java Fri Apr 27 18:09:02 2018 @@ -80,7 +80,7 @@ public interface ComponentMouseListener * @return <tt>true</tt> to consume the event; <tt>false</tt> to allow it to * propagate (default return). */ - default public boolean mouseMove(Component component, int x, int y) { + default boolean mouseMove(Component component, int x, int y) { return false; } @@ -90,7 +90,7 @@ public interface ComponentMouseListener * * @param component Component that is now under the mouse pointer. */ - default public void mouseOver(Component component) { + default void mouseOver(Component component) { } /** @@ -99,6 +99,6 @@ public interface ComponentMouseListener * * @param component Component that has now lost the mouse pointer. */ - default public void mouseOut(Component component) { + default void mouseOut(Component component) { } } Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/ComponentStateListener.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/ComponentStateListener.java?rev=1830383&r1=1830382&r2=1830383&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/ComponentStateListener.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/ComponentStateListener.java Fri Apr 27 18:09:02 2018 @@ -64,7 +64,7 @@ public interface ComponentStateListener * * @param component The component whose enabled state is changing. */ - default public void enabledChanged(Component component) { + default void enabledChanged(Component component) { } /** @@ -80,6 +80,6 @@ public interface ComponentStateListener * component that is losing focus. If the component is losing focus this is * the component that is gaining the focus instead. */ - default public void focusedChanged(Component component, Component obverseComponent) { + default void focusedChanged(Component component, Component obverseComponent) { } } Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/ContainerListener.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/ContainerListener.java?rev=1830383&r1=1830382&r2=1830383&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/ContainerListener.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/ContainerListener.java Fri Apr 27 18:09:02 2018 @@ -85,7 +85,7 @@ public interface ContainerListener { * @param container The container that has changed. * @param index The index where the new component has been inserted. */ - default public void componentInserted(Container container, int index) { + default void componentInserted(Container container, int index) { } /** @@ -96,7 +96,7 @@ public interface ContainerListener { * @param index The starting index of the components that were removed. * @param removed The complete sequence of removed components. */ - default public void componentsRemoved(Container container, int index, Sequence<Component> removed) { + default void componentsRemoved(Container container, int index, Sequence<Component> removed) { } /** @@ -107,7 +107,7 @@ public interface ContainerListener { * @param from The starting index of the component (in Z-order). * @param to The place in the Z-order where this component ended up. */ - default public void componentMoved(Container container, int from, int to) { + default void componentMoved(Container container, int from, int to) { } /** @@ -116,7 +116,7 @@ public interface ContainerListener { * @param container The container that has changed. * @param previousFocusTraversalPolicy The previous value of the focus traversal policy for this container. */ - default public void focusTraversalPolicyChanged(Container container, + default void focusTraversalPolicyChanged(Container container, FocusTraversalPolicy previousFocusTraversalPolicy) { } } Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/ContainerMouseListener.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/ContainerMouseListener.java?rev=1830383&r1=1830382&r2=1830383&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/ContainerMouseListener.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/ContainerMouseListener.java Fri Apr 27 18:09:02 2018 @@ -105,7 +105,7 @@ public interface ContainerMouseListener * @return <tt>true</tt> to consume the event; <tt>false</tt> to allow it to * propagate. */ - default public boolean mouseMove(Container container, int x, int y) { + default boolean mouseMove(Container container, int x, int y) { return false; } @@ -119,7 +119,7 @@ public interface ContainerMouseListener * @return <tt>true</tt> to consume the event; <tt>false</tt> to allow it to * propagate. */ - default public boolean mouseDown(Container container, Mouse.Button button, int x, int y) { + default boolean mouseDown(Container container, Mouse.Button button, int x, int y) { return false; } @@ -133,7 +133,7 @@ public interface ContainerMouseListener * @return <tt>true</tt> to consume the event; <tt>false</tt> to allow it to * propagate. */ - default public boolean mouseUp(Container container, Mouse.Button button, int x, int y) { + default boolean mouseUp(Container container, Mouse.Button button, int x, int y) { return false; } @@ -149,7 +149,7 @@ public interface ContainerMouseListener * @return <tt>true</tt> to consume the event; <tt>false</tt> to allow it to * propagate. */ - default public boolean mouseWheel(Container container, Mouse.ScrollType scrollType, int scrollAmount, + default boolean mouseWheel(Container container, Mouse.ScrollType scrollType, int scrollAmount, int wheelRotation, int x, int y) { return false; } Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/DialogCloseListener.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/DialogCloseListener.java?rev=1830383&r1=1830382&r2=1830383&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/DialogCloseListener.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/DialogCloseListener.java Fri Apr 27 18:09:02 2018 @@ -26,6 +26,6 @@ public interface DialogCloseListener { * @param dialog The dialog that has been closed. * @param modal Whether this was a modal dialog or not. */ - default public void dialogClosed(Dialog dialog, boolean modal) { + default void dialogClosed(Dialog dialog, boolean modal) { } } Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/DialogStateListener.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/DialogStateListener.java?rev=1830383&r1=1830382&r2=1830383&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/DialogStateListener.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/DialogStateListener.java Fri Apr 27 18:09:02 2018 @@ -78,7 +78,7 @@ public interface DialogStateListener ext * @param result The result flag ({@code true} means "OK", while {@code false} roughly means "Cancel"). * @return The consensus vote as to whether or not to allow the close to occur. */ - default public Vote previewDialogClose(Dialog dialog, boolean result) { + default Vote previewDialogClose(Dialog dialog, boolean result) { return Vote.APPROVE; } @@ -88,6 +88,6 @@ public interface DialogStateListener ext * @param dialog The dialog that is not going to close because of this veto. * @param reason The vote result that indicates the veto. */ - default public void dialogCloseVetoed(Dialog dialog, Vote reason) { + default void dialogCloseVetoed(Dialog dialog, Vote reason) { } }