From 8ed85f6b3dc6874520914b20fce71e19d714d777 Mon Sep 17 00:00:00 2001 From: supunw Date: Wed, 28 Jan 2015 09:07:34 +0530 Subject: [PATCH 1/2] copyright --- build.xml | 18 +++++++++++- pom.xml | 28 +++++++++++-------- .../org/wso2/cep/uima/demo/StatusHandler.java | 20 +++++++++++++ .../wso2/cep/uima/demo/TweetExtractor.java | 20 +++++++++++++ .../wso2/cep/uima/demo/TwitterStreamer.java | 20 +++++++++++++ .../org/wso2/cep/uima/demo/Util/Tweet.java | 20 +++++++++++++ .../uima/demo/Util/TwitterConfiguration.java | 20 +++++++++++++ .../Util/TwitterConfigurationBuilder.java | 20 +++++++++++++ twitterConfig.xml | 17 +++++++++++ 9 files changed, 171 insertions(+), 12 deletions(-) diff --git a/build.xml b/build.xml index 9a00e49..f3aadae 100644 --- a/build.xml +++ b/build.xml @@ -1,4 +1,20 @@ - + diff --git a/pom.xml b/pom.xml index 9b71cf0..08f66fc 100644 --- a/pom.xml +++ b/pom.xml @@ -1,4 +1,21 @@ + @@ -31,17 +48,6 @@ twitter4j-async 4.0.2 - - org.junit - org.junit - 3.8.1 - - - org - org.junit4 - 4.8.1.v20120523-1257-wso2v1 - test - diff --git a/src/main/java/org/wso2/cep/uima/demo/StatusHandler.java b/src/main/java/org/wso2/cep/uima/demo/StatusHandler.java index 0d132bb..806ea60 100644 --- a/src/main/java/org/wso2/cep/uima/demo/StatusHandler.java +++ b/src/main/java/org/wso2/cep/uima/demo/StatusHandler.java @@ -1,3 +1,23 @@ +/* + * + * Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. + * + * WSO2 Inc. licenses this file to you under the Apache License, + * Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + * / + */ + package org.wso2.cep.uima.demo; import org.apache.activemq.ActiveMQConnectionFactory; diff --git a/src/main/java/org/wso2/cep/uima/demo/TweetExtractor.java b/src/main/java/org/wso2/cep/uima/demo/TweetExtractor.java index e861709..ffae75d 100644 --- a/src/main/java/org/wso2/cep/uima/demo/TweetExtractor.java +++ b/src/main/java/org/wso2/cep/uima/demo/TweetExtractor.java @@ -1,3 +1,23 @@ +/* + * + * Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. + * + * WSO2 Inc. licenses this file to you under the Apache License, + * Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + * / + */ + package org.wso2.cep.uima.demo; import org.apache.activemq.ActiveMQConnectionFactory; diff --git a/src/main/java/org/wso2/cep/uima/demo/TwitterStreamer.java b/src/main/java/org/wso2/cep/uima/demo/TwitterStreamer.java index c107075..09035f9 100644 --- a/src/main/java/org/wso2/cep/uima/demo/TwitterStreamer.java +++ b/src/main/java/org/wso2/cep/uima/demo/TwitterStreamer.java @@ -1,3 +1,23 @@ +/* + * + * Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. + * + * WSO2 Inc. licenses this file to you under the Apache License, + * Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + * / + */ + package org.wso2.cep.uima.demo; import org.apache.log4j.PropertyConfigurator; diff --git a/src/main/java/org/wso2/cep/uima/demo/Util/Tweet.java b/src/main/java/org/wso2/cep/uima/demo/Util/Tweet.java index c9eab68..264af1a 100644 --- a/src/main/java/org/wso2/cep/uima/demo/Util/Tweet.java +++ b/src/main/java/org/wso2/cep/uima/demo/Util/Tweet.java @@ -1,3 +1,23 @@ +/* + * + * Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. + * + * WSO2 Inc. licenses this file to you under the Apache License, + * Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + * / + */ + package org.wso2.cep.uima.demo.Util; import java.io.Serializable; diff --git a/src/main/java/org/wso2/cep/uima/demo/Util/TwitterConfiguration.java b/src/main/java/org/wso2/cep/uima/demo/Util/TwitterConfiguration.java index 743d168..6526236 100644 --- a/src/main/java/org/wso2/cep/uima/demo/Util/TwitterConfiguration.java +++ b/src/main/java/org/wso2/cep/uima/demo/Util/TwitterConfiguration.java @@ -1,3 +1,23 @@ +/* + * + * Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. + * + * WSO2 Inc. licenses this file to you under the Apache License, + * Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + * / + */ + package org.wso2.cep.uima.demo.Util; /** diff --git a/src/main/java/org/wso2/cep/uima/demo/Util/TwitterConfigurationBuilder.java b/src/main/java/org/wso2/cep/uima/demo/Util/TwitterConfigurationBuilder.java index 57756ec..608c997 100644 --- a/src/main/java/org/wso2/cep/uima/demo/Util/TwitterConfigurationBuilder.java +++ b/src/main/java/org/wso2/cep/uima/demo/Util/TwitterConfigurationBuilder.java @@ -1,4 +1,24 @@ +/* + * + * Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. + * + * WSO2 Inc. licenses this file to you under the Apache License, + * Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + * / + */ + package org.wso2.cep.uima.demo.Util; import org.apache.log4j.Logger; diff --git a/twitterConfig.xml b/twitterConfig.xml index 9de3068..5e58786 100644 --- a/twitterConfig.xml +++ b/twitterConfig.xml @@ -1,4 +1,21 @@ + From 15c2fd857609ba79891605de1273c33bd340ea39 Mon Sep 17 00:00:00 2001 From: supunw Date: Wed, 28 Jan 2015 12:26:50 +0530 Subject: [PATCH 2/2] sds --- pathing.jar | Bin 12436 -> 12444 bytes .../wso2/cep/uima/demo/TweetExtractor.java | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/pathing.jar b/pathing.jar index 6150358a51eb58cd0e6c48746835e20f94f17f5e..9921d286cca5552e65c14d41bc7dd87aa6a70b23 100644 GIT binary patch delta 3446 zcmY+HWmFX07KR5H8kFvj91w6Ax}>{19HbmTB!`exWJsk3&;bN#29OvODJen9L6Gi{ z7`jVB5V+!9cir`!KhIw0oOkcP`$>Ui!6=RO2!Lb&00{sv;2{5slAoae4`gQWm*6OR zJkA?P=WG;9ml1{uG+`#ZInr$N_*e1_0nL z07VU9MnypA5UKY`L+DoMuUnm@#haK(fHcrs%15MT8P6@NQ6&eDg%oWl%1M;GFPs zA?CSq7xCp8l_Cbm6BrAnww`SCS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