polygene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nic...@apache.org
Subject zest-java git commit: toString() implementation in ZestEntityRestlet.
Date Mon, 09 Nov 2015 13:30:03 GMT
Repository: zest-java
Updated Branches:
  refs/heads/develop 63b0aad04 -> 82648d618


toString() implementation in ZestEntityRestlet.


Project: http://git-wip-us.apache.org/repos/asf/zest-java/repo
Commit: http://git-wip-us.apache.org/repos/asf/zest-java/commit/82648d61
Tree: http://git-wip-us.apache.org/repos/asf/zest-java/tree/82648d61
Diff: http://git-wip-us.apache.org/repos/asf/zest-java/diff/82648d61

Branch: refs/heads/develop
Commit: 82648d6183282a7156febdce9d0260e6f7592fe3
Parents: 63b0aad
Author: Niclas Hedhman <niclas@hedhman.org>
Authored: Mon Nov 9 21:29:44 2015 +0800
Committer: Niclas Hedhman <niclas@hedhman.org>
Committed: Mon Nov 9 21:29:44 2015 +0800

----------------------------------------------------------------------
 .../org/apache/zest/library/restlet/ZestEntityRestlet.java     | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/zest-java/blob/82648d61/libraries/restlet/src/main/java/org/apache/zest/library/restlet/ZestEntityRestlet.java
----------------------------------------------------------------------
diff --git a/libraries/restlet/src/main/java/org/apache/zest/library/restlet/ZestEntityRestlet.java
b/libraries/restlet/src/main/java/org/apache/zest/library/restlet/ZestEntityRestlet.java
index f96e736..54ac385 100644
--- a/libraries/restlet/src/main/java/org/apache/zest/library/restlet/ZestEntityRestlet.java
+++ b/libraries/restlet/src/main/java/org/apache/zest/library/restlet/ZestEntityRestlet.java
@@ -302,4 +302,10 @@ public class ZestEntityRestlet<T extends Identity> extends Restlet
             throw new ConversionException( request.getEntityAsText() );
         }
     }
+
+    @Override
+    public String toString()
+    {
+        return "ZestRestlet[" + identityType.getSimpleName() + ", " + resourceFactory +"]";
+    }
 }


Mime
View raw message