Repository: oodt Updated Branches: refs/heads/master 2fca19286 -> 20370f8bd
remove known null checks Project: http://git-wip-us.apache.org/repos/asf/oodt/repo Commit: http://git-wip-us.apache.org/repos/asf/oodt/commit/20370f8b Tree: http://git-wip-us.apache.org/repos/asf/oodt/tree/20370f8b Diff: http://git-wip-us.apache.org/repos/asf/oodt/diff/20370f8b Branch: refs/heads/master Commit: 20370f8bdc0bca3f05221c9b9ec7df8b68b0f178 Parents: 2fca192 Author: Tom Barber <[email protected]> Authored: Fri Oct 30 09:26:14 2015 +0000 Committer: Tom Barber <[email protected]> Committed: Fri Oct 30 09:26:14 2015 +0000 ---------------------------------------------------------------------- .../oodt/cas/catalog/repository/SerializedCatalogRepository.java | 4 +--- .../main/java/org/apache/oodt/cas/workflow/structs/Graph.java | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/oodt/blob/20370f8b/catalog/src/main/java/org/apache/oodt/cas/catalog/repository/SerializedCatalogRepository.java ---------------------------------------------------------------------- diff --git a/catalog/src/main/java/org/apache/oodt/cas/catalog/repository/SerializedCatalogRepository.java b/catalog/src/main/java/org/apache/oodt/cas/catalog/repository/SerializedCatalogRepository.java index 21964a6..9d9b757 100644 --- a/catalog/src/main/java/org/apache/oodt/cas/catalog/repository/SerializedCatalogRepository.java +++ b/catalog/src/main/java/org/apache/oodt/cas/catalog/repository/SerializedCatalogRepository.java @@ -16,7 +16,7 @@ */ package org.apache.oodt.cas.catalog.repository; -//JDK imports + import org.apache.commons.io.FileUtils; import org.apache.oodt.cas.catalog.exception.CatalogRepositoryException; import org.apache.oodt.cas.catalog.system.Catalog; @@ -33,8 +33,6 @@ import java.util.Set; import java.util.logging.Level; import java.util.logging.Logger; -//APACHE imports -//OODT imports /** * @author bfoster http://git-wip-us.apache.org/repos/asf/oodt/blob/20370f8b/workflow/src/main/java/org/apache/oodt/cas/workflow/structs/Graph.java ---------------------------------------------------------------------- diff --git a/workflow/src/main/java/org/apache/oodt/cas/workflow/structs/Graph.java b/workflow/src/main/java/org/apache/oodt/cas/workflow/structs/Graph.java index 8daa2c2..862f447 100644 --- a/workflow/src/main/java/org/apache/oodt/cas/workflow/structs/Graph.java +++ b/workflow/src/main/java/org/apache/oodt/cas/workflow/structs/Graph.java @@ -113,7 +113,7 @@ public class Graph { throw new WorkflowException("Unsupported execution type id '" + this.executionType + "'"); - if (!checkValue(this.modelId) && !checkValue(this.modelIdRef)) {r + if (!checkValue(this.modelId) && !checkValue(this.modelIdRef)) { this.modelId = UUID.randomUUID().toString(); }
