summaryrefslogtreecommitdiff
path: root/qpid/java/common/src/main/java
diff options
context:
space:
mode:
authorRajith Muditha Attapattu <rajith@apache.org>2010-04-22 00:03:56 +0000
committerRajith Muditha Attapattu <rajith@apache.org>2010-04-22 00:03:56 +0000
commitb70c5f38dca07d23edead557ec0a2a2ce585c23e (patch)
treed4a17d9b249adac7b64b2f69c5fdf16c0641c2d9 /qpid/java/common/src/main/java
parentecbb521e43eb4f5e2041bfee32f5d0479b2a9aad (diff)
downloadqpid-python-b70c5f38dca07d23edead557ec0a2a2ce585c23e.tar.gz
QPID-2498
Committing a patch from Emmanuel Bourg git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@936575 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/common/src/main/java')
-rw-r--r--qpid/java/common/src/main/java/org/apache/qpid/util/concurrent/Condition.java50
1 files changed, 0 insertions, 50 deletions
diff --git a/qpid/java/common/src/main/java/org/apache/qpid/util/concurrent/Condition.java b/qpid/java/common/src/main/java/org/apache/qpid/util/concurrent/Condition.java
deleted file mode 100644
index bbd1722677..0000000000
--- a/qpid/java/common/src/main/java/org/apache/qpid/util/concurrent/Condition.java
+++ /dev/null
@@ -1,50 +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.qpid.util.concurrent;
-
-
-/**
- * Condition
- *
- */
-
-public class Condition
-{
-
- private boolean value = false;
-
- public synchronized void set()
- {
- value = true;
- notifyAll();
- }
-
- public synchronized boolean get(long timeout) throws InterruptedException
- {
- if (!value)
- {
- wait(timeout);
- }
-
- return value;
- }
-
-}