cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1044300 - /cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/builder/PipelineBuilder.java
Date Fri, 10 Dec 2010 11:29:43 GMT
Author: simonetripodi
Date: Fri Dec 10 11:29:43 2010
New Revision: 1044300

URL: http://svn.apache.org/viewvc?rev=1044300&view=rev
Log:
no needs to define builder impls by extension

Modified:
    cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/builder/PipelineBuilder.java

Modified: cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/builder/PipelineBuilder.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/builder/PipelineBuilder.java?rev=1044300&r1=1044299&r2=1044300&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/builder/PipelineBuilder.java
(original)
+++ cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/builder/PipelineBuilder.java
Fri Dec 10 11:29:43 2010
@@ -34,30 +34,30 @@ import org.apache.cocoon.pipeline.compon
  * @param <PC> the {@link PipelineComponent} type.
  * @version $Id$
  */
-public class PipelineBuilder<PC extends PipelineComponent> implements LinkedPipelineBuilder<PC>
{
+public final class PipelineBuilder<PC extends PipelineComponent> implements LinkedPipelineBuilder<PC>
{
 
     /**
      * {@inheritDoc}
      */
-    public final LinkedPipelineStarterBuilder<PC> newAsyncCachePipeline() {
+    public LinkedPipelineStarterBuilder<PC> newAsyncCachePipeline() {
         return this.newPipeline(new AsyncCachePipeline<PC>());
     }
 
     /**
      * {@inheritDoc}
      */
-    public final LinkedPipelineStarterBuilder<PC> newCachingPipeline() {
+    public LinkedPipelineStarterBuilder<PC> newCachingPipeline() {
         return this.newPipeline(new CachingPipeline<PC>());
     }
 
     /**
      * {@inheritDoc}
      */
-    public final LinkedPipelineStarterBuilder<PC> newNonCachingPipeline() {
+    public LinkedPipelineStarterBuilder<PC> newNonCachingPipeline() {
         return this.newPipeline(new NonCachingPipeline<PC>());
     }
 
-    protected LinkedPipelineStarterBuilder<PC> newPipeline(final Pipeline<PC>
pipeline) {
+    private LinkedPipelineStarterBuilder<PC> newPipeline(final Pipeline<PC> pipeline)
{
         return new LinkedPipelineStarterBuilder<PC>() {
 
             public LinkedPipelineComponentBuilder<PC> setStarter(final PC starter)
{



Mime
View raw message