polygene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nic...@apache.org
Subject [13/33] polygene-java git commit: Restore CompositeModel.toString() to only show assembly type simple name
Date Tue, 23 May 2017 02:13:56 GMT
Restore CompositeModel.toString() to only show assembly type simple name

This makes it more concise and fixes both JMX library and Envisage tool


Project: http://git-wip-us.apache.org/repos/asf/polygene-java/repo
Commit: http://git-wip-us.apache.org/repos/asf/polygene-java/commit/3c3cb00d
Tree: http://git-wip-us.apache.org/repos/asf/polygene-java/tree/3c3cb00d
Diff: http://git-wip-us.apache.org/repos/asf/polygene-java/diff/3c3cb00d

Branch: refs/heads/yeoman-work
Commit: 3c3cb00d6cb117e141c8f91205fdd4f3c92b3db4
Parents: f2969af
Author: Paul Merlin <paulmerlin@apache.org>
Authored: Sun May 21 16:48:37 2017 +0200
Committer: Paul Merlin <paulmerlin@apache.org>
Committed: Sun May 21 16:48:37 2017 +0200

----------------------------------------------------------------------
 .../java/org/apache/polygene/runtime/composite/CompositeModel.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/polygene-java/blob/3c3cb00d/core/runtime/src/main/java/org/apache/polygene/runtime/composite/CompositeModel.java
----------------------------------------------------------------------
diff --git a/core/runtime/src/main/java/org/apache/polygene/runtime/composite/CompositeModel.java
b/core/runtime/src/main/java/org/apache/polygene/runtime/composite/CompositeModel.java
index be159bc..a33e243 100644
--- a/core/runtime/src/main/java/org/apache/polygene/runtime/composite/CompositeModel.java
+++ b/core/runtime/src/main/java/org/apache/polygene/runtime/composite/CompositeModel.java
@@ -286,6 +286,6 @@ public abstract class CompositeModel
     @Override
     public String toString()
     {
-        return types.toString();
+        return primaryType.getSimpleName();
     }
 }
\ No newline at end of file


Mime
View raw message