You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by sc...@apache.org on 2014/01/06 18:21:20 UTC
svn commit: r1555925 - in
/uima/uimaj/trunk/uimaj-test-util/src/main/java/org/apache/uima/test/junit_extension:
FileCompare.java ManageOutputDevice.java
Author: schor
Date: Mon Jan 6 17:21:20 2014
New Revision: 1555925
URL: http://svn.apache.org/r1555925
Log:
[UIMA-3484] fixes to javadoc comments only.
Modified:
uima/uimaj/trunk/uimaj-test-util/src/main/java/org/apache/uima/test/junit_extension/FileCompare.java
uima/uimaj/trunk/uimaj-test-util/src/main/java/org/apache/uima/test/junit_extension/ManageOutputDevice.java
Modified: uima/uimaj/trunk/uimaj-test-util/src/main/java/org/apache/uima/test/junit_extension/FileCompare.java
URL: http://svn.apache.org/viewvc/uima/uimaj/trunk/uimaj-test-util/src/main/java/org/apache/uima/test/junit_extension/FileCompare.java?rev=1555925&r1=1555924&r2=1555925&view=diff
==============================================================================
--- uima/uimaj/trunk/uimaj-test-util/src/main/java/org/apache/uima/test/junit_extension/FileCompare.java (original)
+++ uima/uimaj/trunk/uimaj-test-util/src/main/java/org/apache/uima/test/junit_extension/FileCompare.java Mon Jan 6 17:21:20 2014
@@ -60,7 +60,7 @@ public class FileCompare {
* filename of the second file
* @return - true if the files have the same content
*
- * @throws IOException
+ * @throws IOException -
*/
public static boolean compare(String filename1, String filename2) throws IOException {
InputStream file1 = null;
@@ -88,7 +88,7 @@ public class FileCompare {
* second file
* @return - true if the files have the same content
*
- * @throws IOException
+ * @throws IOException -
*/
public static boolean compare(File file1, File file2) throws IOException {
InputStream inputStream1 = null;
@@ -118,7 +118,7 @@ public class FileCompare {
*
* @return - true if the content is the same
*
- * @throws IOException
+ * @throws IOException -
*/
public static boolean compare(String filename1, InputStream in) throws IOException {
InputStream file1 = null;
@@ -215,7 +215,7 @@ public class FileCompare {
* Filename of the first XML file.
* @param filename2
* Filename of the second XML file.
- * @throws IOException
+ * @throws IOException -
*/
public static boolean compareXML(String filename1, String filename2) throws IOException {
File file1 = null;
@@ -265,7 +265,7 @@ public class FileCompare {
* Filename of the second XML file.
* @param pattern
* an instance of Pattern which matches all substrings which should be filtered out of the match
- * @throws IOException
+ * @throws IOException -
*/
public static boolean compareWithFilter(String filename1, String filename2, Pattern pattern)
throws IOException {
@@ -435,7 +435,7 @@ public class FileCompare {
* Read a bufferedReader into a string, using the default platform encoding.
*
* @param reader to be read in
- * @param bufSize - size of stream, in bytes. Size in chars is <= size in bytes, because
+ * @param bufSize - size of stream, in bytes. Size in chars is ≤ size in bytes, because
* chars take 1 or more bytes to encode.
* @return String The contents of the stream.
* @throws IOException
Modified: uima/uimaj/trunk/uimaj-test-util/src/main/java/org/apache/uima/test/junit_extension/ManageOutputDevice.java
URL: http://svn.apache.org/viewvc/uima/uimaj/trunk/uimaj-test-util/src/main/java/org/apache/uima/test/junit_extension/ManageOutputDevice.java?rev=1555925&r1=1555924&r2=1555925&view=diff
==============================================================================
--- uima/uimaj/trunk/uimaj-test-util/src/main/java/org/apache/uima/test/junit_extension/ManageOutputDevice.java (original)
+++ uima/uimaj/trunk/uimaj-test-util/src/main/java/org/apache/uima/test/junit_extension/ManageOutputDevice.java Mon Jan 6 17:21:20 2014
@@ -45,7 +45,7 @@ public class ManageOutputDevice {
*
* @param descriptor
* a full qualified filename, see {@link java.io.File#File(String pathname)}
- * @throws FileNotFoundException
+ * @throws FileNotFoundException -
*/
public static void setSysOutToFile(String descriptor) throws FileNotFoundException {
File f = new File(descriptor);
@@ -73,7 +73,7 @@ public class ManageOutputDevice {
* sets the <code>System.err</code> to a file based <code>java.io.PrintStream</code>
*
* @param descriptor
- * @throws FileNotFoundException
+ * @throws FileNotFoundException -
*/
public static void setSysErrToFile(String descriptor) throws FileNotFoundException {
File f = new File(descriptor);