eagle-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From qingwz...@apache.org
Subject eagle git commit: [MINOR] fix compile error
Date Mon, 10 Jul 2017 08:19:57 GMT
Repository: eagle
Updated Branches:
  refs/heads/master d0f07ae3e -> 16c037b08


[MINOR] fix compile error

Author: Zhao, Qingwen <qingwzhao@apache.org>

Closes #962 from qingwen220/minor.


Project: http://git-wip-us.apache.org/repos/asf/eagle/repo
Commit: http://git-wip-us.apache.org/repos/asf/eagle/commit/16c037b0
Tree: http://git-wip-us.apache.org/repos/asf/eagle/tree/16c037b0
Diff: http://git-wip-us.apache.org/repos/asf/eagle/diff/16c037b0

Branch: refs/heads/master
Commit: 16c037b080a4ab410125663677ea1229c69a3582
Parents: d0f07ae
Author: Zhao, Qingwen <qingwzhao@apache.org>
Authored: Mon Jul 10 16:19:52 2017 +0800
Committer: Zhao, Qingwen <qingwzhao@apache.org>
Committed: Mon Jul 10 16:19:52 2017 +0800

----------------------------------------------------------------------
 .../java/org/apache/eagle/metadata/resource/PolicyResource.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/eagle/blob/16c037b0/eagle-core/eagle-metadata/eagle-metadata-base/src/main/java/org/apache/eagle/metadata/resource/PolicyResource.java
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-metadata/eagle-metadata-base/src/main/java/org/apache/eagle/metadata/resource/PolicyResource.java
b/eagle-core/eagle-metadata/eagle-metadata-base/src/main/java/org/apache/eagle/metadata/resource/PolicyResource.java
index 3b3dba9..13041cf 100644
--- a/eagle-core/eagle-metadata/eagle-metadata-base/src/main/java/org/apache/eagle/metadata/resource/PolicyResource.java
+++ b/eagle-core/eagle-metadata/eagle-metadata-base/src/main/java/org/apache/eagle/metadata/resource/PolicyResource.java
@@ -103,7 +103,7 @@ public class PolicyResource {
             policyEntity.setDefinition(policyDefinition);
 
             List<Publishment> alertPublishments = metadataResource.getPolicyPublishments(policyId);
-            if (alertPublishments != null && !alertPublishments.isEmpty()){
+            if (alertPublishments != null && !alertPublishments.isEmpty()) {
                 List<String> alertPublisherIds = new ArrayList<>();
                 for (Publishment publishment : alertPublishments) {
                     alertPublisherIds.add(publishment.getName());


Mime
View raw message