You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by rw...@apache.org on 2020/12/31 00:01:40 UTC
svn commit: r1884977 [1/3] - in /pivot/trunk:
core/src/org/apache/pivot/beans/ core/src/org/apache/pivot/collections/
core/src/org/apache/pivot/json/ core/src/org/apache/pivot/serialization/
core/src/org/apache/pivot/sql/ core/src/org/apache/pivot/util...
Author: rwhitcomb
Date: Thu Dec 31 00:01:39 2020
New Revision: 1884977
URL: http://svn.apache.org/viewvc?rev=1884977&view=rev
Log:
Fix obsolete Javadoc constructs.
Modified:
pivot/trunk/core/src/org/apache/pivot/beans/BXMLSerializer.java
pivot/trunk/core/src/org/apache/pivot/beans/BeanAdapter.java
pivot/trunk/core/src/org/apache/pivot/beans/BeanMonitor.java
pivot/trunk/core/src/org/apache/pivot/beans/Bindable.java
pivot/trunk/core/src/org/apache/pivot/beans/NamespaceBinding.java
pivot/trunk/core/src/org/apache/pivot/collections/Collection.java
pivot/trunk/core/src/org/apache/pivot/collections/Dictionary.java
pivot/trunk/core/src/org/apache/pivot/collections/Group.java
pivot/trunk/core/src/org/apache/pivot/collections/Queue.java
pivot/trunk/core/src/org/apache/pivot/collections/Sequence.java
pivot/trunk/core/src/org/apache/pivot/collections/Stack.java
pivot/trunk/core/src/org/apache/pivot/json/JSON.java
pivot/trunk/core/src/org/apache/pivot/json/JSONSerializer.java
pivot/trunk/core/src/org/apache/pivot/serialization/CSVSerializer.java
pivot/trunk/core/src/org/apache/pivot/serialization/MacroReader.java
pivot/trunk/core/src/org/apache/pivot/serialization/Serializer.java
pivot/trunk/core/src/org/apache/pivot/sql/ResultList.java
pivot/trunk/core/src/org/apache/pivot/util/CalendarDate.java
pivot/trunk/core/src/org/apache/pivot/util/ClassUtils.java
pivot/trunk/core/src/org/apache/pivot/util/EmptyIterator.java
pivot/trunk/core/src/org/apache/pivot/util/ExceptionUtils.java
pivot/trunk/core/src/org/apache/pivot/util/Filter.java
pivot/trunk/core/src/org/apache/pivot/util/ImmutableIterator.java
pivot/trunk/core/src/org/apache/pivot/util/ListenerList.java
pivot/trunk/core/src/org/apache/pivot/util/StringUtils.java
pivot/trunk/core/src/org/apache/pivot/util/concurrent/Task.java
pivot/trunk/core/src/org/apache/pivot/xml/Element.java
pivot/trunk/demos/src/org/apache/pivot/demos/itunes/SearchDemo.java
pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/tools/EventLogger.java
pivot/trunk/web-server/src/org/apache/pivot/web/server/QueryServlet.java
pivot/trunk/web/src/org/apache/pivot/web/PostQuery.java
pivot/trunk/web/src/org/apache/pivot/web/PutQuery.java
pivot/trunk/web/src/org/apache/pivot/web/Query.java
pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraGaugeSkin.java
pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraPanoramaSkin.java
pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraTableViewSkin.java
pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraTextInputSkin.java
pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraTheme.java
pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraTreeViewSkin.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/Application.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/ApplicationContext.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/Border.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/Button.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/Calendar.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/CalendarButton.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/ColorChooser.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/ColorChooserButton.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/Component.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/ComponentKeyListener.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/ComponentMouseWheelListener.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/Container.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/ContainerMouseListener.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/DesktopApplicationContext.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/Dialog.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/DragSource.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/DropTarget.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/Editor.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/Expander.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/FileBrowser.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/FocusTraversalPolicy.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/FontUtilities.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/Form.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/Gauge.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/GridPane.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/ImageView.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/Keyboard.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/Label.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/ListButton.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/ListButtonSelectionListener.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/ListView.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/ListViewSelectionListener.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/MenuHandler.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/Mouse.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/MovieView.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/RangeSelection.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/SortDirection.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/Span.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/Spinner.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/SpinnerSelectionListener.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/SplitPane.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/SuggestionPopupSelectionListener.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/TabPane.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/TablePane.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/TableView.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/TableViewSelectionListener.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/TextArea.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/TextInput.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/TextPane.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/Theme.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/TreeView.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/VFSBrowser.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/VFSBrowserSheet.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/Viewport.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/Window.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/content/CalendarDateSpinnerData.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/content/ListViewItemRenderer.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/content/TableViewRowComparator.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/content/TableViewRowEditor.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/content/TreeViewNodeRenderer.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/effects/Transition.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/CardPaneSkin.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/ComponentSkin.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/ContainerSkin.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/ImageViewSkin.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/LabelSkin.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/MovieViewSkin.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/SeparatorSkin.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/TablePaneSkin.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/TextAreaSkin.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/TextPaneSkin.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/text/Element.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/text/Node.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/validation/Validator.java
Modified: pivot/trunk/core/src/org/apache/pivot/beans/BXMLSerializer.java
URL: http://svn.apache.org/viewvc/pivot/trunk/core/src/org/apache/pivot/beans/BXMLSerializer.java?rev=1884977&r1=1884976&r2=1884977&view=diff
==============================================================================
--- pivot/trunk/core/src/org/apache/pivot/beans/BXMLSerializer.java (original)
+++ pivot/trunk/core/src/org/apache/pivot/beans/BXMLSerializer.java Thu Dec 31 00:01:39 2020
@@ -617,7 +617,7 @@ public class BXMLSerializer implements S
* @param baseType The base type from which to access needed resources.
* @param resourceName Name of the BXML resource to deserialize.
* @return the top-level deserialized object.
- * @throws IllegalArgumentException for <tt>null</tt> type or resource name or if
+ * @throws IllegalArgumentException for {@code null} type or resource name or if
* the resource could not be found.
* @throws IOException for any error reading the BXML resource.
* @throws SerializationException for any other errors encountered deserializing the resource.
@@ -637,12 +637,12 @@ public class BXMLSerializer implements S
*
* @param baseType The base type.
* @param resourceName The name of the BXML resource.
- * @param localize If <tt>true</tt>, the deserialized resource will be
+ * @param localize If {@code true}, the deserialized resource will be
* localized using the resource bundle specified by the base type.
* Otherwise, it will not be localized, and any use of the resource
* resolution operator will result in a serialization exception.
* @return the top-level deserialized object.
- * @throws IllegalArgumentException for <tt>null</tt> type or resource name or if
+ * @throws IllegalArgumentException for {@code null} type or resource name or if
* the resource could not be found.
* @throws IOException for any error reading the BXML resource.
* @throws SerializationException for any other errors encountered deserializing the resource.
@@ -1531,7 +1531,7 @@ public class BXMLSerializer implements S
* Retrieves the root of the object hierarchy most recently processed by
* this serializer.
*
- * @return The root object, or <tt>null</tt> if this serializer has not yet
+ * @return The root object, or {@code null} if this serializer has not yet
* read an object from an input stream.
*/
public Object getRoot() {
Modified: pivot/trunk/core/src/org/apache/pivot/beans/BeanAdapter.java
URL: http://svn.apache.org/viewvc/pivot/trunk/core/src/org/apache/pivot/beans/BeanAdapter.java?rev=1884977&r1=1884976&r2=1884977&view=diff
==============================================================================
--- pivot/trunk/core/src/org/apache/pivot/beans/BeanAdapter.java (original)
+++ pivot/trunk/core/src/org/apache/pivot/beans/BeanAdapter.java Thu Dec 31 00:01:39 2020
@@ -41,7 +41,7 @@ import org.apache.pivot.util.Utils;
* property, and a call to {@link Map#put(Object, Object)} invokes the
* property's setter. <p> Properties may provide multiple setters; the
* appropriate setter to invoke is determined by the type of the value being
- * set. If the value is <tt>null</tt>, the return type of the getter method is
+ * set. If the value is {@code null}, the return type of the getter method is
* used. <p> Getter methods must be named "getProperty" where "property" is the
* property name. If there is no "get" method, then an "isProperty" method can
* also be used. Setter methods (if present) must be named "setProperty". <p>
@@ -177,8 +177,8 @@ public class BeanAdapter implements Map<
* there is a "get" method but no corresponding "set" method).
*
* @param bean The bean object to wrap.
- * @param ignoreReadOnlyProperties <tt>true</tt> if {@code final} or non-settable
- * fields should be excluded from the dictionary, <tt>false</tt> to include all fields.
+ * @param ignoreReadOnlyProperties {@code true} if {@code final} or non-settable
+ * fields should be excluded from the dictionary, {@code false} to include all fields.
*/
public BeanAdapter(final Object bean, final boolean ignoreReadOnlyProperties) {
Utils.checkNull(bean, "bean object");
@@ -190,7 +190,7 @@ public class BeanAdapter implements Map<
/**
* Returns the bean object this dictionary wraps.
*
- * @return The bean object, or <tt>null</tt> if no bean has been set.
+ * @return The bean object, or {@code null} if no bean has been set.
*/
public Object getBean() {
return bean;
@@ -200,7 +200,7 @@ public class BeanAdapter implements Map<
* Invokes the getter method for the given property.
*
* @param key The property name.
- * @return The value returned by the method, or <tt>null</tt> if no such
+ * @return The value returned by the method, or {@code null} if no such
* method exists.
*/
@Override
@@ -241,12 +241,12 @@ public class BeanAdapter implements Map<
/**
* Invokes the setter method for the given property. The method signature is
- * determined by the type of the value. If the value is <tt>null</tt>, the
+ * determined by the type of the value. If the value is {@code null}, the
* return type of the getter method is used.
*
* @param key The property name.
* @param value The new property value.
- * @return Returns <tt>null</tt>, since returning the previous value would
+ * @return Returns {@code null}, since returning the previous value would
* require a call to the getter method, which may not be an efficient
* operation.
* @throws PropertyNotFoundException If the given property does not exist or
@@ -320,7 +320,7 @@ public class BeanAdapter implements Map<
/**
* Invokes the setter methods for all the given properties that are present
* in the map. The method signatures are determined by the type of the
- * values. If any value is <tt>null</tt>, the return type of the getter
+ * values. If any value is {@code null}, the return type of the getter
* method is used. There is an option to ignore (that is, not throw)
* exceptions during the process, but to return status if any exceptions
* were caught and ignored.
@@ -370,7 +370,7 @@ public class BeanAdapter implements Map<
* method; write-only properties are not supported.
*
* @param key The property name.
- * @return <tt>true</tt> if the property exists; <tt>false</tt>, otherwise.
+ * @return {@code true} if the property exists; {@code false}, otherwise.
*/
@Override
public boolean containsKey(final String key) {
@@ -421,7 +421,7 @@ public class BeanAdapter implements Map<
* Tests the read-only state of a property.
*
* @param key The property name.
- * @return <tt>true</tt> if the property is read-only; <tt>false</tt>,
+ * @return {@code true} if the property is read-only; {@code false},
* otherwise.
*/
public boolean isReadOnly(final String key) {
@@ -469,7 +469,7 @@ public class BeanAdapter implements Map<
* Returns the getter method for a property.
*
* @param key The property name.
- * @return The getter method, or <tt>null</tt> if the method does not exist.
+ * @return The getter method, or {@code null} if the method does not exist.
*/
private Method getGetterMethod(final String key) {
return getGetterMethod(bean.getClass(), key);
@@ -480,7 +480,7 @@ public class BeanAdapter implements Map<
*
* @param key The property name.
* @param valueType The value type of the property in question.
- * @return The getter method, or <tt>null</tt> if the method does not exist.
+ * @return The getter method, or {@code null} if the method does not exist.
*/
private Method getSetterMethod(final String key, final Class<?> valueType) {
return getSetterMethod(bean.getClass(), key, valueType);
@@ -491,7 +491,7 @@ public class BeanAdapter implements Map<
* will only be consulted for bean properties after bean methods.
*
* @param key The property name
- * @return The field, or <tt>null</tt> if the field does not exist, or is
+ * @return The field, or {@code null} if the field does not exist, or is
* non-public or static
*/
private Field getField(final String key) {
@@ -500,12 +500,12 @@ public class BeanAdapter implements Map<
/**
* Tests the read-only state of a property. Note that if no such property
- * exists, this method will return <tt>true</tt> (it will <u>not</u> throw
+ * exists, this method will return {@code true} (it will <u>not</u> throw
* an exception).
*
* @param beanClass The bean class.
* @param key The property name.
- * @return <tt>true</tt> if the property is read-only; <tt>false</tt>,
+ * @return {@code true} if the property is read-only; {@code false},
* otherwise.
*/
public static boolean isReadOnly(final Class<?> beanClass, final String key) {
@@ -533,7 +533,7 @@ public class BeanAdapter implements Map<
*
* @param beanClass The bean class.
* @param key The property name.
- * @return The type of the property, or <tt>null</tt> if no such bean
+ * @return The type of the property, or {@code null} if no such bean
* property exists.
*/
public static Class<?> getType(final Class<?> beanClass, final String key) {
@@ -562,7 +562,7 @@ public class BeanAdapter implements Map<
*
* @param beanClass The bean class.
* @param key The property name.
- * @return The generic type of the property, or <tt>null</tt> if no such bean
+ * @return The generic type of the property, or {@code null} if no such bean
* property exists. If the type is a generic, an instance of
* {@link java.lang.reflect.ParameterizedType} will be returned. Otherwise,
* an instance of {@link java.lang.Class} will be returned.
@@ -594,7 +594,7 @@ public class BeanAdapter implements Map<
*
* @param beanClass The bean class.
* @param key The property name.
- * @return The field, or <tt>null</tt> if the field does not exist, or is
+ * @return The field, or {@code null} if the field does not exist, or is
* non-public or static.
*/
public static Field getField(final Class<?> beanClass, final String key) {
@@ -624,7 +624,7 @@ public class BeanAdapter implements Map<
*
* @param beanClass The bean class.
* @param key The property name.
- * @return The getter method, or <tt>null</tt> if the method does not exist.
+ * @return The getter method, or {@code null} if the method does not exist.
*/
public static Method getGetterMethod(final Class<?> beanClass, final String key) {
Utils.checkNull(beanClass, "beanClass");
@@ -657,7 +657,7 @@ public class BeanAdapter implements Map<
* @param beanClass The bean class.
* @param key The property name.
* @param valueType The type of the property.
- * @return The getter method, or <tt>null</tt> if the method does not exist.
+ * @return The getter method, or {@code null} if the method does not exist.
*/
public static Method getSetterMethod(final Class<?> beanClass, final String key,
final Class<?> valueType) {
Modified: pivot/trunk/core/src/org/apache/pivot/beans/BeanMonitor.java
URL: http://svn.apache.org/viewvc/pivot/trunk/core/src/org/apache/pivot/beans/BeanMonitor.java?rev=1884977&r1=1884976&r2=1884977&view=diff
==============================================================================
--- pivot/trunk/core/src/org/apache/pivot/beans/BeanMonitor.java (original)
+++ pivot/trunk/core/src/org/apache/pivot/beans/BeanMonitor.java Thu Dec 31 00:01:39 2020
@@ -153,7 +153,7 @@ public class BeanMonitor {
* Tests whether a property fires change events.
*
* @param key The property name.
- * @return <tt>true</tt> if the property fires change events; <tt>false</tt>
+ * @return {@code true} if the property fires change events; {@code false}
* otherwise.
*/
public boolean isNotifying(final String key) {
Modified: pivot/trunk/core/src/org/apache/pivot/beans/Bindable.java
URL: http://svn.apache.org/viewvc/pivot/trunk/core/src/org/apache/pivot/beans/Bindable.java?rev=1884977&r1=1884976&r2=1884977&view=diff
==============================================================================
--- pivot/trunk/core/src/org/apache/pivot/beans/Bindable.java (original)
+++ pivot/trunk/core/src/org/apache/pivot/beans/Bindable.java Thu Dec 31 00:01:39 2020
@@ -34,10 +34,10 @@ public interface Bindable {
* this to extract named values defined in the BXML file. Alternatively, the
* {@link BXML} annotation can be used by trusted code to automatically map
* namespace values to member variables.
- * @param location The location of the BXML source. May be <tt>null</tt> if
+ * @param location The location of the BXML source. May be {@code null} if
* the location of the source is not known.
* @param resources The resources that were used to localize the deserialized
- * content. May be <tt>null</tt> if no resources were specified.
+ * content. May be {@code null} if no resources were specified.
*/
void initialize(Map<String, Object> namespace, URL location, Resources resources);
}
Modified: pivot/trunk/core/src/org/apache/pivot/beans/NamespaceBinding.java
URL: http://svn.apache.org/viewvc/pivot/trunk/core/src/org/apache/pivot/beans/NamespaceBinding.java?rev=1884977&r1=1884976&r2=1884977&view=diff
==============================================================================
--- pivot/trunk/core/src/org/apache/pivot/beans/NamespaceBinding.java (original)
+++ pivot/trunk/core/src/org/apache/pivot/beans/NamespaceBinding.java Thu Dec 31 00:01:39 2020
@@ -193,7 +193,7 @@ public class NamespaceBinding {
/**
* Returns the bind mapping.
*
- * @return The bind mapping to use during binding, or <tt>null</tt> if no
+ * @return The bind mapping to use during binding, or {@code null} if no
* bind mapping is specified.
*/
public BindMapping getBindMapping() {
Modified: pivot/trunk/core/src/org/apache/pivot/collections/Collection.java
URL: http://svn.apache.org/viewvc/pivot/trunk/core/src/org/apache/pivot/collections/Collection.java?rev=1884977&r1=1884976&r2=1884977&view=diff
==============================================================================
--- pivot/trunk/core/src/org/apache/pivot/collections/Collection.java (original)
+++ pivot/trunk/core/src/org/apache/pivot/collections/Collection.java Thu Dec 31 00:01:39 2020
@@ -31,8 +31,8 @@ public interface Collection<T> extends I
/**
* Tests the emptiness of the collection.
*
- * @return <tt>true</tt> if the collection contains no elements;
- * <tt>false</tt>, otherwise.
+ * @return {@code true} if the collection contains no elements;
+ * {@code false}, otherwise.
*/
public boolean isEmpty();
@@ -40,7 +40,7 @@ public interface Collection<T> extends I
* Returns the collection's sort order.
*
* @return The comparator used to order elements in the collection, or
- * <tt>null</tt> if the sort order is undefined.
+ * {@code null} if the sort order is undefined.
* @see #setComparator(Comparator)
*/
public Comparator<T> getComparator();
Modified: pivot/trunk/core/src/org/apache/pivot/collections/Dictionary.java
URL: http://svn.apache.org/viewvc/pivot/trunk/core/src/org/apache/pivot/collections/Dictionary.java?rev=1884977&r1=1884976&r2=1884977&view=diff
==============================================================================
--- pivot/trunk/core/src/org/apache/pivot/collections/Dictionary.java (original)
+++ pivot/trunk/core/src/org/apache/pivot/collections/Dictionary.java Thu Dec 31 00:01:39 2020
@@ -114,7 +114,7 @@ public interface Dictionary<K, V> {
* Tests the existence of a key in the dictionary.
*
* @param key The key whose presence in the dictionary is to be tested.
- * @return <tt>true</tt> if the key exists in the dictionary; <tt>false</tt>,
+ * @return {@code true} if the key exists in the dictionary; {@code false},
* otherwise.
*/
boolean containsKey(K key);
@@ -161,7 +161,7 @@ public interface Dictionary<K, V> {
* does not exist.
*
* @param key The key for the (supposed) <tt>String</tt> value.
- * @return The string value, or <tt>null</tt> if the key is not present.
+ * @return The string value, or {@code null} if the key is not present.
*/
default String getString(K key) {
return (String) get(key);
@@ -240,11 +240,11 @@ public interface Dictionary<K, V> {
/**
* Using the other methods in this interface, retrieve a {@link Color} value
- * from this dictionary; returning <tt>null</tt> if the key does not exist.
+ * from this dictionary; returning {@code null} if the key does not exist.
*
* @param key The key for the (supposed) <tt>Color</tt>
* value to retrieve.
- * @return The color value, or <tt>null</tt> if the key is not present.
+ * @return The color value, or {@code null} if the key is not present.
*/
default Color getColor(K key) {
return (Color) get(key);
@@ -252,11 +252,11 @@ public interface Dictionary<K, V> {
/**
* Using the other methods in this interface, retrieve a {@link Font} value
- * from this dictionary; returning <tt>null</tt> if the key does not exist.
+ * from this dictionary; returning {@code null} if the key does not exist.
*
* @param key The key for the (supposed) <tt>Font</tt>
* value to retrieve.
- * @return The font value, or <tt>null</tt> if the key is not present.
+ * @return The font value, or {@code null} if the key is not present.
*/
default Font getFont(K key) {
return (Font) get(key);
Modified: pivot/trunk/core/src/org/apache/pivot/collections/Group.java
URL: http://svn.apache.org/viewvc/pivot/trunk/core/src/org/apache/pivot/collections/Group.java?rev=1884977&r1=1884976&r2=1884977&view=diff
==============================================================================
--- pivot/trunk/core/src/org/apache/pivot/collections/Group.java (original)
+++ pivot/trunk/core/src/org/apache/pivot/collections/Group.java Thu Dec 31 00:01:39 2020
@@ -24,8 +24,8 @@ public interface Group<E> {
* Adds an element to the group.
*
* @param element The element to add to the group.
- * @return <tt>true</tt> if the element was added to the group;
- * <tt>false</tt>, otherwise.
+ * @return {@code true} if the element was added to the group;
+ * {@code false}, otherwise.
*/
public boolean add(E element);
@@ -33,8 +33,8 @@ public interface Group<E> {
* Removes an element from the group.
*
* @param element The element to remove from the set.
- * @return <tt>true</tt> if the element was removed from the group;
- * <tt>false</tt>, otherwise.
+ * @return {@code true} if the element was removed from the group;
+ * {@code false}, otherwise.
*/
public boolean remove(E element);
@@ -42,7 +42,7 @@ public interface Group<E> {
* Tests the existence of an element in the group.
*
* @param element The element whose presence in the group is to be tested.
- * @return <tt>true</tt> if the element exists in the group; <tt>false</tt>,
+ * @return {@code true} if the element exists in the group; {@code false},
* otherwise.
*/
public boolean contains(E element);
Modified: pivot/trunk/core/src/org/apache/pivot/collections/Queue.java
URL: http://svn.apache.org/viewvc/pivot/trunk/core/src/org/apache/pivot/collections/Queue.java?rev=1884977&r1=1884976&r2=1884977&view=diff
==============================================================================
--- pivot/trunk/core/src/org/apache/pivot/collections/Queue.java (original)
+++ pivot/trunk/core/src/org/apache/pivot/collections/Queue.java Thu Dec 31 00:01:39 2020
@@ -54,7 +54,7 @@ public interface Queue<T> extends Collec
/**
* Tests the emptiness of the queue.
*
- * @return <tt>true</tt> if the queue contains no items; <tt>false</tt>,
+ * @return {@code true} if the queue contains no items; {@code false},
* otherwise.
*/
@Override
Modified: pivot/trunk/core/src/org/apache/pivot/collections/Sequence.java
URL: http://svn.apache.org/viewvc/pivot/trunk/core/src/org/apache/pivot/collections/Sequence.java?rev=1884977&r1=1884976&r2=1884977&view=diff
==============================================================================
--- pivot/trunk/core/src/org/apache/pivot/collections/Sequence.java (original)
+++ pivot/trunk/core/src/org/apache/pivot/collections/Sequence.java Thu Dec 31 00:01:39 2020
@@ -381,7 +381,7 @@ public interface Sequence<T> {
* @param <T> The type of items in this sequence.
* @param sequence The root sequence.
* @param path The path of the item to retrieve.
- * @return The item at the given path, or <tt>null</tt> if the path is
+ * @return The item at the given path, or {@code null} if the path is
* empty.
*/
@SuppressWarnings("unchecked")
@@ -412,7 +412,7 @@ public interface Sequence<T> {
* @param sequence The root sequence.
* @param item The item to locate.
* @return The path of first occurrence of the item if it exists in the
- * sequence; <tt>null</tt> otherwise.
+ * sequence; {@code null} otherwise.
*/
@SuppressWarnings("unchecked")
public static <T> Path pathOf(final Sequence<T> sequence, final T item) {
@@ -458,8 +458,8 @@ public interface Sequence<T> {
*
* @param ancestorPath The ancestor path to test.
* @param descendantPath The descendant path to test.
- * @return <tt>true</tt> if the second argument is a descendant of the first
- * path argument, <tt>false</tt> otherwise.
+ * @return {@code true} if the second argument is a descendant of the first
+ * path argument, {@code false} otherwise.
*/
public static boolean isDescendant(final Path ancestorPath, final Path descendantPath) {
int ancestorLength = ancestorPath.getLength();
Modified: pivot/trunk/core/src/org/apache/pivot/collections/Stack.java
URL: http://svn.apache.org/viewvc/pivot/trunk/core/src/org/apache/pivot/collections/Stack.java?rev=1884977&r1=1884976&r2=1884977&view=diff
==============================================================================
--- pivot/trunk/core/src/org/apache/pivot/collections/Stack.java (original)
+++ pivot/trunk/core/src/org/apache/pivot/collections/Stack.java Thu Dec 31 00:01:39 2020
@@ -55,7 +55,7 @@ public interface Stack<T> extends Collec
/**
* Tests the emptiness of the stack.
*
- * @return <tt>true</tt> if the stack contains no items; <tt>false</tt>,
+ * @return {@code true} if the stack contains no items; {@code false},
* otherwise.
*/
@Override
Modified: pivot/trunk/core/src/org/apache/pivot/json/JSON.java
URL: http://svn.apache.org/viewvc/pivot/trunk/core/src/org/apache/pivot/json/JSON.java?rev=1884977&r1=1884976&r2=1884977&view=diff
==============================================================================
--- pivot/trunk/core/src/org/apache/pivot/json/JSON.java (original)
+++ pivot/trunk/core/src/org/apache/pivot/json/JSON.java Thu Dec 31 00:01:39 2020
@@ -212,7 +212,7 @@ public final class JSON {
* @param <T> The type of value we're dealing with.
* @param root The root object.
* @param path The path to test (from the root).
- * @return <tt>true</tt> if the path exists; <tt>false</tt>, otherwise.
+ * @return {@code true} if the path exists; {@code false}, otherwise.
*/
@SuppressWarnings("unchecked")
public static <T> boolean containsKey(Object root, String path) {
Modified: pivot/trunk/core/src/org/apache/pivot/json/JSONSerializer.java
URL: http://svn.apache.org/viewvc/pivot/trunk/core/src/org/apache/pivot/json/JSONSerializer.java?rev=1884977&r1=1884976&r2=1884977&view=diff
==============================================================================
--- pivot/trunk/core/src/org/apache/pivot/json/JSONSerializer.java (original)
+++ pivot/trunk/core/src/org/apache/pivot/json/JSONSerializer.java Thu Dec 31 00:01:39 2020
@@ -115,8 +115,8 @@ public class JSONSerializer implements S
* Returns a flag indicating whether or not map keys will always be
* quote-delimited.
* <p> Note: the JSON "standard" requires keys to be delimited.
- * @return <tt>true</tt> if map keys must always be delimited (that is,
- * enclosed in double quotes), <tt>false</tt> for the default behavior
+ * @return {@code true} if map keys must always be delimited (that is,
+ * enclosed in double quotes), {@code false} for the default behavior
* that does not require double quotes.
*/
public boolean getAlwaysDelimitMapKeys() {
@@ -126,8 +126,8 @@ public class JSONSerializer implements S
/**
* Sets a flag indicating that map keys should always be quote-delimited.
*
- * @param alwaysDelimitMapKeys <tt>true</tt> to bound map keys in double
- * quotes; <tt>false</tt> to only quote-delimit keys as necessary.
+ * @param alwaysDelimitMapKeys {@code true} to bound map keys in double
+ * quotes; {@code false} to only quote-delimit keys as necessary.
*/
public void setAlwaysDelimitMapKeys(final boolean alwaysDelimitMapKeys) {
this.alwaysDelimitMapKeys = alwaysDelimitMapKeys;
@@ -145,7 +145,7 @@ public class JSONSerializer implements S
* Sets the serializer's verbosity flag. When verbosity is enabled, all data
* read or written will be echoed to the console.
*
- * @param verbose <tt>true</tt> to set verbose mode, <tt>false</tt> to disable.
+ * @param verbose {@code true} to set verbose mode, {@code false} to disable.
*/
public void setVerbose(final boolean verbose) {
this.verbose = verbose;
@@ -204,7 +204,7 @@ public class JSONSerializer implements S
* <li>java.lang.String</li>
* <li>java.lang.Number</li>
* <li>java.lang.Boolean</li>
- * <li><tt>null</tt></li>
+ * <li>{@code null}</li>
* <li>A JavaBean object</li>
* </ul>
* @throws IOException for any I/O related errors while reading.
@@ -815,7 +815,7 @@ public class JSONSerializer implements S
* <li>java.lang.String</li>
* <li>java.lang.Number</li>
* <li>java.lang.Boolean</li>
- * <li><tt>null</tt></li>
+ * <li>{@code null}</li>
* </ul>
* @param writer The writer to which data will be written.
* @throws IOException for any errors during the writing process.
Modified: pivot/trunk/core/src/org/apache/pivot/serialization/CSVSerializer.java
URL: http://svn.apache.org/viewvc/pivot/trunk/core/src/org/apache/pivot/serialization/CSVSerializer.java?rev=1884977&r1=1884976&r2=1884977&view=diff
==============================================================================
--- pivot/trunk/core/src/org/apache/pivot/serialization/CSVSerializer.java (original)
+++ pivot/trunk/core/src/org/apache/pivot/serialization/CSVSerializer.java Thu Dec 31 00:01:39 2020
@@ -139,7 +139,7 @@ public class CSVSerializer implements Se
/**
* Returns the serializer's write keys flag.
- * @return <tt>true</tt> if keys will be written, <tt>false</tt> otherwise.
+ * @return {@code true} if keys will be written, {@code false} otherwise.
* @see #setWriteKeys(boolean)
*/
public boolean getWriteKeys() {
@@ -149,7 +149,7 @@ public class CSVSerializer implements Se
/**
* Sets the serializer's write keys flag.
*
- * @param writeKeys If <tt>true</tt>, the first line of the output will
+ * @param writeKeys If {@code true}, the first line of the output will
* contain the keys. Otherwise, the first line will contain the first line
* of data.
*/
@@ -159,7 +159,7 @@ public class CSVSerializer implements Se
/**
* Returns the serializer's verbosity flag.
- * @return <tt>true</tt> if the serializer is echoing input, <tt>false</tt>
+ * @return {@code true} if the serializer is echoing input, {@code false}
* if not.
*/
public boolean isVerbose() {
Modified: pivot/trunk/core/src/org/apache/pivot/serialization/MacroReader.java
URL: http://svn.apache.org/viewvc/pivot/trunk/core/src/org/apache/pivot/serialization/MacroReader.java?rev=1884977&r1=1884976&r2=1884977&view=diff
==============================================================================
--- pivot/trunk/core/src/org/apache/pivot/serialization/MacroReader.java (original)
+++ pivot/trunk/core/src/org/apache/pivot/serialization/MacroReader.java Thu Dec 31 00:01:39 2020
@@ -122,7 +122,7 @@ public final class MacroReader extends R
* from the underlying {@link Reader}.
* <p> This is the heart of the processing that handles both
* macro definition and expansion.
- * @param handleMacros set to <tt>false</tt> only when
+ * @param handleMacros set to {@code false} only when
* invoking this method recursively
* to ignore unknown macro commands
* or undefined macros
Modified: pivot/trunk/core/src/org/apache/pivot/serialization/Serializer.java
URL: http://svn.apache.org/viewvc/pivot/trunk/core/src/org/apache/pivot/serialization/Serializer.java?rev=1884977&r1=1884976&r2=1884977&view=diff
==============================================================================
--- pivot/trunk/core/src/org/apache/pivot/serialization/Serializer.java (original)
+++ pivot/trunk/core/src/org/apache/pivot/serialization/Serializer.java Thu Dec 31 00:01:39 2020
@@ -55,7 +55,7 @@ public interface Serializer<T> {
*
* @param object If provided, allows the serializer to attach parameters to
* the returned MIME type containing more detailed information about the
- * data. If <tt>null</tt>, the base MIME type is returned.
+ * data. If {@code null}, the base MIME type is returned.
* @return The MIME type of the current data.
*/
public String getMIMEType(T object);
Modified: pivot/trunk/core/src/org/apache/pivot/sql/ResultList.java
URL: http://svn.apache.org/viewvc/pivot/trunk/core/src/org/apache/pivot/sql/ResultList.java?rev=1884977&r1=1884976&r2=1884977&view=diff
==============================================================================
--- pivot/trunk/core/src/org/apache/pivot/sql/ResultList.java (original)
+++ pivot/trunk/core/src/org/apache/pivot/sql/ResultList.java Thu Dec 31 00:01:39 2020
@@ -50,13 +50,13 @@ public class ResultList implements List<
public final String columnName;
/**
- * The name of the map key. If <tt>null</tt>, the column name will be
+ * The name of the map key. If {@code null}, the column name will be
* used.
*/
public final String key;
/**
- * The type of the map value. If <tt>null</tt>, the default SQL type
+ * The type of the map value. If {@code null}, the default SQL type
* will be used.
*/
public final Class<?> type;
Modified: pivot/trunk/core/src/org/apache/pivot/util/CalendarDate.java
URL: http://svn.apache.org/viewvc/pivot/trunk/core/src/org/apache/pivot/util/CalendarDate.java?rev=1884977&r1=1884976&r2=1884977&view=diff
==============================================================================
--- pivot/trunk/core/src/org/apache/pivot/util/CalendarDate.java (original)
+++ pivot/trunk/core/src/org/apache/pivot/util/CalendarDate.java Thu Dec 31 00:01:39 2020
@@ -342,7 +342,7 @@ public final class CalendarDate implemen
* @param month The month field, 0-based. (e.g. <tt>2</tt> for March)
* @param day The day of the month, 0-based. (e.g. <tt>14</tt> for the 15th)
* @param timeZone The timezone to assume for conversions and differences (if
- * <tt>null</tt> then the default TimeZone will be used).
+ * {@code null} then the default TimeZone will be used).
* @see #MIN_CALENDAR_YEAR
* @see #MAX_CALENDAR_YEAR
*/
@@ -396,7 +396,7 @@ public final class CalendarDate implemen
* resulting calendar date. The number of days may be negative, in which
* case the result will be a date before this calendar date. <p> More
* formally, it is defined that given calendar dates <tt>c1</tt> and
- * <tt>c2</tt>, the following will return <tt>true</tt>:
+ * <tt>c2</tt>, the following will return {@code true}:
* <pre> c1.add(c2.subtract(c1)).equals(c2); </pre>
*
* @param days The number of days to add to (or subtract from if negative)
@@ -414,7 +414,7 @@ public final class CalendarDate implemen
* resulting calendar date. The number of months may be negative, in which
* case the result will be a date before this calendar date. <p> More
* formally, it is defined that given calendar dates <tt>c1</tt> and
- * <tt>c2</tt>, the following will return <tt>true</tt>:
+ * <tt>c2</tt>, the following will return {@code true}:
* <pre> c1.add(c2.subtract(c1)).equals(c2); </pre>
*
* @param months The number of months to add to (or subtract from if negative)
@@ -432,7 +432,7 @@ public final class CalendarDate implemen
* resulting calendar date. The number of years may be negative, in which
* case the result will be a date before this calendar date. <p> More
* formally, it is defined that given calendar dates <tt>c1</tt> and
- * <tt>c2</tt>, the following will return <tt>true</tt>:
+ * <tt>c2</tt>, the following will return {@code true}:
* <pre> c1.add(c2.subtract(c1)).equals(c2); </pre>
*
* @param years The number of years to add to (or subtract from if negative)
@@ -453,7 +453,7 @@ public final class CalendarDate implemen
* be negative. If the two calendar dates represent the same day, the
* difference will be zero.
* <p> More formally, it is defined that given calendar dates <tt>c1</tt>
- * and <tt>c2</tt>, the following will return <tt>true</tt>:
+ * and <tt>c2</tt>, the following will return {@code true}:
* <pre> c1.add(c2.subtract(c1)).equals(c2); </pre>
*
* @param calendarDate The calendar date to subtract from this calendar date.
Modified: pivot/trunk/core/src/org/apache/pivot/util/ClassUtils.java
URL: http://svn.apache.org/viewvc/pivot/trunk/core/src/org/apache/pivot/util/ClassUtils.java?rev=1884977&r1=1884976&r2=1884977&view=diff
==============================================================================
--- pivot/trunk/core/src/org/apache/pivot/util/ClassUtils.java (original)
+++ pivot/trunk/core/src/org/apache/pivot/util/ClassUtils.java Thu Dec 31 00:01:39 2020
@@ -81,8 +81,8 @@ public final class ClassUtils {
* given classes.
* @param obj The (non-null) object to test.
* @param classes The list of classes.
- * @return <tt>true</tt> if the object is non-null and an instance of ANY of
- * the given classes, <tt>false</tt> otherwise.
+ * @return {@code true} if the object is non-null and an instance of ANY of
+ * the given classes, {@code false} otherwise.
*/
public static boolean instanceOf(final Object obj, final Class<?>... classes) {
for (Class<?> cls : classes) {
Modified: pivot/trunk/core/src/org/apache/pivot/util/EmptyIterator.java
URL: http://svn.apache.org/viewvc/pivot/trunk/core/src/org/apache/pivot/util/EmptyIterator.java?rev=1884977&r1=1884976&r2=1884977&view=diff
==============================================================================
--- pivot/trunk/core/src/org/apache/pivot/util/EmptyIterator.java (original)
+++ pivot/trunk/core/src/org/apache/pivot/util/EmptyIterator.java Thu Dec 31 00:01:39 2020
@@ -20,7 +20,7 @@ import java.util.Iterator;
import java.util.NoSuchElementException;
/**
- * A no-op iterator, for which {@link #hasNext} always returns <tt>false</tt>
+ * A no-op iterator, for which {@link #hasNext} always returns {@code false}
* and {@link #next} throws {@link NoSuchElementException}.
* <p> This is used (for instance) for {@link org.apache.pivot.collections.HashMap}
* when a hash bucket list is empty, so that iteration through the bucket list
Modified: pivot/trunk/core/src/org/apache/pivot/util/ExceptionUtils.java
URL: http://svn.apache.org/viewvc/pivot/trunk/core/src/org/apache/pivot/util/ExceptionUtils.java?rev=1884977&r1=1884976&r2=1884977&view=diff
==============================================================================
--- pivot/trunk/core/src/org/apache/pivot/util/ExceptionUtils.java (original)
+++ pivot/trunk/core/src/org/apache/pivot/util/ExceptionUtils.java Thu Dec 31 00:01:39 2020
@@ -75,9 +75,9 @@ public final class ExceptionUtils {
*
* @param ex The exception to report.
* @param buf The buffer to build the string representation in.
- * @param useToString <tt>true</tt> to format using the {@link Throwable#toString}
+ * @param useToString {@code true} to format using the {@link Throwable#toString}
* method instead of the {@link Throwable#getMessage} for the text.
- * @param useSpaces <tt>true</tt> to use spaces instead of newlines to separate
+ * @param useSpaces {@code true} to use spaces instead of newlines to separate
* the chained exceptions.
* @param convertTabs Convert any tab characters to single spaces (for use in controls
* that don't deal with tabs correctly; some do).
Modified: pivot/trunk/core/src/org/apache/pivot/util/Filter.java
URL: http://svn.apache.org/viewvc/pivot/trunk/core/src/org/apache/pivot/util/Filter.java?rev=1884977&r1=1884976&r2=1884977&view=diff
==============================================================================
--- pivot/trunk/core/src/org/apache/pivot/util/Filter.java (original)
+++ pivot/trunk/core/src/org/apache/pivot/util/Filter.java Thu Dec 31 00:01:39 2020
@@ -26,7 +26,7 @@ public interface Filter<T> {
* Determines item inclusion.
*
* @param item The item to test for inclusion.
- * @return <tt>true</tt> if the item should be included; <tt>false</tt>,
+ * @return {@code true} if the item should be included; {@code false},
* otherwise.
*/
boolean include(T item);
Modified: pivot/trunk/core/src/org/apache/pivot/util/ImmutableIterator.java
URL: http://svn.apache.org/viewvc/pivot/trunk/core/src/org/apache/pivot/util/ImmutableIterator.java?rev=1884977&r1=1884976&r2=1884977&view=diff
==============================================================================
--- pivot/trunk/core/src/org/apache/pivot/util/ImmutableIterator.java (original)
+++ pivot/trunk/core/src/org/apache/pivot/util/ImmutableIterator.java Thu Dec 31 00:01:39 2020
@@ -38,7 +38,7 @@ public final class ImmutableIterator<T>
* Construct an immutable iterator over the base iterator given here.
*
* @param iter The base iterator we want to protect from change.
- * @throws IllegalArgumentException if the iterator is <tt>null</tt>.
+ * @throws IllegalArgumentException if the iterator is {@code null}.
*/
public ImmutableIterator(final Iterator<T> iter) {
Utils.checkNull(iter, "iter");
Modified: pivot/trunk/core/src/org/apache/pivot/util/ListenerList.java
URL: http://svn.apache.org/viewvc/pivot/trunk/core/src/org/apache/pivot/util/ListenerList.java?rev=1884977&r1=1884976&r2=1884977&view=diff
==============================================================================
--- pivot/trunk/core/src/org/apache/pivot/util/ListenerList.java (original)
+++ pivot/trunk/core/src/org/apache/pivot/util/ListenerList.java Thu Dec 31 00:01:39 2020
@@ -166,7 +166,7 @@ public abstract class ListenerList<T> im
* Tests the existence of a listener in the list.
*
* @param listener The listener to test.
- * @return <tt>true</tt> if the listener exists in the list; <tt>false</tt>,
+ * @return {@code true} if the listener exists in the list; {@code false},
* otherwise.
*/
public boolean contains(final T listener) {
@@ -176,7 +176,7 @@ public abstract class ListenerList<T> im
/**
* Tests the emptiness of the list.
*
- * @return <tt>true</tt> if the list contains no listeners; <tt>false</tt>,
+ * @return {@code true} if the list contains no listeners; {@code false},
* otherwise.
*/
public boolean isEmpty() {
Modified: pivot/trunk/core/src/org/apache/pivot/util/StringUtils.java
URL: http://svn.apache.org/viewvc/pivot/trunk/core/src/org/apache/pivot/util/StringUtils.java?rev=1884977&r1=1884976&r2=1884977&view=diff
==============================================================================
--- pivot/trunk/core/src/org/apache/pivot/util/StringUtils.java (original)
+++ pivot/trunk/core/src/org/apache/pivot/util/StringUtils.java Thu Dec 31 00:01:39 2020
@@ -131,7 +131,7 @@ public final class StringUtils {
* Extension of {@link Boolean#parseBoolean} that is both more exact
* and supports more features. Specifically it will recognize:
* <ul>
- * <li><tt>true</tt> or <tt>false</tt> in mixed case.</li>
+ * <li>{@code true} or {@code false} in mixed case.</li>
* <li><tt>yes</tt> or <tt>no</tt> in mixed case.</li>
* <li><tt>on</tt> or <tt>off</tt> in mixed case.</li>
* <li><tt>T</tt> or <tt>F</tt> in mixed case.</li>
Modified: pivot/trunk/core/src/org/apache/pivot/util/concurrent/Task.java
URL: http://svn.apache.org/viewvc/pivot/trunk/core/src/org/apache/pivot/util/concurrent/Task.java?rev=1884977&r1=1884976&r2=1884977&view=diff
==============================================================================
--- pivot/trunk/core/src/org/apache/pivot/util/concurrent/Task.java (original)
+++ pivot/trunk/core/src/org/apache/pivot/util/concurrent/Task.java Thu Dec 31 00:01:39 2020
@@ -154,8 +154,8 @@ public abstract class Task<V> {
/**
* Returns the result of executing the task.
*
- * @return The task result, or <tt>null</tt> if the task is still executing
- * or has failed. The result itself may also be <tt>null</tt>; callers
+ * @return The task result, or {@code null} if the task is still executing
+ * or has failed. The result itself may also be {@code null}; callers
* should call {@link #isPending()} and {@link #getFault()} to distinguish
* between these cases.
*/
@@ -166,7 +166,7 @@ public abstract class Task<V> {
/**
* Returns the fault that occurred while executing the task.
*
- * @return The task fault, or <tt>null</tt> if the task is still executing
+ * @return The task fault, or {@code null} if the task is still executing
* or has succeeded. Callers should call {@link #isPending()} to distinguish
* between these cases.
*/
@@ -177,7 +177,7 @@ public abstract class Task<V> {
/**
* Returns the thread that was used to execute this task in the background.
*
- * @return The background thread or <tt>null</tt> if the weak reference was
+ * @return The background thread or {@code null} if the weak reference was
* already cleared or if the thread hasn't started yet.
*/
public synchronized Thread getBackgroundThread() {
@@ -187,8 +187,8 @@ public abstract class Task<V> {
/**
* Returns the pending state of the task.
*
- * @return <tt>true</tt> if the task is awaiting execution or currently
- * executing; <tt>false</tt>, otherwise.
+ * @return {@code true} if the task is awaiting execution or currently
+ * executing; {@code false}, otherwise.
*/
public synchronized boolean isPending() {
return (taskListener != null);
@@ -216,7 +216,7 @@ public abstract class Task<V> {
}
/**
- * Sets the abort flag for this task to <tt>true</tt>. It is the
+ * Sets the abort flag for this task to {@code true}. It is the
* responsibility of the implementing class to respect this value and throw
* a {@link AbortException}.
*/
Modified: pivot/trunk/core/src/org/apache/pivot/xml/Element.java
URL: http://svn.apache.org/viewvc/pivot/trunk/core/src/org/apache/pivot/xml/Element.java?rev=1884977&r1=1884976&r2=1884977&view=diff
==============================================================================
--- pivot/trunk/core/src/org/apache/pivot/xml/Element.java (original)
+++ pivot/trunk/core/src/org/apache/pivot/xml/Element.java Thu Dec 31 00:01:39 2020
@@ -60,7 +60,7 @@ public class Element extends Node implem
/**
* Returns the element to which this attribute belongs.
*
- * @return This attribute's element, or <tt>null</tt> if the attribute
+ * @return This attribute's element, or {@code null} if the attribute
* does not belong to an element.
*/
public Element getElement() {
@@ -70,7 +70,7 @@ public class Element extends Node implem
/**
* Returns the attribute's namespace prefix.
*
- * @return The attribute's namespace prefix, or <tt>null</tt> if the
+ * @return The attribute's namespace prefix, or {@code null} if the
* attribute belongs to the default namespace.
*/
public String getNamespacePrefix() {
@@ -322,7 +322,7 @@ public class Element extends Node implem
* Returns the URI of a namespace declared by this element.
*
* @param prefix The namespace prefix.
- * @return The declared namespace, or <tt>null</tt> if no such namespace
+ * @return The declared namespace, or {@code null} if no such namespace
* exists.
*/
@Override
@@ -375,8 +375,8 @@ public class Element extends Node implem
* Tests for the existence of a namespace declared by this element.
*
* @param prefix Namespace prefix to test for.
- * @return <tt>true</tt> if this element declares a namespace with the
- * given prefix; <tt>false</tt> otherwise.
+ * @return {@code true} if this element declares a namespace with the
+ * given prefix; {@code false} otherwise.
*/
@Override
public boolean containsKey(String prefix) {
@@ -404,7 +404,7 @@ public class Element extends Node implem
*
* @param attributeName Name of the attribute whose value we are interested in.
* @return The value associated with the given attribute, or
- * <tt>null</tt>
+ * {@code null}
*/
@Override
public String get(String attributeName) {
@@ -418,7 +418,7 @@ public class Element extends Node implem
* @param attributeName The attribute to set the new value for.
* @param value New value for this attribute.
* @return The value previously associated with the given attribute, or
- * <tt>null</tt> if the attribute did not previously exist.
+ * {@code null} if the attribute did not previously exist.
*/
@Override
public String put(String attributeName, String value) {
@@ -470,8 +470,8 @@ public class Element extends Node implem
* Tests for the existence of an attribute.
*
* @param attributeName Name of the attribute to test for.
- * @return <tt>true</tt> if this element defines the given attribute;
- * <tt>false</tt> otherwise.
+ * @return {@code true} if this element defines the given attribute;
+ * {@code false} otherwise.
*/
@Override
public boolean containsKey(String attributeName) {
@@ -511,7 +511,7 @@ public class Element extends Node implem
/**
* Returns the element's namespace prefix.
*
- * @return The element's namespace prefix, or <tt>null</tt> if the element
+ * @return The element's namespace prefix, or {@code null} if the element
* belongs to the default namespace.
*/
public String getNamespacePrefix() {
@@ -545,7 +545,7 @@ public class Element extends Node implem
* Returns the element's default namespace URI.
*
* @return The default namespace URI declared by this element, or
- * <tt>null</tt> if this element does not declare a default namespace.
+ * {@code null} if this element does not declare a default namespace.
*/
public String getDefaultNamespaceURI() {
return defaultNamespaceURI;
@@ -555,7 +555,7 @@ public class Element extends Node implem
* Sets the element's default namespace URI.
*
* @param defaultNamespaceURI The default namespace URI declared by this
- * element, or <tt>null</tt> if this element does not declare a default
+ * element, or {@code null} if this element does not declare a default
* namespace.
*/
public void setDefaultNamespaceURI(String defaultNamespaceURI) {
@@ -578,10 +578,10 @@ public class Element extends Node implem
* Determines the namespace URI corresponding to the given prefix by
* traversing the element's ancestry.
*
- * @param prefix The namespace prefix to look up, or <tt>null</tt> to
+ * @param prefix The namespace prefix to look up, or {@code null} to
* determine the default namespace for this element.
* @return The namespace URI corresponding to the given prefix, or
- * <tt>null</tt> if a URI could not be found.
+ * {@code null} if a URI could not be found.
*/
public String getNamespaceURI(String prefix) {
String namespaceURI;
@@ -746,7 +746,7 @@ public class Element extends Node implem
}
/**
- * @return <tt>null</tt>; elements cannot be sorted.
+ * @return {@code null}; elements cannot be sorted.
*/
@Override
public Comparator<Node> getComparator() {
@@ -773,8 +773,8 @@ public class Element extends Node implem
/**
* Determines if this element defines any attributes.
*
- * @return <tt>true</tt> if this element does not define any attributes;
- * <tt>false</tt> otherwise.
+ * @return {@code true} if this element does not define any attributes;
+ * {@code false} otherwise.
*/
@Override
public boolean isEmpty() {
Modified: pivot/trunk/demos/src/org/apache/pivot/demos/itunes/SearchDemo.java
URL: http://svn.apache.org/viewvc/pivot/trunk/demos/src/org/apache/pivot/demos/itunes/SearchDemo.java?rev=1884977&r1=1884976&r2=1884977&view=diff
==============================================================================
--- pivot/trunk/demos/src/org/apache/pivot/demos/itunes/SearchDemo.java (original)
+++ pivot/trunk/demos/src/org/apache/pivot/demos/itunes/SearchDemo.java Thu Dec 31 00:01:39 2020
@@ -98,7 +98,7 @@ public class SearchDemo implements Appli
* Executes a search.
*
* @param term The search term.
- * @throws IllegalArgumentException If <tt>term</tt> is <tt>null</tt> or
+ * @throws IllegalArgumentException If <tt>term</tt> is {@code null} or
* empty.
* @throws IllegalStateException If a query is already executing.
*/
@@ -187,7 +187,7 @@ public class SearchDemo implements Appli
/**
* Tests whether a query is currently executing.
*
- * @return <tt>true</tt> if a query is currently executing; <tt>false</tt>,
+ * @return {@code true} if a query is currently executing; {@code false},
* otherwise.
*/
public boolean isQueryExecuting() {
Modified: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/tools/EventLogger.java
URL: http://svn.apache.org/viewvc/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/tools/EventLogger.java?rev=1884977&r1=1884976&r2=1884977&view=diff
==============================================================================
--- pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/tools/EventLogger.java (original)
+++ pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/tools/EventLogger.java Thu Dec 31 00:01:39 2020
@@ -191,7 +191,7 @@ public class EventLogger extends Contain
/**
* Gets this event logger's source component.
*
- * @return The source component, or <tt>null</tt> if no source has been set.
+ * @return The source component, or {@code null} if no source has been set.
*/
public Component getSource() {
return source;
@@ -200,7 +200,7 @@ public class EventLogger extends Contain
/**
* Sets this event logger's source component.
*
- * @param source The source component, or <tt>null</tt> to clear the source.
+ * @param source The source component, or {@code null} to clear the source.
*/
public void setSource(Component source) {
Component previousSource = this.source;
Modified: pivot/trunk/web-server/src/org/apache/pivot/web/server/QueryServlet.java
URL: http://svn.apache.org/viewvc/pivot/trunk/web-server/src/org/apache/pivot/web/server/QueryServlet.java?rev=1884977&r1=1884976&r2=1884977&view=diff
==============================================================================
--- pivot/trunk/web-server/src/org/apache/pivot/web/server/QueryServlet.java (original)
+++ pivot/trunk/web-server/src/org/apache/pivot/web/server/QueryServlet.java Thu Dec 31 00:01:39 2020
@@ -287,7 +287,7 @@ public abstract class QueryServlet exten
* @param path The path of this request.
* @param value The value parsed from the POST request data.
* @return A URL containing the location of the created resource, or
- * <tt>null</tt> if operation did not result in the creation of a resource.
+ * {@code null} if operation did not result in the creation of a resource.
* @throws QueryException on errors.
*/
protected URL doPost(final Path path, final Object value) throws QueryException {
@@ -300,8 +300,8 @@ public abstract class QueryServlet exten
*
* @param path The server path for this request.
* @param value The value parsed from the PUT request data.
- * @return <tt>true</tt> if the operation resulted in the creation of a
- * resource; <tt>false</tt>, otherwise.
+ * @return {@code true} if the operation resulted in the creation of a
+ * resource; {@code false}, otherwise.
* @throws QueryException on any error.
*/
protected boolean doPut(final Path path, final Object value) throws QueryException {
Modified: pivot/trunk/web/src/org/apache/pivot/web/PostQuery.java
URL: http://svn.apache.org/viewvc/pivot/trunk/web/src/org/apache/pivot/web/PostQuery.java?rev=1884977&r1=1884976&r2=1884977&view=diff
==============================================================================
--- pivot/trunk/web/src/org/apache/pivot/web/PostQuery.java (original)
+++ pivot/trunk/web/src/org/apache/pivot/web/PostQuery.java Thu Dec 31 00:01:39 2020
@@ -69,7 +69,7 @@ public class PostQuery extends Query<URL
* Synchronously executes the POST operation.
*
* @return A URL that uniquely identifies the location of the resource
- * created on the server by the operation, or <tt>null</tt> if the server
+ * created on the server by the operation, or {@code null} if the server
* did not return a location.
*/
@Override
Modified: pivot/trunk/web/src/org/apache/pivot/web/PutQuery.java
URL: http://svn.apache.org/viewvc/pivot/trunk/web/src/org/apache/pivot/web/PutQuery.java?rev=1884977&r1=1884976&r2=1884977&view=diff
==============================================================================
--- pivot/trunk/web/src/org/apache/pivot/web/PutQuery.java (original)
+++ pivot/trunk/web/src/org/apache/pivot/web/PutQuery.java Thu Dec 31 00:01:39 2020
@@ -65,8 +65,8 @@ public class PutQuery extends Query<Bool
/**
* Synchronously executes the PUT operation.
*
- * @return <tt>true</tt> if the operation resulted in the creation of a
- * server resource; <tt>false</tt>, otherwise.
+ * @return {@code true} if the operation resulted in the creation of a
+ * server resource; {@code false}, otherwise.
*/
@Override
public Boolean execute() throws QueryException {
Modified: pivot/trunk/web/src/org/apache/pivot/web/Query.java
URL: http://svn.apache.org/viewvc/pivot/trunk/web/src/org/apache/pivot/web/Query.java?rev=1884977&r1=1884976&r2=1884977&view=diff
==============================================================================
--- pivot/trunk/web/src/org/apache/pivot/web/Query.java (original)
+++ pivot/trunk/web/src/org/apache/pivot/web/Query.java Thu Dec 31 00:01:39 2020
@@ -161,7 +161,7 @@ public abstract class Query<V> extends I
/**
* Gets the proxy associated with this query.
*
- * @return This query's proxy, or <tt>null</tt> if the query is using the
+ * @return This query's proxy, or {@code null} if the query is using the
* default JVM proxy settings
*/
public Proxy getProxy() {
@@ -171,7 +171,7 @@ public abstract class Query<V> extends I
/**
* Sets the proxy associated with this query.
*
- * @param proxy This query's proxy, or <tt>null</tt> to use the default JVM
+ * @param proxy This query's proxy, or {@code null} to use the default JVM
* proxy settings
*/
public void setProxy(final Proxy proxy) {
Modified: pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraGaugeSkin.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraGaugeSkin.java?rev=1884977&r1=1884976&r2=1884977&view=diff
==============================================================================
--- pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraGaugeSkin.java (original)
+++ pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraGaugeSkin.java Thu Dec 31 00:01:39 2020
@@ -687,9 +687,9 @@ public class TerraGaugeSkin<T extends Nu
/**
* Set whether or not to only show the maximum color for the entire gauge.
- * @param onlyMaxColor <tt>true</tt> to show the entire gauge in the normal,
+ * @param onlyMaxColor {@code true} to show the entire gauge in the normal,
* warning, or critical color (if set) which is appropriate for the value
- * and the warning or critical levels (again if set), <tt>false</tt> to
+ * and the warning or critical levels (again if set), {@code false} to
* show multiple segments.
*/
public final void setOnlyMaxColor(final boolean onlyMaxColor) {
Modified: pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraPanoramaSkin.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraPanoramaSkin.java?rev=1884977&r1=1884976&r2=1884977&view=diff
==============================================================================
--- pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraPanoramaSkin.java (original)
+++ pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraPanoramaSkin.java Thu Dec 31 00:01:39 2020
@@ -178,7 +178,7 @@ public class TerraPanoramaSkin extends C
}
/**
- * @return <tt>false</tt>; scroll buttons are not focusable.
+ * @return {@code false}; scroll buttons are not focusable.
*/
@Override
public boolean isFocusable() {
Modified: pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraTableViewSkin.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraTableViewSkin.java?rev=1884977&r1=1884976&r2=1884977&view=diff
==============================================================================
--- pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraTableViewSkin.java (original)
+++ pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraTableViewSkin.java Thu Dec 31 00:01:39 2020
@@ -1076,7 +1076,7 @@ public class TerraTableViewSkin extends
/**
* Set whether this {@link TableView} will go into edit mode on a mouse down or
* on a mouse double click (the default).
- * <p> Setting this to <tt>true</tt> can reduce the number of mouse clicks
+ * <p> Setting this to {@code true} can reduce the number of mouse clicks
* necessary to rapidly edit a table view.
* @param editOnMouseDown The new setting.
*/
Modified: pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraTextInputSkin.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraTextInputSkin.java?rev=1884977&r1=1884976&r2=1884977&view=diff
==============================================================================
--- pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraTextInputSkin.java (original)
+++ pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraTextInputSkin.java Thu Dec 31 00:01:39 2020
@@ -704,7 +704,7 @@ public class TerraTextInputSkin extends
* and the maximum height of any character in the font.
*
* @param font The new font to use.
- * @throws IllegalArgumentException if the <tt>font</tt> argument is <tt>null</tt>.
+ * @throws IllegalArgumentException if the <tt>font</tt> argument is {@code null}.
*/
public final void setFont(final Font font) {
Utils.checkNull(font, "font");
Modified: pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraTheme.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraTheme.java?rev=1884977&r1=1884976&r2=1884977&view=diff
==============================================================================
--- pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraTheme.java (original)
+++ pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraTheme.java Thu Dec 31 00:01:39 2020
@@ -326,7 +326,7 @@ public final class TerraTheme extends Th
*
* @param properties The color properties map.
* @param colorPropertyName Name of the color property to get.
- * @return The decoded color value or <tt>null</tt> if the property by that name cannot be found.
+ * @return The decoded color value or {@code null} if the property by that name cannot be found.
* @see GraphicsUtilities#decodeColor
*/
private Color getColorProperty(final Map<String, ?> properties, final String colorPropertyName) {
Modified: pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraTreeViewSkin.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraTreeViewSkin.java?rev=1884977&r1=1884976&r2=1884977&view=diff
==============================================================================
--- pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraTreeViewSkin.java (original)
+++ pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraTreeViewSkin.java Thu Dec 31 00:01:39 2020
@@ -178,7 +178,7 @@ public class TerraTreeViewSkin extends C
/**
* Gets the path of the node last returned by a call to {@link #next()}.
*
- * @return The path to the node, or <tt>null</tt> if <tt>next()</tt> has
+ * @return The path to the node, or {@code null} if <tt>next()</tt> has
* not yet been called.
*/
public Path getPath() {
@@ -388,7 +388,7 @@ public class TerraTreeViewSkin extends C
/**
* Loads this branch info's children. The children list is initialized
- * to <tt>null</tt> and loaded lazily to allow the skin to only create
+ * to {@code null} and loaded lazily to allow the skin to only create
* <tt>NodeInfo</tt> objects for the nodes that it actually needs in
* order to paint. Thus, it is the responsibility of the skin to check
* if <tt>children</tt> is null and call <tt>loadChildren()</tt> if
@@ -1149,7 +1149,7 @@ public class TerraTreeViewSkin extends C
/**
* @return The metadata associated with the node found at the specified
- * y-coordinate, or <tt>null</tt> if there is no node at that location.
+ * y-coordinate, or {@code null} if there is no node at that location.
* @param y The current Y location.
*/
protected final NodeInfo getNodeInfoAt(int y) {
@@ -1199,7 +1199,7 @@ public class TerraTreeViewSkin extends C
}
/**
- * @return The bounding box defined by the specified node, or <tt>null</tt> if
+ * @return The bounding box defined by the specified node, or {@code null} if
* the node is not currently visible.
* @param nodeInfo The node information to search for.
*/
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=1884977&r1=1884976&r2=1884977&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/Application.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/Application.java Thu Dec 31 00:01:39 2020
@@ -124,9 +124,9 @@ public interface Application {
/**
* Called when the application is being shut down.
*
- * @param optional If <tt>true</tt>, the shutdown may be cancelled by
- * returning a value of <tt>true</tt>.
- * @return <tt>true</tt> to cancel shutdown, <tt>false</tt> to proceed with shutdown (default).
+ * @param optional If {@code true}, the shutdown may be cancelled by
+ * returning a value of {@code true}.
+ * @return {@code true} to cancel shutdown, {@code false} to proceed with shutdown (default).
* @throws Exception if there is a problem during shutdown.
*/
default boolean shutdown(boolean optional) throws Exception {
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/ApplicationContext.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/ApplicationContext.java?rev=1884977&r1=1884976&r2=1884977&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/ApplicationContext.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/ApplicationContext.java Thu Dec 31 00:01:39 2020
@@ -687,8 +687,8 @@ public abstract class ApplicationContext
* Attempts to paint the display using an offscreen buffer.
*
* @param graphics The source graphics context.
- * @return <tt>true</tt> if the display was painted using the offscreen
- * buffer; <tt>false</tt>, otherwise.
+ * @return {@code true} if the display was painted using the offscreen
+ * buffer; {@code false}, otherwise.
*/
private boolean paintBuffered(Graphics2D graphics) {
boolean painted = false;
@@ -728,8 +728,8 @@ public abstract class ApplicationContext
* Attempts to paint the display using a volatile offscreen buffer.
*
* @param graphics The source graphics context.
- * @return <tt>true</tt> if the display was painted using the offscreen
- * buffer; <tt>false</tt>, otherwise.
+ * @return {@code true} if the display was painted using the offscreen
+ * buffer; {@code false}, otherwise.
*/
private boolean paintVolatileBuffered(Graphics2D graphics) {
boolean painted = false;
@@ -1830,7 +1830,7 @@ public abstract class ApplicationContext
/**
* Returns this application's origin (the URL of it's originating server).
*
- * @return The application's origin, or <tt>null</tt> if the origin cannot
+ * @return The application's origin, or {@code null} if the origin cannot
* be determined.
*/
public static URL getOrigin() {
@@ -2075,7 +2075,7 @@ public abstract class ApplicationContext
* optionally waits for the task to complete.
*
* @param callback The task to execute.
- * @param wait If <tt>true</tt>, does not return until the task has
+ * @param wait If {@code true}, does not return until the task has
* executed. Otherwise, returns immediately.
* @return The callback object (used to manipulate or wait for the task).
*/
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/Border.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/Border.java?rev=1884977&r1=1884976&r2=1884977&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/Border.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/Border.java Thu Dec 31 00:01:39 2020
@@ -42,7 +42,7 @@ public class Border extends Container {
/**
* Returns the border's title.
*
- * @return The border's title, or <tt>null</tt> if no title is set.
+ * @return The border's title, or {@code null} if no title is set.
*/
public String getTitle() {
return title;
@@ -51,7 +51,7 @@ public class Border extends Container {
/**
* Sets the border's title.
*
- * @param title The new title, or <tt>null</tt> for no title.
+ * @param title The new title, or {@code null} for no title.
*/
public void setTitle(String title) {
String previousTitle = this.title;
@@ -65,7 +65,7 @@ public class Border extends Container {
/**
* Returns the border's content component.
*
- * @return The border's content component, or <tt>null</tt> if the border
+ * @return The border's content component, or {@code null} if the border
* does not have a content component.
*/
public Component getContent() {
@@ -75,7 +75,7 @@ public class Border extends Container {
/**
* Sets the border's content component.
*
- * @param content The border's content component, or <tt>null</tt> for no
+ * @param content The border's content component, or {@code null} for no
* content.
*/
public void setContent(Component content) {
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/Button.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/Button.java?rev=1884977&r1=1884976&r2=1884977&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/Button.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/Button.java Thu Dec 31 00:01:39 2020
@@ -41,11 +41,11 @@ public abstract class Button extends Com
/**
* Prepares the renderer for layout or paint.
*
- * @param data The data to render, or <tt>null</tt> if called to
+ * @param data The data to render, or {@code null} if called to
* calculate preferred height for skins that assume a fixed renderer
* height.
* @param button The host component.
- * @param highlighted If <tt>true</tt>, the item is highlighted.
+ * @param highlighted If {@code true}, the item is highlighted.
*/
public void render(Object data, Button button, boolean highlighted);
@@ -53,7 +53,7 @@ public abstract class Button extends Com
* Converts button data to a string representation.
*
* @param data The button's data.
- * @return The data's string representation, or <tt>null</tt> if the data
+ * @return The data's string representation, or {@code null} if the data
* does not have a string representation. <p> Note that this method may
* be called often during keyboard navigation, so implementations should
* avoid unnecessary string allocations.
@@ -218,7 +218,7 @@ public abstract class Button extends Com
/**
* Returns the action associated with this button.
*
- * @return The button's action, or <tt>null</tt> if no action is defined.
+ * @return The button's action, or {@code null} if no action is defined.
*/
public Action getAction() {
return action;
@@ -228,7 +228,7 @@ public abstract class Button extends Com
* Sets this button's action.
*
* @param action The action to be triggered when this button is pressed, or
- * <tt>null</tt> for no action.
+ * {@code null} for no action.
*/
public void setAction(Action action) {
Action previousAction = this.action;
@@ -439,7 +439,7 @@ public abstract class Button extends Com
}
/**
- * Set the delay to be used when {@link #setQueuedAction} is set to <tt>true</tt>.
+ * Set the delay to be used when {@link #setQueuedAction} is set to {@code true}.
* <p> Typically this delay would be a bit longer than the popup window fade
* transition (for instance), or similar timing.
*
@@ -455,7 +455,7 @@ public abstract class Button extends Com
/**
* Returns the button's button group.
*
- * @return The group to which the button belongs, or <tt>null</tt> if the
+ * @return The group to which the button belongs, or {@code null} if the
* button does not belong to a group.
*/
public ButtonGroup getButtonGroup() {
@@ -466,7 +466,7 @@ public abstract class Button extends Com
* Sets the button's button group.
*
* @param buttonGroup The group to which the button will belong, or
- * <tt>null</tt> if the button will not belong to a group.
+ * {@code null} if the button will not belong to a group.
*/
public void setButtonGroup(ButtonGroup buttonGroup) {
if (!toggleButton) {
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/Calendar.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/Calendar.java?rev=1884977&r1=1884976&r2=1884977&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/Calendar.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/Calendar.java Thu Dec 31 00:01:39 2020
@@ -133,7 +133,7 @@ public class Calendar extends Container
}
/**
- * @return The currently selected date, or <tt>null</tt> if no date is
+ * @return The currently selected date, or {@code null} if no date is
* selected.
*/
public CalendarDate getSelectedDate() {
@@ -143,7 +143,7 @@ public class Calendar extends Container
/**
* Sets the currently selected date.
*
- * @param selectedDate The selected date, or <tt>null</tt> to specify no
+ * @param selectedDate The selected date, or {@code null} to specify no
* selection
*/
public void setSelectedDate(CalendarDate selectedDate) {
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/CalendarButton.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/CalendarButton.java?rev=1884977&r1=1884976&r2=1884977&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/CalendarButton.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/CalendarButton.java Thu Dec 31 00:01:39 2020
@@ -153,7 +153,7 @@ public class CalendarButton extends Butt
/**
* Returns the currently selected date.
*
- * @return The currently selected date, or <tt>null</tt> if nothing is
+ * @return The currently selected date, or {@code null} if nothing is
* selected.
*/
public CalendarDate getSelectedDate() {
@@ -163,7 +163,7 @@ public class CalendarButton extends Butt
/**
* Sets the selected date.
*
- * @param selectedDate The date to select, or <tt>null</tt> to clear the
+ * @param selectedDate The date to select, or {@code null} to clear the
* selection.
*/
public void setSelectedDate(CalendarDate selectedDate) {
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/ColorChooser.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/ColorChooser.java?rev=1884977&r1=1884976&r2=1884977&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/ColorChooser.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/ColorChooser.java Thu Dec 31 00:01:39 2020
@@ -64,7 +64,7 @@ public class ColorChooser extends Contai
}
/**
- * @return The currently selected color, or <tt>null</tt> if no color is
+ * @return The currently selected color, or {@code null} if no color is
* selected.
*/
public Color getSelectedColor() {
@@ -74,7 +74,7 @@ public class ColorChooser extends Contai
/**
* Sets the selected color.
*
- * @param selectedColor The color to select, or <tt>null</tt> to clear the
+ * @param selectedColor The color to select, or {@code null} to clear the
* selection.
*/
public void setSelectedColor(final Color selectedColor) {
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/ColorChooserButton.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/ColorChooserButton.java?rev=1884977&r1=1884976&r2=1884977&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/ColorChooserButton.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/ColorChooserButton.java Thu Dec 31 00:01:39 2020
@@ -87,7 +87,7 @@ public class ColorChooserButton extends
}
/**
- * @return The currently selected color, or <tt>null</tt> if nothing is
+ * @return The currently selected color, or {@code null} if nothing is
* selected.
*/
public Color getSelectedColor() {
@@ -97,7 +97,7 @@ public class ColorChooserButton extends
/**
* Sets the selected color.
*
- * @param selectedColor The color to select, or <tt>null</tt> to clear the
+ * @param selectedColor The color to select, or {@code null} to clear the
* selection.
*/
public void setSelectedColor(final Color selectedColor) {