diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2020-04-28 20:27:13 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2020-04-28 20:27:13 +0000 |
commit | d397a63c7d59dd3956409e3cd3064dfa73555a9b (patch) | |
tree | 720d2b2d76a78fe0ba19b8a48e19a488d616ec7f /support/src/test/java/tests/resources/ServiceLoader/Service.java | |
parent | eee34a6105388fc3c5cdafc62a066a60e177859e (diff) | |
parent | b115c18dcfcc7433d89826f86a1f5889d3a6e37f (diff) | |
download | apache-harmony-android10-mainline-tzdata-release.tar.gz |
Snap for 6439596 from b115c18dcfcc7433d89826f86a1f5889d3a6e37f to qt-aml-tzdata-releaseq_tzdata_aml_297100400q_tzdata_aml_297100300q_tzdata_aml_297100000q_tzdata_aml_296200000q_tzdata_aml_295600118q_tzdata_aml_295600110q_tzdata_aml_295500002q_tzdata_aml_295500001q_tzdata_aml_294400310android-mainline-12.0.0_r54android-mainline-12.0.0_r111android-mainline-10.0.0_r13android-mainline-10.0.0_r12android-mainline-10.0.0_r11q_tzdata_aml_297100000android12-mainline-tzdata-releaseandroid10-mainline-tzdata-releaseandroid10-android13-mainline-tzdata-release
Change-Id: I64058cd03174edd19c36f5416443452602640772
Diffstat (limited to 'support/src/test/java/tests/resources/ServiceLoader/Service.java')
-rw-r--r-- | support/src/test/java/tests/resources/ServiceLoader/Service.java | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/support/src/test/java/tests/resources/ServiceLoader/Service.java b/support/src/test/java/tests/resources/ServiceLoader/Service.java new file mode 100644 index 0000000..c36fdb3 --- /dev/null +++ b/support/src/test/java/tests/resources/ServiceLoader/Service.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 Service { + /** + * @return name of the class + */ + public String myNameIs(); +} |