* 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
@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