ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shalg...@apache.org
Subject svn commit: r1500901 - /ctakes/trunk/ctakes-assertion/src/main/java/org/apache/ctakes/assertion/pipelines/GoldEntityAndAttributeReaderPipelineForSeedCorpus.java
Date Mon, 08 Jul 2013 19:36:30 GMT
Author: shalgrim
Date: Mon Jul  8 19:36:29 2013
New Revision: 1500901

URL: http://svn.apache.org/r1500901
Log:
when parent directory doesn't exist log message now tells you what dir that is

Modified:
    ctakes/trunk/ctakes-assertion/src/main/java/org/apache/ctakes/assertion/pipelines/GoldEntityAndAttributeReaderPipelineForSeedCorpus.java

Modified: ctakes/trunk/ctakes-assertion/src/main/java/org/apache/ctakes/assertion/pipelines/GoldEntityAndAttributeReaderPipelineForSeedCorpus.java
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-assertion/src/main/java/org/apache/ctakes/assertion/pipelines/GoldEntityAndAttributeReaderPipelineForSeedCorpus.java?rev=1500901&r1=1500900&r2=1500901&view=diff
==============================================================================
--- ctakes/trunk/ctakes-assertion/src/main/java/org/apache/ctakes/assertion/pipelines/GoldEntityAndAttributeReaderPipelineForSeedCorpus.java
(original)
+++ ctakes/trunk/ctakes-assertion/src/main/java/org/apache/ctakes/assertion/pipelines/GoldEntityAndAttributeReaderPipelineForSeedCorpus.java
Mon Jul  8 19:36:29 2013
@@ -82,7 +82,7 @@ public class GoldEntityAndAttributeReade
 //		File parentDirectory = new File(parentDirectoryString);
 		if (!parentDirectory.exists())
 		{
-			logger.fatal("parent directory does not exist! exiting! parentDirectory = " + parentDirectory.getAbsolutePath());
+			logger.fatal(String.format("parent directory %s does not exist! exiting!", parentDirectory.getAbsolutePath()));
 			return;
 		}
 		



Mime
View raw message