summaryrefslogtreecommitdiffstats
path: root/branches/sca-android/modules/calculator-android/src/calculator/SubtractServiceImpl.java
diff options
context:
space:
mode:
authorjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2008-09-13 20:48:01 +0000
committerjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2008-09-13 20:48:01 +0000
commit66b717ff298aeaa02af8b3e37ab67f9442919f60 (patch)
tree598f947454265d3b6a8bba2ccdf13f38ae21c33f /branches/sca-android/modules/calculator-android/src/calculator/SubtractServiceImpl.java
parent1195364128f6513c02bded22580fa0e830e587d6 (diff)
Moved calculator-android sample to the samples directory.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@695028 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-android/modules/calculator-android/src/calculator/SubtractServiceImpl.java')
-rw-r--r--branches/sca-android/modules/calculator-android/src/calculator/SubtractServiceImpl.java35
1 files changed, 0 insertions, 35 deletions
diff --git a/branches/sca-android/modules/calculator-android/src/calculator/SubtractServiceImpl.java b/branches/sca-android/modules/calculator-android/src/calculator/SubtractServiceImpl.java
deleted file mode 100644
index 58cc4a3547..0000000000
--- a/branches/sca-android/modules/calculator-android/src/calculator/SubtractServiceImpl.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 calculator;
-
-import java.util.logging.Level;
-import java.util.logging.Logger;
-
-/**
- * An implementation of the subtract service.
- */
-public class SubtractServiceImpl implements SubtractService {
-
- public double subtract(double n1, double n2) {
- Logger logger = Logger.getLogger("calculator");
- logger.log(Level.FINEST, "Subtracting " + n1 + " from " + n2);
- return n1 - n2;
- }
-
-}