You are viewing a plain text version of this content. The canonical link for it is here.
Posted to doxia-commits@maven.apache.org by vs...@apache.org on 2007/08/03 13:15:27 UTC

svn commit: r562410 - /maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/parser/ParseException.java

Author: vsiveton
Date: Fri Aug  3 04:15:26 2007
New Revision: 562410

URL: http://svn.apache.org/viewvc?view=rev&rev=562410
Log:
o fixed javadoc
o make fields private

Modified:
    maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/parser/ParseException.java

Modified: maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/parser/ParseException.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/parser/ParseException.java?view=diff&rev=562410&r1=562409&r2=562410
==============================================================================
--- maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/parser/ParseException.java (original)
+++ maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/parser/ParseException.java Fri Aug  3 04:15:26 2007
@@ -23,24 +23,21 @@
  * Encapsulate a Doxia parse error.
  *
  * @author <a href="mailto:jason@maven.org">Jason van Zyl</a>
- * @version $Id:ParseException.java 348605 2005-11-24 12:02:44 +1100 (Thu, 24 Nov 2005) brett $
+ * @version $Id$
+ * @since 1.0
  */
 public class ParseException
     extends Exception
 {
-    /** 
+    /**
      * The file that caused the ParseException..
-     *
-     * @todo Make private.
      */
-    protected String fileName;
+    private String fileName;
 
-    /** 
+    /**
      * Line number where the parse exception occurred.
-     *
-     * @todo Make private.
      */
-    protected int lineNumber;
+    private int lineNumber;
 
     /**
      * Construct a new ParseException with the specified detail message.
@@ -115,7 +112,7 @@
         this.lineNumber = line;
     }
 
-    /** 
+    /**
      * Returns the file that caused the ParseException.
      *
      * @return the file that caused the ParseException.
@@ -125,7 +122,7 @@
         return fileName;
     }
 
-    /** 
+    /**
      * Returns the line number where the  ParseException ocurred.
      *
      * @return the line number.