Skip to content

Commit

Permalink
Switching to JDK 8
Browse files Browse the repository at this point in the history
  • Loading branch information
SaschaMoellering committed Aug 22, 2014
1 parent 5d62ffd commit 723e02b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<groupId>com.smo.vertx.kinesis</groupId>
<artifactId>mod-kinesis</artifactId>
<packaging>jar</packaging>
<version>1.1-SNAPSHOT</version>
<version>1.2-SNAPSHOT</version>
<name>Project - mod-kinesis</name>
<url>http://maven.apache.org</url>

Expand Down Expand Up @@ -175,8 +175,8 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven.compiler.plugin.version}</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,15 +159,10 @@ protected void sendMessageToKinesis(Message<JsonObject> event) throws KinesisExc
sendOK(event);
}

catch (InterruptedException iexc) {
catch (InterruptedException | ExecutionException iexc) {
logger.error(iexc);
sendError(event, "Failed sending message to Kinesis", iexc);
}

catch (ExecutionException eexc) {
logger.error(eexc);
sendError(event, "Failed sending message to Kinesis", eexc);
}
}

private boolean isValid(String str) {
Expand Down

0 comments on commit 723e02b

Please sign in to comment.