mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-01-19 05:33:44 +01:00
Go back to java 6 for tools.
This commit is contained in:
parent
6025571350
commit
e0153a9bf0
@ -33,19 +33,6 @@
|
||||
<build>
|
||||
|
||||
<plugins>
|
||||
<!-- We allow Java 7 for this module -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.1</version>
|
||||
<configuration>
|
||||
<source>1.7</source>
|
||||
<target>1.7</target>
|
||||
<showDeprecation>true</showDeprecation>
|
||||
<showWarnings>true</showWarnings>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-shade-plugin</artifactId>
|
||||
|
@ -71,7 +71,9 @@ public class PaymentProtocol {
|
||||
}
|
||||
output.append(format("%n%n%s%n%s", session.getPaymentRequest(), session.getPaymentDetails()));
|
||||
System.out.println(output);
|
||||
} catch (URISyntaxException | BitcoinURIParseException e) {
|
||||
} catch (URISyntaxException e) {
|
||||
System.err.println("Could not parse URI: " + e.getMessage());
|
||||
} catch (BitcoinURIParseException e) {
|
||||
System.err.println("Could not parse URI: " + e.getMessage());
|
||||
} catch (PaymentRequestException e) {
|
||||
System.err.println("Could not handle payment URL: " + e.getMessage());
|
||||
|
Loading…
Reference in New Issue
Block a user