brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From henev...@apache.org
Subject [05/11] brooklyn-server git commit: remove commented out and no-longer needed ValueResolver.execImmediately method
Date Mon, 20 Mar 2017 15:57:30 GMT
remove commented out and no-longer needed ValueResolver.execImmediately method


Project: http://git-wip-us.apache.org/repos/asf/brooklyn-server/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-server/commit/ccc80485
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-server/tree/ccc80485
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-server/diff/ccc80485

Branch: refs/heads/master
Commit: ccc80485c551dd132763dbc37306b95ca20f240c
Parents: ce094d7
Author: Alex Heneveld <alex.heneveld@cloudsoftcorp.com>
Authored: Fri Mar 3 16:20:17 2017 +0000
Committer: Alex Heneveld <alex.heneveld@cloudsoftcorp.com>
Committed: Fri Mar 3 16:20:17 2017 +0000

----------------------------------------------------------------------
 .../brooklyn/util/core/task/ValueResolver.java       | 15 ---------------
 1 file changed, 15 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/ccc80485/core/src/main/java/org/apache/brooklyn/util/core/task/ValueResolver.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/brooklyn/util/core/task/ValueResolver.java b/core/src/main/java/org/apache/brooklyn/util/core/task/ValueResolver.java
index c5316fc..e98bb92 100644
--- a/core/src/main/java/org/apache/brooklyn/util/core/task/ValueResolver.java
+++ b/core/src/main/java/org/apache/brooklyn/util/core/task/ValueResolver.java
@@ -562,21 +562,6 @@ public class ValueResolver<T> implements DeferredSupplier<T>,
Iterable<Maybe<Obj
         }
     }
 
-//    /** tries to get immediately, then resolve recursively (including for casting) if {@link
#recursive} is set
-//     * 
-//     * @throws InterruptingImmediateSupplier.InterruptingImmediateSupplierNotSupportedForObject
-//     * ImmediateSupplier.ImmediateUnsupportedException
-//     * if underlying call to {@link ExecutionContext#getImmediately(Object)} does so */
-//    protected Maybe<T> execImmediate(ExecutionContext exec, Object immediateSupplierOrImmediateTask)
{
-//        Maybe<T> result = exec.getImmediately(immediateSupplierOrImmediateTask);
-//        
-//        return (result.isPresent())
-//            ? recursive
-//                ? new ValueResolver<T>(result.get(), type, this).getMaybe()
-//                    : result
-//                    : result;
-//    }
-
     protected String getDescription() {
         return description!=null ? description : ""+value;
     }


Mime
View raw message