Author: schor Date: Wed Dec 21 18:56:43 2016 New Revision: 1775531 URL: http://svn.apache.org/viewvc?rev=1775531&view=rev Log: [UIMA-4674] fix migration tool error reporting - missing toString method on Configuration
Modified: uima/uimaj/branches/experiment-v3-jcas/uimaj-v3migration-jcas/src/main/java/org/apache/uima/migratev3/jcas/MigrateJCas.java Modified: uima/uimaj/branches/experiment-v3-jcas/uimaj-v3migration-jcas/src/main/java/org/apache/uima/migratev3/jcas/MigrateJCas.java URL: http://svn.apache.org/viewvc/uima/uimaj/branches/experiment-v3-jcas/uimaj-v3migration-jcas/src/main/java/org/apache/uima/migratev3/jcas/MigrateJCas.java?rev=1775531&r1=1775530&r2=1775531&view=diff ============================================================================== --- uima/uimaj/branches/experiment-v3-jcas/uimaj-v3migration-jcas/src/main/java/org/apache/uima/migratev3/jcas/MigrateJCas.java (original) +++ uima/uimaj/branches/experiment-v3-jcas/uimaj-v3migration-jcas/src/main/java/org/apache/uima/migratev3/jcas/MigrateJCas.java Wed Dec 21 18:56:43 2016 @@ -204,6 +204,19 @@ public class MigrateJCas extends VoidVis this.p = p; this.pearClasspath = pearClasspath; } + + /* (non-Javadoc) + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + String pear = (pearClasspath == null) ? "" : + ", pearClasspath=" + pearClasspath; + return "Candidate [p=" + p + pear + "]"; + + } + + } /***************** @@ -1756,7 +1769,7 @@ public class MigrateJCas extends VoidVis // } /** - * The classloader to use, if it is provided, is one that delegates first + * The classloader to use in decompiling, if it is provided, is one that delegates first * to the parent. This may need fixing for PEARs * @return classloader to use for migrate decompiling */