You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@manifoldcf.apache.org by kw...@apache.org on 2015/11/29 12:59:56 UTC
svn commit: r1717050 -
/manifoldcf/trunk/connectors/confluence/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/confluence/model/builder/ConfluenceResourceBuilder.java
Author: kwright
Date: Sun Nov 29 11:59:56 2015
New Revision: 1717050
URL: http://svn.apache.org/viewvc?rev=1717050&view=rev
Log:
Reformat as per MCF standards
Modified:
manifoldcf/trunk/connectors/confluence/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/confluence/model/builder/ConfluenceResourceBuilder.java
Modified: manifoldcf/trunk/connectors/confluence/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/confluence/model/builder/ConfluenceResourceBuilder.java
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/connectors/confluence/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/confluence/model/builder/ConfluenceResourceBuilder.java?rev=1717050&r1=1717049&r2=1717050&view=diff
==============================================================================
--- manifoldcf/trunk/connectors/confluence/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/confluence/model/builder/ConfluenceResourceBuilder.java (original)
+++ manifoldcf/trunk/connectors/confluence/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/confluence/model/builder/ConfluenceResourceBuilder.java Sun Nov 29 11:59:56 2015
@@ -28,23 +28,23 @@ import org.json.JSONObject;
*/
public interface ConfluenceResourceBuilder<T extends ConfluenceResource> {
- /**
- * <p>Creates a <T> instance from a JSON representation
- * @param jsonDocument
- * @return T instance
- */
- T fromJson(JSONObject jsonDocument);
-
- /**
- * <p>Populates the given <T> instance from a JSON representation and return it</p>
- * @param jsonDocument
- * @return T instance
- */
- T fromJson(JSONObject jsonDocument, T document);
-
- /**
- * <p>Returns the Class of the resource that can be built</p>
- * @return the type Class<T> of the resource which can be built by this builder
- */
- Class<T> getType();
+ /**
+ * <p>Creates a <T> instance from a JSON representation
+ * @param jsonDocument
+ * @return T instance
+ */
+ T fromJson(JSONObject jsonDocument);
+
+ /**
+ * <p>Populates the given <T> instance from a JSON representation and return it</p>
+ * @param jsonDocument
+ * @return T instance
+ */
+ T fromJson(JSONObject jsonDocument, T document);
+
+ /**
+ * <p>Returns the Class of the resource that can be built</p>
+ * @return the type Class<T> of the resource which can be built by this builder
+ */
+ Class<T> getType();
}