Author: rwesten
Date: Wed Apr 16 10:50:07 2014
New Revision: 1587860
URL: http://svn.apache.org/r1587860
Log:
STANBOL-1321: the createEnhancement method of the EnhancementEngineHelper is
now public
Modified:
stanbol/branches/release-0.12/enhancer/generic/servicesapi/src/main/java/org/apache/stanbol/enhancer/servicesapi/helper/EnhancementEngineHelper.java
Modified:
stanbol/branches/release-0.12/enhancer/generic/servicesapi/src/main/java/org/apache/stanbol/enhancer/servicesapi/helper/EnhancementEngineHelper.java
URL:
http://svn.apache.org/viewvc/stanbol/branches/release-0.12/enhancer/generic/servicesapi/src/main/java/org/apache/stanbol/enhancer/servicesapi/helper/EnhancementEngineHelper.java?rev=1587860&r1=1587859&r2=1587860&view=diff
==============================================================================
---
stanbol/branches/release-0.12/enhancer/generic/servicesapi/src/main/java/org/apache/stanbol/enhancer/servicesapi/helper/EnhancementEngineHelper.java
(original)
+++
stanbol/branches/release-0.12/enhancer/generic/servicesapi/src/main/java/org/apache/stanbol/enhancer/servicesapi/helper/EnhancementEngineHelper.java
Wed Apr 16 10:50:07 2014
@@ -326,14 +326,17 @@ public final class EnhancementEngineHelp
/**
* Create a new enhancement instance in the metadata-graph of the content
* item along with default properties (dc:creator and dc:created) and
return
- * the UriRef of the extraction so that engines can further add.
+ * the UriRef of the extraction so that engines can further add. <p>
+ * <i>NOTE:</i> This method was protected prior to <code>0.12.1</code> (see
+ * <a
href="https://issues.apache.org/jira/browse/STANBOL-1321">STANBOL-1321</a>)
*
* @param ci the ContentItem being under analysis
* @param engine the Engine performing the analysis
*
* @return the URI of the new enhancement instance
+ * @since 0.12.1
*/
- protected static UriRef createEnhancement(MGraph metadata,
+ public static UriRef createEnhancement(MGraph metadata,
EnhancementEngine engine, UriRef contentItemId){
LiteralFactory literalFactory = LiteralFactory.getInstance();