Merge "Refactor WorkflowAsyncResource"
authorChristophe Closset <cc697w@intl.att.com>
Sat, 3 Jun 2017 09:40:03 +0000 (09:40 +0000)
committerGerrit Code Review <gerrit@onap.org>
Sat, 3 Jun 2017 09:40:03 +0000 (09:40 +0000)
LICENSE.txt
bpmn/MSOCommonBPMN/src/main/java/org/openecomp/mso/bpmn/common/workflow/service/WorkflowContext.java

index cf1d4b6..c847859 100644 (file)
@@ -15,8 +15,6 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  * ============LICENSE_END============================================
- *
- * ECOMP and OpenECOMP are trademarks
- * and service marks of AT&T Intellectual Property.
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
  *
  */
\ No newline at end of file
index 3d7e333..93aa15c 100644 (file)
@@ -72,7 +72,7 @@ public class WorkflowContext implements Delayed {
        @Override\r
        public long getDelay(TimeUnit unit) {\r
                // 0 or negative means this object is considered to be expired\r
-               return unit.convert(startTime + timeout - System.currentTimeMillis(), unit);\r
+               return unit.convert(startTime + timeout - System.currentTimeMillis(), TimeUnit.MILLISECONDS);\r
        }\r
 \r
        /**\r