Skip to content
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.

Commit

Permalink
Merge pull request #101 from twitter/fix-guava-dependency
Browse files Browse the repository at this point in the history
Upgrade guava dependency to 14.0.1
  • Loading branch information
xsl committed Mar 17, 2014
2 parents aa75759 + 74e5ed4 commit dcff4e9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ To run the sample stream example:
mvn install && mvn exec:java -pl hbc-example -Dconsumer.key=XYZ -Dconsumer.secret=SECRET -Daccess.token=ABC -Daccess.token.secret=ABCSECRET
```

You can find these values on http://dev.twitter.com and navigating to one of your applications then to the API Keys tab.
The API key and secrets values on that page correspond to hbc's `-Dconsumer.*` properties.

Alternatively you can set those properties in hbc-examples/pom.xml

## The Details
Expand Down
2 changes: 1 addition & 1 deletion hbc-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>13.0.1</version>
<version>14.0.1</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,10 @@ public void run() {
);
}
}
} catch (Exception e) {
} catch (Throwable e) {
logger.warn(name + " Uncaught exception", e);
setExitStatus(new Event(EventType.STOPPED_BY_ERROR, e));
Exception laundered = (e instanceof Exception) ? (Exception) e : new RuntimeException(e);
setExitStatus(new Event(EventType.STOPPED_BY_ERROR, laundered));
} finally {
rateTracker.stop();
logger.info("{} Shutting down httpclient connection manager", name);
Expand Down
2 changes: 1 addition & 1 deletion hbc-twitter4j/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>13.0.1</version>
<version>14.0.1</version>
</dependency>
<dependency>
<groupId>org.twitter4j</groupId>
Expand Down

0 comments on commit dcff4e9

Please sign in to comment.