nifi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ald...@apache.org
Subject [3/4] incubator-nifi git commit: NIFI-463 - cleaning up formatting
Date Fri, 01 May 2015 14:21:55 GMT
NIFI-463 - cleaning up formatting


Project: http://git-wip-us.apache.org/repos/asf/incubator-nifi/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-nifi/commit/6fc823e0
Tree: http://git-wip-us.apache.org/repos/asf/incubator-nifi/tree/6fc823e0
Diff: http://git-wip-us.apache.org/repos/asf/incubator-nifi/diff/6fc823e0

Branch: refs/heads/develop
Commit: 6fc823e0fe87218051d932e40814a4548f13d470
Parents: 93f246a
Author: danbress <dbress@onyxconsults.com>
Authored: Fri May 1 07:58:28 2015 -0400
Committer: danbress <dbress@onyxconsults.com>
Committed: Fri May 1 07:58:28 2015 -0400

----------------------------------------------------------------------
 .../documentation/html/HtmlDocumentationWriter.java   | 14 +++++++-------
 .../example/FullyDocumentedControllerService.java     | 10 ++++------
 2 files changed, 11 insertions(+), 13 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/6fc823e0/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-documentation/src/main/java/org/apache/nifi/documentation/html/HtmlDocumentationWriter.java
----------------------------------------------------------------------
diff --git a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-documentation/src/main/java/org/apache/nifi/documentation/html/HtmlDocumentationWriter.java
b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-documentation/src/main/java/org/apache/nifi/documentation/html/HtmlDocumentationWriter.java
index 684261a..d7bad78 100644
--- a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-documentation/src/main/java/org/apache/nifi/documentation/html/HtmlDocumentationWriter.java
+++ b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-documentation/src/main/java/org/apache/nifi/documentation/html/HtmlDocumentationWriter.java
@@ -531,10 +531,10 @@ public class HtmlDocumentationWriter implements DocumentationWriter
{
         xmlStreamWriter.writeCharacters(text);
         xmlStreamWriter.writeEndElement();
     }
-    
+
     /**
      * Writes a link to another configurable component
-     * 
+     *
      * @param xmlStreamWriter the xml stream writer
      * @param clazz the configurable component to link to
      * @throws XMLStreamException thrown if there is a problem writing the XML
@@ -542,11 +542,11 @@ public class HtmlDocumentationWriter implements DocumentationWriter
{
     protected void writeLinkForComponent(final XMLStreamWriter xmlStreamWriter, final Class<?>
clazz) throws XMLStreamException {
         writeLink(xmlStreamWriter, clazz.getSimpleName(), "../" + clazz.getCanonicalName()
+ "/index.html");
     }
-    
+
     /**
-     * Uses the {@link ExtensionManager} to discover any {@link ControllerService} implementations
that implement a specific 
+     * Uses the {@link ExtensionManager} to discover any {@link ControllerService} implementations
that implement a specific
      * ControllerService API.
-     * 
+     *
      * @param parent the controller service API
      * @return a list of controller services that implement the controller service API
      */
@@ -554,10 +554,10 @@ public class HtmlDocumentationWriter implements DocumentationWriter
{
             final Class<? extends ControllerService> parent) {
 
         final List<Class<? extends ControllerService>> implementations = new
ArrayList<>();
-        
+
         // first get all ControllerService implementations
         final Set<Class> controllerServices = ExtensionManager.getExtensions(ControllerService.class);
-        
+
         // then iterate over all controller services looking for any that is a child of the
parent
         // ControllerService API that was passed in as a parameter
         for (final Class<? extends ControllerService> controllerServiceClass : controllerServices)
{

http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/6fc823e0/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-documentation/src/test/java/org/apache/nifi/documentation/example/FullyDocumentedControllerService.java
----------------------------------------------------------------------
diff --git a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-documentation/src/test/java/org/apache/nifi/documentation/example/FullyDocumentedControllerService.java
b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-documentation/src/test/java/org/apache/nifi/documentation/example/FullyDocumentedControllerService.java
index 45fb4a2..cd68267 100644
--- a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-documentation/src/test/java/org/apache/nifi/documentation/example/FullyDocumentedControllerService.java
+++ b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-documentation/src/test/java/org/apache/nifi/documentation/example/FullyDocumentedControllerService.java
@@ -55,10 +55,8 @@ public class FullyDocumentedControllerService extends AbstractControllerService
         return properties;
     }
 
-	@Override
-	public void doSomething() {
-		// TODO Auto-generated method stub
-		
-	}
-
+    @Override
+    public void doSomething() {
+        // TODO Auto-generated method stub
+    }
 }


Mime
View raw message