Skip to content

Commit 98423ba

Browse files
committed
Ensured API compatibility java7/8.
Removed unused release plugin entry.
1 parent 07994e6 commit 98423ba

File tree

2 files changed

+20
-26
lines changed

2 files changed

+20
-26
lines changed

pom.xml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,6 @@
621621
<plugin>
622622
<groupId>org.apache.maven.plugins</groupId>
623623
<artifactId>maven-javadoc-plugin</artifactId>
624-
<version>2.9.1</version>
625624
</plugin>
626625
<plugin>
627626
<groupId>org.apache.maven.plugins</groupId>
@@ -640,14 +639,6 @@
640639
<groupId>org.codehaus.mojo</groupId>
641640
<artifactId>versions-maven-plugin</artifactId>
642641
</plugin>
643-
<plugin>
644-
<artifactId>maven-release-plugin</artifactId>
645-
<version>2.4.1</version>
646-
<configuration>
647-
<!-- Workaround for MGPG-9 and MRELEASE-424, MRELEASE-263 -->
648-
<mavenExecutorId>forked-path</mavenExecutorId>
649-
</configuration>
650-
</plugin>
651642
<plugin>
652643
<groupId>org.apache.maven.plugins</groupId>
653644
<artifactId>maven-enforcer-plugin</artifactId>
Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,27 @@
11
/*
2-
* CREDIT SUISSE IS WILLING TO LICENSE THIS SPECIFICATION TO YOU ONLY UPON THE
3-
* CONDITION THAT YOU ACCEPT ALL OF THE TERMS CONTAINED IN THIS AGREEMENT.
4-
* PLEASE READ THE TERMS AND CONDITIONS OF THIS AGREEMENT CAREFULLY. BY
5-
* DOWNLOADING THIS SPECIFICATION, YOU ACCEPT THE TERMS AND CONDITIONS OF THE
6-
* AGREEMENT. IF YOU ARE NOT WILLING TO BE BOUND BY IT, SELECT THE "DECLINE"
7-
* BUTTON AT THE BOTTOM OF THIS PAGE. Specification: JSR-354 Money and Currency
8-
* API ("Specification") Copyright (c) 2012-2015, Credit SUISSE All rights
9-
* reserved.
10-
*/
2+
* CREDIT SUISSE IS WILLING TO LICENSE THIS SPECIFICATION TO YOU ONLY UPON THE
3+
* CONDITION THAT YOU ACCEPT ALL OF THE TERMS CONTAINED IN THIS AGREEMENT.
4+
* PLEASE READ THE TERMS AND CONDITIONS OF THIS AGREEMENT CAREFULLY. BY
5+
* DOWNLOADING THIS SPECIFICATION, YOU ACCEPT THE TERMS AND CONDITIONS OF THE
6+
* AGREEMENT. IF YOU ARE NOT WILLING TO BE BOUND BY IT, SELECT THE "DECLINE"
7+
* BUTTON AT THE BOTTOM OF THIS PAGE. Specification: JSR-354 Money and Currency
8+
* API ("Specification") Copyright (c) 2012-2015, Credit SUISSE All rights
9+
* reserved.
10+
*/
1111
package javax.money.convert;
1212

13-
import java.util.function.Supplier;
1413

1514
/**
16-
* The supplier of {@link ExchangeRateProvider} that defines an implementations.
17-
*/
18-
public interface ExchangeRateProviderSupplier extends Supplier<String> {
15+
* A supplier of {@link ExchangeRateProvider} name that references an implementation.
16+
*/
17+
@FunctionalInterface
18+
public interface ExchangeRateProviderSupplier{
19+
20+
/**
21+
* Get the provider name. This signatire equals to the signrature of java.util.function.Supplier in Java 8.
22+
*
23+
* @return the provider name, not null.
24+
*/
25+
String get();
1926

20-
/**
21-
* @return description of the implementation of {@link ExchangeRateProvider}
22-
*/
23-
String getDescription();
2427
}

0 commit comments

Comments
 (0)