accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ctubb...@apache.org
Subject git commit: ACCUMULO-1644 Remove unused code
Date Tue, 06 Aug 2013 21:39:07 GMT
Updated Branches:
  refs/heads/master 7c2eed584 -> 573445599


ACCUMULO-1644 Remove unused code


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

Branch: refs/heads/master
Commit: 5734455999ad7e995981afa98ab6e4d2d842d430
Parents: 7c2eed5
Author: Christopher Tubbs <ctubbsii@apache.org>
Authored: Tue Aug 6 17:38:42 2013 -0400
Committer: Christopher Tubbs <ctubbsii@apache.org>
Committed: Tue Aug 6 17:38:42 2013 -0400

----------------------------------------------------------------------
 .../accumulo/server/util/time/TestTime.java     | 35 --------------------
 1 file changed, 35 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/57344559/server/src/main/java/org/apache/accumulo/server/util/time/TestTime.java
----------------------------------------------------------------------
diff --git a/server/src/main/java/org/apache/accumulo/server/util/time/TestTime.java b/server/src/main/java/org/apache/accumulo/server/util/time/TestTime.java
deleted file mode 100644
index f7cde60..0000000
--- a/server/src/main/java/org/apache/accumulo/server/util/time/TestTime.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.accumulo.server.util.time;
-
-import org.apache.log4j.Logger;
-
-public class TestTime extends BaseRelativeTime {
-  final long offset;
-  private static Logger log = Logger.getLogger(TestTime.class);
-  
-  public TestTime(long millis) {
-    super(new SystemTime());
-    offset = millis;
-  }
-  
-  @Override
-  public long currentTime() {
-    log.debug("Using time offset of " + offset);
-    return super.currentTime() + offset;
-  }
-}


Mime
View raw message