< prev index next >
src/java.desktop/share/classes/javax/swing/text/StyleConstants.java
Print this page
@@ -733,11 +733,11 @@
/**
* Gets the alignment setting.
*
* @param a the attribute set
- * @return the value <code>StyleConstants.ALIGN_LEFT</code> if not set
+ * @return the value {@code StyleConstants.ALIGN_LEFT} if not set
*/
public static int getAlignment(AttributeSet a) {
Integer align = (Integer) a.getAttribute(Alignment);
if (align != null) {
return align.intValue();
@@ -757,11 +757,11 @@
/**
* Gets the TabSet.
*
* @param a the attribute set
- * @return the <code>TabSet</code>
+ * @return the {@code TabSet}
*/
public static TabSet getTabSet(AttributeSet a) {
TabSet tabs = (TabSet)a.getAttribute(TabSet);
// PENDING: should this return a default?
return tabs;
< prev index next >