svn commit: r14655 - trunk/src/argouml-app/src/org/argouml/uml/generator/Language.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: tfmorris
Date: 2008-05-07 09:45:21-0700
New Revision: 14655

Modified:
   trunk/src/argouml-app/src/org/argouml/uml/generator/Language.java

Log:
Javadoc typo

Modified: trunk/src/argouml-app/src/org/argouml/uml/generator/Language.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/uml/generator/Language.java?view=diff&rev=14655&p1=trunk/src/argouml-app/src/org/argouml/uml/generator/Language.java&p2=trunk/src/argouml-app/src/org/argouml/uml/generator/Language.java&r1=14654&r2=14655
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/uml/generator/Language.java	(original)
+++ trunk/src/argouml-app/src/org/argouml/uml/generator/Language.java	2008-05-07 09:45:21-0700
@@ -27,7 +27,8 @@
 import javax.swing.Icon;
 
 /**
- * Encapsulates a language name and other properties.
+ * Encapsulates a programming language name and other properties.
+ * 
  * @author Daniele Tamino
  */
 public class Language {
@@ -37,6 +38,8 @@
     private Icon icon;
 
     /**
+     * Construct a language instance with all its properties.
+     * 
      * @param theName The name of the language.
      * @param theTitle A string representing the language for display.
      * @param theIcon An icon for the language.
@@ -53,6 +56,7 @@
 
     /**
      * Creates a language with no icon.
+     * 
      * @param theName The name of the language.
      * @param theTitle A string representing the language for display.
      */
@@ -62,6 +66,7 @@
 
     /**
      * Creates a language with title equal to the name.
+     * 
      * @param theName The name of the language.
      * @param theIcon An icon for the language.
      */
@@ -71,6 +76,7 @@
 
     /**
      * Creates a language with title equal to the name and no icon.
+     * 
      * @param theName The name of the language.
      */
     public Language(String theName) {
@@ -106,8 +112,8 @@
     }
 
     /**
-     * @return Returns the title, which should be a string representing
-     * the language, in a form suitable for display.
+     * @return Returns the title, which should be a string representing the
+     *         language, in a form suitable for display.
      */
     public String getTitle() {
         return title;
@@ -115,15 +121,12 @@
 
     /**
      * @param theTitle A string representing the language, in a form suitable
-     * for display.
+     *                for display.
      */
     public void setTitle(String theTitle) {
         this.title = theTitle;
     }
 
-    /*
-     * @see java.lang.Object#toString()
-     */
     public String toString() {
         String tit = getTitle();
         return tit == null ? "(no name)" : tit;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.