polygene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nic...@apache.org
Subject [11/14] zest-qi4j git commit: Removed a lot of System.out and System.err noise, which should be output.
Date Tue, 09 Jun 2015 23:58:09 GMT
Removed a lot of System.out and System.err noise, which should be output.


Project: http://git-wip-us.apache.org/repos/asf/zest-qi4j/repo
Commit: http://git-wip-us.apache.org/repos/asf/zest-qi4j/commit/6bce6f81
Tree: http://git-wip-us.apache.org/repos/asf/zest-qi4j/tree/6bce6f81
Diff: http://git-wip-us.apache.org/repos/asf/zest-qi4j/diff/6bce6f81

Branch: refs/heads/develop
Commit: 6bce6f81a0fe6669bb969298be9cd589cdda355f
Parents: 4214bb4
Author: Niclas Hedhman <niclas@hedhman.org>
Authored: Wed Jun 3 17:28:47 2015 +0800
Committer: Niclas Hedhman <niclas@hedhman.org>
Committed: Wed Jun 3 17:28:47 2015 +0800

----------------------------------------------------------------------
 .../ApplicationPassivationThread.java           |  3 +--
 .../association/NamedAssociationsModel.java     |  6 -----
 .../qi4j/spi/value/ValueSerializerAdapter.java  |  1 -
 .../qi4j/entitystore/gae/GaeEntityState.java    | 24 --------------------
 .../entitystore/gae/GaeEntityStoreMixin.java    |  1 -
 .../entitystore/gae2/GaeEntityStoreMixin.java   |  9 --------
 .../support/skeletons/AbstractSQLStartup.java   |  1 -
 .../org/qi4j/library/appbrowser/Browser.java    |  1 -
 .../qi4j/library/appbrowser/AppBrowserTest.java |  1 -
 .../qi4j/library/http/dns/LocalManagedDns.java  |  1 -
 .../org/qi4j/logging/debug/DebugConcern.java    |  6 -----
 .../qi4j/library/scheduler/SchedulerMixin.java  |  3 ---
 .../pathfinder_b/internal/GraphDAO.java         |  4 ----
 .../internal/GraphTraversalServiceImpl.java     |  4 ----
 .../src/main/java/org/qi4j/envisage/Main.java   |  1 -
 .../java/org/qi4j/envisage/graph/GraphPane.java |  2 --
 .../org/qi4j/envisage/graph/StackedLayout.java  |  2 --
 .../java/org/qi4j/envisage/print/PDFWriter.java |  2 --
 .../org/qi4j/envisage/tree/TreeModelPane.java   |  1 -
 19 files changed, 1 insertion(+), 72 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/6bce6f81/core/api/src/main/java/org/qi4j/api/activation/ApplicationPassivationThread.java
----------------------------------------------------------------------
diff --git a/core/api/src/main/java/org/qi4j/api/activation/ApplicationPassivationThread.java
b/core/api/src/main/java/org/qi4j/api/activation/ApplicationPassivationThread.java
index a83ab2f..62b1f67 100644
--- a/core/api/src/main/java/org/qi4j/api/activation/ApplicationPassivationThread.java
+++ b/core/api/src/main/java/org/qi4j/api/activation/ApplicationPassivationThread.java
@@ -102,8 +102,7 @@ public final class ApplicationPassivationThread
                 }
                 else
                 {
-                    System.err.println( message );
-                    ex.printStackTrace( System.err );
+                    ex.printStackTrace();
                 }
             }
         }

http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/6bce6f81/core/runtime/src/main/java/org/qi4j/runtime/association/NamedAssociationsModel.java
----------------------------------------------------------------------
diff --git a/core/runtime/src/main/java/org/qi4j/runtime/association/NamedAssociationsModel.java
b/core/runtime/src/main/java/org/qi4j/runtime/association/NamedAssociationsModel.java
index 9ba63f5..4f3fac5 100644
--- a/core/runtime/src/main/java/org/qi4j/runtime/association/NamedAssociationsModel.java
+++ b/core/runtime/src/main/java/org/qi4j/runtime/association/NamedAssociationsModel.java
@@ -89,12 +89,6 @@ public final class NamedAssociationsModel
         {
             throw new IllegalArgumentException( "No named-association found with name:" +
( (Member) accessor ).getName() );
         }
