aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/skyframe/ConstantVersion.java
diff options
context:
space:
mode:
authorGravatar kush <kush@google.com>2017-07-20 03:35:43 +0200
committerGravatar Klaus Aehlig <aehlig@google.com>2017-07-20 10:31:08 +0200
commit9669b38e8ff80d198eb322dacec2daf544d991de (patch)
treeb9f65f8d2062e15ceaf89773fcd96c45dbfbcd1d /src/main/java/com/google/devtools/build/skyframe/ConstantVersion.java
parent7c1330304766449510455888047ef75158cb17b2 (diff)
Automated rollback of commit 6e72f78e1c2e573787ec862e671f3b3b4c33dc96.
*** Reason for rollback *** Causing TGP issues with tool failures: b/63839245 Was finally able to repro the issue at HEAD, and didn't occur without this change. *** Original change description *** Small changes to skyframe package. RELNOTES: None PiperOrigin-RevId: 162565994
Diffstat (limited to 'src/main/java/com/google/devtools/build/skyframe/ConstantVersion.java')
-rw-r--r--src/main/java/com/google/devtools/build/skyframe/ConstantVersion.java26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/main/java/com/google/devtools/build/skyframe/ConstantVersion.java b/src/main/java/com/google/devtools/build/skyframe/ConstantVersion.java
deleted file mode 100644
index 792f167a6f..0000000000
--- a/src/main/java/com/google/devtools/build/skyframe/ConstantVersion.java
+++ /dev/null
@@ -1,26 +0,0 @@
-// Copyright 2017 The Bazel Authors. All rights reserved.
-//
-// Licensed 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 com.google.devtools.build.skyframe;
-
-/** Use when only a single evaluation of the graph with a single constant version is expected. */
-public class ConstantVersion implements Version {
- public static final ConstantVersion INSTANCE = new ConstantVersion();
-
- private ConstantVersion() {}
-
- @Override
- public boolean atMost(Version other) {
- return this.equals(other);
- }
-}