You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ha...@apache.org on 2012/03/19 15:43:08 UTC
svn commit: r1302480 -
/camel/trunk/examples/camel-example-twitter-websocket/src/main/java/org/apache/camel/example/websocket/CamelTwitterWebSocketMain.java
Author: hadrian
Date: Mon Mar 19 14:43:08 2012
New Revision: 1302480
URL: http://svn.apache.org/viewvc?rev=1302480&view=rev
Log:
CS fix
Modified:
camel/trunk/examples/camel-example-twitter-websocket/src/main/java/org/apache/camel/example/websocket/CamelTwitterWebSocketMain.java
Modified: camel/trunk/examples/camel-example-twitter-websocket/src/main/java/org/apache/camel/example/websocket/CamelTwitterWebSocketMain.java
URL: http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-twitter-websocket/src/main/java/org/apache/camel/example/websocket/CamelTwitterWebSocketMain.java?rev=1302480&r1=1302479&r2=1302480&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-twitter-websocket/src/main/java/org/apache/camel/example/websocket/CamelTwitterWebSocketMain.java (original)
+++ camel/trunk/examples/camel-example-twitter-websocket/src/main/java/org/apache/camel/example/websocket/CamelTwitterWebSocketMain.java Mon Mar 19 14:43:08 2012
@@ -21,7 +21,7 @@ import org.apache.camel.main.Main;
/**
* A main to start this example.
*/
-public class CamelTwitterWebSocketMain {
+public final class CamelTwitterWebSocketMain {
// Twitter now requires the use of OAuth for all client application authentication.
// In order to use camel-twitter with your account, you'll need to create a new application
@@ -32,6 +32,10 @@ public class CamelTwitterWebSocketMain {
private static String accessToken = "INSERT HERE";
private static String accessTokenSecret = "INSERT HERE";
+ private CamelTwitterWebSocketMain() {
+ // utility class
+ }
+
public static void main(String[] args) throws Exception {
if (consumerKey.equals("INSERT HERE")) {
System.out.println("\n\n\n\n");