mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-07 14:54:15 +00:00
Go back to java 6 for tools.
This commit is contained in:
parent
6025571350
commit
e0153a9bf0
@ -33,19 +33,6 @@
|
|||||||
<build>
|
<build>
|
||||||
|
|
||||||
<plugins>
|
<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>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-shade-plugin</artifactId>
|
<artifactId>maven-shade-plugin</artifactId>
|
||||||
|
@ -71,7 +71,9 @@ public class PaymentProtocol {
|
|||||||
}
|
}
|
||||||
output.append(format("%n%n%s%n%s", session.getPaymentRequest(), session.getPaymentDetails()));
|
output.append(format("%n%n%s%n%s", session.getPaymentRequest(), session.getPaymentDetails()));
|
||||||
System.out.println(output);
|
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());
|
System.err.println("Could not parse URI: " + e.getMessage());
|
||||||
} catch (PaymentRequestException e) {
|
} catch (PaymentRequestException e) {
|
||||||
System.err.println("Could not handle payment URL: " + e.getMessage());
|
System.err.println("Could not handle payment URL: " + e.getMessage());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user