summaryrefslogtreecommitdiff
path: root/support/src/test/java/tests/resources/ServiceLoader/ServiceWithDuplicateSons.java
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2020-04-28 20:27:13 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2020-04-28 20:27:13 +0000
commitd397a63c7d59dd3956409e3cd3064dfa73555a9b (patch)
tree720d2b2d76a78fe0ba19b8a48e19a488d616ec7f /support/src/test/java/tests/resources/ServiceLoader/ServiceWithDuplicateSons.java
parenteee34a6105388fc3c5cdafc62a066a60e177859e (diff)
parentb115c18dcfcc7433d89826f86a1f5889d3a6e37f (diff)
downloadapache-harmony-d397a63c7d59dd3956409e3cd3064dfa73555a9b.tar.gz
Change-Id: I64058cd03174edd19c36f5416443452602640772
Diffstat (limited to 'support/src/test/java/tests/resources/ServiceLoader/ServiceWithDuplicateSons.java')
-rw-r--r--support/src/test/java/tests/resources/ServiceLoader/ServiceWithDuplicateSons.java28
1 files changed, 28 insertions, 0 deletions
diff --git a/support/src/test/java/tests/resources/ServiceLoader/ServiceWithDuplicateSons.java b/support/src/test/java/tests/resources/ServiceLoader/ServiceWithDuplicateSons.java
new file mode 100644
index 0000000..a299931
--- /dev/null
+++ b/support/src/test/java/tests/resources/ServiceLoader/ServiceWithDuplicateSons.java
@@ -0,0 +1,28 @@
+/*
+ * 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 tests.resources.ServiceLoader;
+
+/**
+ * A class just for test cases of java.util.ServiceLoader.
+ */
+public interface ServiceWithDuplicateSons {
+ /**
+ * @return name of the class
+ */
+ public String myNameIs();
+}