From 9669b38e8ff80d198eb322dacec2daf544d991de Mon Sep 17 00:00:00 2001 From: kush Date: Thu, 20 Jul 2017 03:35:43 +0200 Subject: 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 --- .../devtools/build/skyframe/ConstantVersion.java | 26 ---------------------- 1 file changed, 26 deletions(-) delete mode 100644 src/main/java/com/google/devtools/build/skyframe/ConstantVersion.java (limited to 'src/main/java/com/google/devtools/build/skyframe/ConstantVersion.java') 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); - } -} -- cgit v1.2.3