-        System.out.println( "######################################################################"
);
-        System.out.println( "GET NAMED ASSOCIATION" );
-        System.out.println( "\tupon: " + mapAccessorAssociationModel );
-        System.out.println( "\tfor:  " + accessor );
-        System.out.println( "\treturn: "+namedAssociationModel );
-        System.out.println( "######################################################################"
);
         return namedAssociationModel;
     }
 

http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/6bce6f81/core/spi/src/main/java/org/qi4j/spi/value/ValueSerializerAdapter.java
----------------------------------------------------------------------
diff --git a/core/spi/src/main/java/org/qi4j/spi/value/ValueSerializerAdapter.java b/core/spi/src/main/java/org/qi4j/spi/value/ValueSerializerAdapter.java
index 5345414..9c68bbd 100644
--- a/core/spi/src/main/java/org/qi4j/spi/value/ValueSerializerAdapter.java
+++ b/core/spi/src/main/java/org/qi4j/spi/value/ValueSerializerAdapter.java
@@ -328,7 +328,6 @@ public abstract class ValueSerializerAdapter<OutputType>
     {
         if( object != null )
         {
-            // System.out.println( ">>>>>>>>>>>> " +
( object == null ? "null" : object.getClass() ) );
             if( serializers.get( object.getClass() ) != null )
             {
                 // Plain Value

http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/6bce6f81/extensions/entitystore-gae/src/main/java/org/qi4j/entitystore/gae/GaeEntityState.java
----------------------------------------------------------------------
diff --git a/extensions/entitystore-gae/src/main/java/org/qi4j/entitystore/gae/GaeEntityState.java
b/extensions/entitystore-gae/src/main/java/org/qi4j/entitystore/gae/GaeEntityState.java
index 0848a54..a694c32 100644
--- a/extensions/entitystore-gae/src/main/java/org/qi4j/entitystore/gae/GaeEntityState.java
+++ b/extensions/entitystore-gae/src/main/java/org/qi4j/entitystore/gae/GaeEntityState.java
@@ -62,7 +62,6 @@ public class GaeEntityState
                            EntityDescriptor descriptor,
                            Module module )
     {
-        System.out.println( "GaeEntityState( " + unitOfWork + ", " + key + ", " + descriptor
+ " )" );
         this.module = module;
         this.unitOfWork = unitOfWork;
         this.valueSerialization = valueSerialization;
@@ -71,11 +70,6 @@ public class GaeEntityState
         entity.setProperty( "$version", unitOfWork.identity() );
         Class type = first( descriptor.types() );
         String name = type.getName();
-        System.out.println( "New Entity\n" +
-                            "    descriptor:" + descriptor + "\n  " +
-                            "    entityType:" + name + "\n  " +
-                            "    name:" + name + "\n  "
-        );
         entity.setUnindexedProperty( PROPERTY_TYPE, name );
         status = EntityStatus.NEW;
         valueTypes = initializeValueTypes( descriptor );
@@ -86,7 +80,6 @@ public class GaeEntityState
                            Entity entity,
                            Module module )
     {
-        System.out.println( "GaeEntityState( " + unitOfWork + ", " + entity + " )" );
         if( entity == null )
         {
             throw new NullPointerException();
@@ -100,7 +93,6 @@ public class GaeEntityState
         this.valueSerialization = valueSerialization;
         this.entity = entity;
         String typeName = (String) entity.getProperty( GaeEntityState.PROPERTY_TYPE );
-        System.out.println( "LOADING [" + typeName + "]" );
         descriptor = module.entityDescriptor( typeName );
         status = EntityStatus.LOADED;
         valueTypes = initializeValueTypes( descriptor );
@@ -122,7 +114,6 @@ public class GaeEntityState
 
     Entity entity()
     {
-        System.out.println( "entity()  -->  " + entity );
         return entity;
     }
 
@@ -130,7 +121,6 @@ public class GaeEntityState
     public EntityReference identity()
     {
         EntityReference ref = new EntityReference( entity.getKey().getName() );
-        System.out.println( "identity()  -->  " + ref );
         return ref;
     }
 
@@ -138,7 +128,6 @@ public class GaeEntityState
     public String version()
     {
         String version = (String) entity.getProperty( "$version" );
-        System.out.println( "version()  -->  " + version );
         return version;
     }
 
@@ -146,35 +135,30 @@ public class GaeEntityState
     public long lastModified()
     {
         Long lastModified = (Long) entity.getProperty( "$lastModified" );
-        System.out.println( "lastModified()  -->  " + lastModified );
         return lastModified;
     }
 
     @Override
     public void remove()
     {
-        System.out.println( "remove()" );
         status = EntityStatus.REMOVED;
     }
 
     @Override
     public EntityStatus status()
     {
-        System.out.println( "status()  -->  " + status );
         return status;
     }
 
     @Override
     public boolean isAssignableTo( Class<?> type )
     {
-        System.out.println( "isAssignableTo( " + type + " )  -->  false" );
         return false;
     }
 
     @Override
     public EntityDescriptor entityDescriptor()
     {
-        System.out.println( "entityDescriptor()  -->  " + descriptor );
         return descriptor;
     }
 
@@ -207,14 +191,12 @@ public class GaeEntityState
                 throw error;
             }
         }
-        System.out.println( "getProperty( " + stateName + " )  -->  " + uri + "=" + value
);
         return value;
     }
 
     @Override
     public void setPropertyValue( QualifiedName stateName, Object newValue )
     {
-        System.out.println( "setProperty( " + stateName + ", " + newValue + " )" );
         Object value = null;
         if( newValue == null || ValueType.isPrimitiveValue( newValue ) )
         {
@@ -250,7 +232,6 @@ public class GaeEntityState
     {
         String uri = stateName.toURI();
         String identity = (String) entity.getProperty( uri );
-        System.out.println( "association( " + stateName + " )  -->  " + uri + " = " +
identity );
         EntityReference ref = new EntityReference( identity );
         return ref;
     }
@@ -258,7 +239,6 @@ public class GaeEntityState
     @Override
     public void setAssociationValue( QualifiedName stateName, EntityReference newEntity )
     {
-        System.out.println( "setAssociation( " + stateName + ", " + newEntity + " )" );
         String uri = stateName.toURI();
         String id = null;
         if( newEntity != null )
@@ -286,7 +266,6 @@ public class GaeEntityState
 
     public void hasBeenApplied()
     {
-        System.out.println( "hasBeenApplied()" );
         status = EntityStatus.LOADED;
     }
 
@@ -324,10 +303,7 @@ public class GaeEntityState
         @Override
         public boolean add( int index, EntityReference entityReference )
         {
-            System.out.println( "NICLAS::" + entityReference );
             String identity = entityReference.identity();
-            System.out.println( "NICLAS::" + identity );
-            System.out.println( "NICLAS::" + assocs );
             if( assocs.contains( identity ) )
             {
                 return false;

http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/6bce6f81/extensions/entitystore-gae/src/main/java/org/qi4j/entitystore/gae/GaeEntityStoreMixin.java
----------------------------------------------------------------------
diff --git a/extensions/entitystore-gae/src/main/java/org/qi4j/entitystore/gae/GaeEntityStoreMixin.java
b/extensions/entitystore-gae/src/main/java/org/qi4j/entitystore/gae/GaeEntityStoreMixin.java
index e4b591d..1986032 100644
--- a/extensions/entitystore-gae/src/main/java/org/qi4j/entitystore/gae/GaeEntityStoreMixin.java
+++ b/extensions/entitystore-gae/src/main/java/org/qi4j/entitystore/gae/GaeEntityStoreMixin.java
@@ -47,7 +47,6 @@ public class GaeEntityStoreMixin
    public GaeEntityStoreMixin( @Service IdentityGenerator uuid,
                                @Service @Tagged( ValueSerialization.Formats.JSON ) ValueSerialization
valueSerialization )
    {
-      System.out.println("Initializing GAE EntityStore.");
       this.uuid = uuid.generate(Identity.class) + ":";
       this.valueSerialization = valueSerialization;
       counter = 0L;

http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/6bce6f81/extensions/entitystore-gae/src/main/java/org/qi4j/entitystore/gae2/GaeEntityStoreMixin.java
----------------------------------------------------------------------
diff --git a/extensions/entitystore-gae/src/main/java/org/qi4j/entitystore/gae2/GaeEntityStoreMixin.java
b/extensions/entitystore-gae/src/main/java/org/qi4j/entitystore/gae2/GaeEntityStoreMixin.java
index 88c1556..4721ada 100644
--- a/extensions/entitystore-gae/src/main/java/org/qi4j/entitystore/gae2/GaeEntityStoreMixin.java
+++ b/extensions/entitystore-gae/src/main/java/org/qi4j/entitystore/gae2/GaeEntityStoreMixin.java
@@ -75,15 +75,6 @@ public class GaeEntityStoreMixin
                 .deadline( conf.deadline().get() );
         datastore = DatastoreServiceFactory.getDatastoreService( configuration );
         entityKind = conf.entityKind().get();
-        System.out.println( "\nActivating Google App Engine Store" +
-                            "\n----------------------------------" +
-                            "\n      Read Policy: " + conf.readPolicy().get() +
-                            "\n         Deadline: " + conf.deadline().get() +
-                            "\n      Entity Kind: " + entityKind +
-                            "\n        Datastore: " + datastore +
-                            "\n    Configuration: " + configuration +
-                            "\n"
-        );
     }
 
     @Override

http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/6bce6f81/extensions/indexing-sql/src/main/java/org/qi4j/index/sql/support/skeletons/AbstractSQLStartup.java
----------------------------------------------------------------------
diff --git a/extensions/indexing-sql/src/main/java/org/qi4j/index/sql/support/skeletons/AbstractSQLStartup.java
b/extensions/indexing-sql/src/main/java/org/qi4j/index/sql/support/skeletons/AbstractSQLStartup.java
index ddb2041..5d35236 100644
--- a/extensions/indexing-sql/src/main/java/org/qi4j/index/sql/support/skeletons/AbstractSQLStartup.java
+++ b/extensions/indexing-sql/src/main/java/org/qi4j/index/sql/support/skeletons/AbstractSQLStartup.java
@@ -1486,7 +1486,6 @@ public abstract class AbstractSQLStartup
         if( !newQNames.contains( qName ) && !qName.name().equals( Identity.class.getName()
) )
         {
             newQNames.add( qName );
-            // System.out.println("QName: " + qName + ", hc: " + qName.hashCode());
             QNameInfo info = qNameInfos.get( qName );
             if( info == null )
             {

http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/6bce6f81/libraries/appbrowser/src/main/java/org/qi4j/library/appbrowser/Browser.java
----------------------------------------------------------------------
diff --git a/libraries/appbrowser/src/main/java/org/qi4j/library/appbrowser/Browser.java b/libraries/appbrowser/src/main/java/org/qi4j/library/appbrowser/Browser.java
index 0282253..4d91a2b 100644
--- a/libraries/appbrowser/src/main/java/org/qi4j/library/appbrowser/Browser.java
+++ b/libraries/appbrowser/src/main/java/org/qi4j/library/appbrowser/Browser.java
@@ -36,7 +36,6 @@ public class Browser
                 }
                 try
                 {
-                    System.out.println(visited.getClass().getName());
                     formatter.enter( visited );
                 }
                 catch( JSONException e )

http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/6bce6f81/libraries/appbrowser/src/test/java/org/qi4j/library/appbrowser/AppBrowserTest.java
----------------------------------------------------------------------
diff --git a/libraries/appbrowser/src/test/java/org/qi4j/library/appbrowser/AppBrowserTest.java
b/libraries/appbrowser/src/test/java/org/qi4j/library/appbrowser/AppBrowserTest.java
index 00ed41e..acb239b 100644
--- a/libraries/appbrowser/src/test/java/org/qi4j/library/appbrowser/AppBrowserTest.java
+++ b/libraries/appbrowser/src/test/java/org/qi4j/library/appbrowser/AppBrowserTest.java
@@ -41,7 +41,6 @@ public class AppBrowserTest extends AbstractQi4jTest
         FormatterFactory jsonFactory = new JsonFormatterFactory( output );
         Browser browser = new Browser( applicationModel, jsonFactory );
         browser.toJson();
-        System.out.println( output.toString() );
     }
 
     @Mixins( Person.Mixin.class )

http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/6bce6f81/libraries/http/src/test/java/org/qi4j/library/http/dns/LocalManagedDns.java
----------------------------------------------------------------------
diff --git a/libraries/http/src/test/java/org/qi4j/library/http/dns/LocalManagedDns.java b/libraries/http/src/test/java/org/qi4j/library/http/dns/LocalManagedDns.java
index e411257..0fd6dc8 100644
--- a/libraries/http/src/test/java/org/qi4j/library/http/dns/LocalManagedDns.java
+++ b/libraries/http/src/test/java/org/qi4j/library/http/dns/LocalManagedDns.java
@@ -64,7 +64,6 @@ public class LocalManagedDns
             log += " on non-managed name (" + name + ")";
             result = DEFAULT_DNS.lookupAllHostAddr( name );
         }
-        System.out.println( log + " will return: " + Arrays.toString( result ) );
         return result;
     }
 

http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/6bce6f81/libraries/logging/src/main/java/org/qi4j/logging/debug/DebugConcern.java
----------------------------------------------------------------------
diff --git a/libraries/logging/src/main/java/org/qi4j/logging/debug/DebugConcern.java b/libraries/logging/src/main/java/org/qi4j/logging/debug/DebugConcern.java
index 4823248..8158d08 100644
--- a/libraries/logging/src/main/java/org/qi4j/logging/debug/DebugConcern.java
+++ b/libraries/logging/src/main/java/org/qi4j/logging/debug/DebugConcern.java
@@ -33,11 +33,6 @@ public class DebugConcern
     @Optional @Service private DebuggingService loggingService;
     @This private Composite composite;
 
-    public DebugConcern()
-    {
-        System.out.println( "DebugConcern created." );
-    }
-
     @Override
     public Integer debugLevel()
     {
@@ -51,7 +46,6 @@ public class DebugConcern
     @Override
     public void debug( int priority, String message )
     {
-        System.out.println( "L:" + composite );
         if( loggingService == null )
         {
             return;

http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/6bce6f81/libraries/scheduler/src/main/java/org/qi4j/library/scheduler/SchedulerMixin.java
----------------------------------------------------------------------
diff --git a/libraries/scheduler/src/main/java/org/qi4j/library/scheduler/SchedulerMixin.java
b/libraries/scheduler/src/main/java/org/qi4j/library/scheduler/SchedulerMixin.java
index 9058f45..02f3132 100644
--- a/libraries/scheduler/src/main/java/org/qi4j/library/scheduler/SchedulerMixin.java
+++ b/libraries/scheduler/src/main/java/org/qi4j/library/scheduler/SchedulerMixin.java
@@ -160,7 +160,6 @@ public class SchedulerMixin
                 {
                     return;
                 }
-                System.out.println( "Next run at: " + new DateTime( nextRun ) );
                 timingQueue.add( new ScheduleTime( schedule.identity().get(), nextRun ) );
                 if( scheduleHandler == null )
                 {
@@ -175,7 +174,6 @@ public class SchedulerMixin
                 {
                     return;
                 }
-                System.out.println( "Next run at: " + new DateTime( nextRun ) );
                 timingQueue.add( new ScheduleTime( schedule.identity().get(), nextRun ) );
                 ScheduleTime newFirst = timingQueue.first();
                 if( !first.equals( newFirst ) )
@@ -323,7 +321,6 @@ public class SchedulerMixin
         @Override
         public void run()
         {
-            System.out.println( "Running Schedule" );
             Usecase usecase = UsecaseBuilder.newUsecase( "ScheduleRunner" );
             UnitOfWork uow = module.newUnitOfWork( usecase );
             try

http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/6bce6f81/samples/dci-cargo/dcisample_b/src/main/java/org/qi4j/sample/dcicargo/pathfinder_b/internal/GraphDAO.java
----------------------------------------------------------------------
diff --git a/samples/dci-cargo/dcisample_b/src/main/java/org/qi4j/sample/dcicargo/pathfinder_b/internal/GraphDAO.java
b/samples/dci-cargo/dcisample_b/src/main/java/org/qi4j/sample/dcicargo/pathfinder_b/internal/GraphDAO.java
index 15e86ea..f1929d4 100644
--- a/samples/dci-cargo/dcisample_b/src/main/java/org/qi4j/sample/dcicargo/pathfinder_b/internal/GraphDAO.java
+++ b/samples/dci-cargo/dcisample_b/src/main/java/org/qi4j/sample/dcicargo/pathfinder_b/internal/GraphDAO.java
@@ -85,10 +85,6 @@ public class GraphDAO
             voyages.add( new TransitPath( transitEdges ) );
         }
 
-        // Output for testing...
-//        for (int i = 0; i < voyages.size(); i++)
-//            System.out.println( i + " " + voyages.get( i ).print() );
-
         return voyages;
     }
 

http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/6bce6f81/samples/dci-cargo/dcisample_b/src/main/java/org/qi4j/sample/dcicargo/pathfinder_b/internal/GraphTraversalServiceImpl.java
----------------------------------------------------------------------
diff --git a/samples/dci-cargo/dcisample_b/src/main/java/org/qi4j/sample/dcicargo/pathfinder_b/internal/GraphTraversalServiceImpl.java
b/samples/dci-cargo/dcisample_b/src/main/java/org/qi4j/sample/dcicargo/pathfinder_b/internal/GraphTraversalServiceImpl.java
index 2c59c53..9db0e44 100644
--- a/samples/dci-cargo/dcisample_b/src/main/java/org/qi4j/sample/dcicargo/pathfinder_b/internal/GraphTraversalServiceImpl.java
+++ b/samples/dci-cargo/dcisample_b/src/main/java/org/qi4j/sample/dcicargo/pathfinder_b/internal/GraphTraversalServiceImpl.java
@@ -68,10 +68,6 @@ public class GraphTraversalServiceImpl
             {
                 final List<TransitPath> voyages = getShuffledVoyages( dao.voyages()
);
 
-                // Output for testing...
-//                for (int i = 0; i < voyages.size(); i++)
-//                    System.out.println( i + " " + voyages.get( i ).print() );
-
                 for( TransitPath voyage : voyages )
                 {
                     if( depth >= voyage.getTransitEdges().size() )

http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/6bce6f81/tools/envisage/src/main/java/org/qi4j/envisage/Main.java
----------------------------------------------------------------------
diff --git a/tools/envisage/src/main/java/org/qi4j/envisage/Main.java b/tools/envisage/src/main/java/org/qi4j/envisage/Main.java
index a4d4674..83414c6 100644
--- a/tools/envisage/src/main/java/org/qi4j/envisage/Main.java
+++ b/tools/envisage/src/main/java/org/qi4j/envisage/Main.java
@@ -32,7 +32,6 @@ public class Main
         throws ClassNotFoundException, IllegalAccessException, InstantiationException, AssemblyException
     {
         String applicationAssemblerName = args[0];
-        System.out.println( "Assembler:" + applicationAssemblerName );
         Class applicationAssemblerClass = Class.forName( applicationAssemblerName );
         ApplicationAssembler assembler = (ApplicationAssembler) applicationAssemblerClass.newInstance();
 

http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/6bce6f81/tools/envisage/src/main/java/org/qi4j/envisage/graph/GraphPane.java
----------------------------------------------------------------------
diff --git a/tools/envisage/src/main/java/org/qi4j/envisage/graph/GraphPane.java b/tools/envisage/src/main/java/org/qi4j/envisage/graph/GraphPane.java
index 132985e..a94a814 100644
--- a/tools/envisage/src/main/java/org/qi4j/envisage/graph/GraphPane.java
+++ b/tools/envisage/src/main/java/org/qi4j/envisage/graph/GraphPane.java
@@ -130,8 +130,6 @@ public final class GraphPane
 
     private void graphItemLinkActivated( LinkEvent evt )
     {
-        //System.out.println("this is called");
-        //System.out.println(evt.getSource().getClass());
         if( evt.getSource().equals( treeDisplay ) )
         {
             stackedDisplay.setSelectedValue( evt.getObject() );

http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/6bce6f81/tools/envisage/src/main/java/org/qi4j/envisage/graph/StackedLayout.java
----------------------------------------------------------------------
diff --git a/tools/envisage/src/main/java/org/qi4j/envisage/graph/StackedLayout.java b/tools/envisage/src/main/java/org/qi4j/envisage/graph/StackedLayout.java
index 5d2795e..959f050 100644
--- a/tools/envisage/src/main/java/org/qi4j/envisage/graph/StackedLayout.java
+++ b/tools/envisage/src/main/java/org/qi4j/envisage/graph/StackedLayout.java
@@ -97,7 +97,6 @@ import prefuse.visual.NodeItem;
         int height = fm.getHeight();
         minSize.setSize( width + INSET + INSET, height + INSET + INSET );
 
-        //System.out.println(fm.getAscent());
         return minSize;
     }
 
@@ -110,7 +109,6 @@ import prefuse.visual.NodeItem;
 
         if( depth > zoom )
         {
-            //System.out.println("depth: " +  depth + "  zoom: " + zoom);
             node.setBounds( x, y, 0, 0 );
             node.setVisible( false );
         }

http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/6bce6f81/tools/envisage/src/main/java/org/qi4j/envisage/print/PDFWriter.java
----------------------------------------------------------------------
diff --git a/tools/envisage/src/main/java/org/qi4j/envisage/print/PDFWriter.java b/tools/envisage/src/main/java/org/qi4j/envisage/print/PDFWriter.java
index da95957..59e0d55 100644
--- a/tools/envisage/src/main/java/org/qi4j/envisage/print/PDFWriter.java
+++ b/tools/envisage/src/main/java/org/qi4j/envisage/print/PDFWriter.java
@@ -678,7 +678,6 @@ public class PDFWriter
         // check for page size, if necessary create new page
         if( ( curY - lineSpace ) <= startY )
         {
-            //System.out.println("new line: " + curY + " - " + lineSpace + " = " + (curY-lineSpace)
);
             createNewPage();
         }
 
@@ -725,7 +724,6 @@ public class PDFWriter
             curContentStream = new PDPageContentStream( doc, page );
 
             curPageSize = page.getArtBox();
-            //System.out.println("pSize: " + pdRect.getWidth() + "," + pdRect.getHeight());
 
             curContentStream.beginText();
             curY = curPageSize.getHeight() - startY;

http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/6bce6f81/tools/envisage/src/main/java/org/qi4j/envisage/tree/TreeModelPane.java
----------------------------------------------------------------------
diff --git a/tools/envisage/src/main/java/org/qi4j/envisage/tree/TreeModelPane.java b/tools/envisage/src/main/java/org/qi4j/envisage/tree/TreeModelPane.java
index 8d60aa8..591041e 100644
--- a/tools/envisage/src/main/java/org/qi4j/envisage/tree/TreeModelPane.java
+++ b/tools/envisage/src/main/java/org/qi4j/envisage/tree/TreeModelPane.java
@@ -176,7 +176,6 @@ public final class TreeModelPane
             return;
         }
 
-        //System.out.println(obj.toString());
         TreeNode node = findNode( structureTree, obj );
         if( node != null )
         {


Mime
View raw message