polygene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nic...@apache.org
Subject [1/2] polygene-java git commit: Missed a compile error...
Date Sat, 25 Feb 2017 05:53:10 GMT
Repository: polygene-java
Updated Branches:
  refs/heads/develop e34dad331 -> 3dd420127


Missed a compile error...


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

Branch: refs/heads/develop
Commit: 1451f9aaa89d15d686e4b214dc5396924189e5cb
Parents: e34dad3
Author: niclas <niclas@spicter.com>
Authored: Sat Feb 25 13:49:16 2017 +0800
Committer: niclas <niclas@spicter.com>
Committed: Sat Feb 25 13:49:16 2017 +0800

----------------------------------------------------------------------
 .../main/java/org/apache/polygene/spi/metrics/DefaultMetric.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/polygene-java/blob/1451f9aa/core/spi/src/main/java/org/apache/polygene/spi/metrics/DefaultMetric.java
----------------------------------------------------------------------
diff --git a/core/spi/src/main/java/org/apache/polygene/spi/metrics/DefaultMetric.java b/core/spi/src/main/java/org/apache/polygene/spi/metrics/DefaultMetric.java
index 43250c8..91ea9fc 100644
--- a/core/spi/src/main/java/org/apache/polygene/spi/metrics/DefaultMetric.java
+++ b/core/spi/src/main/java/org/apache/polygene/spi/metrics/DefaultMetric.java
@@ -76,7 +76,7 @@ public final class DefaultMetric
     public Result check()
         throws Exception
     {
-        return new Result( true, "No checks", null );
+        return  Result.healthOk();
     }
 
     @Override


Mime
View raw message