summaryrefslogtreecommitdiffstats
path: root/java/sca/modules
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2008-08-13 10:33:52 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2008-08-13 10:33:52 +0000
commitf3a11f5e543ee6f6de5da3a9d144968d27cc4944 (patch)
treeb0aacd4906e3594b7c83531ee8e0c5ab090aad7a /java/sca/modules
parent19ad394d57d2c63b250c5f1ed21c444a24b3f883 (diff)
TUSCANY-2544 Give the gdata projects better names and remove the cast to the Feed class in ConsumerClientImpl so that it compiles on an IBM JDK.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@685505 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules')
-rw-r--r--java/sca/modules/binding-gdata-runtime-gsoc/pom.xml2
-rw-r--r--java/sca/modules/binding-gdata-runtime/pom.xml2
-rw-r--r--java/sca/modules/binding-gdata-runtime/src/test/java/org/apache/tuscany/sca/binding/gdata/consumerprovider/CustomerClientImpl.java10
-rw-r--r--java/sca/modules/binding-gdata/pom.xml2
4 files changed, 9 insertions, 7 deletions
diff --git a/java/sca/modules/binding-gdata-runtime-gsoc/pom.xml b/java/sca/modules/binding-gdata-runtime-gsoc/pom.xml
index 5a7433c57e..e0778afe63 100644
--- a/java/sca/modules/binding-gdata-runtime-gsoc/pom.xml
+++ b/java/sca/modules/binding-gdata-runtime-gsoc/pom.xml
@@ -27,7 +27,7 @@
</parent>
<artifactId>tuscany-binding-gdata-runtime-gsoc</artifactId>
- <name>Apache Tuscany SCA Gdata Binding Extension</name>
+ <name>Apache Tuscany SCA Gdata Binding Extension Runtime GSOC</name>
<repositories>
<repository>
diff --git a/java/sca/modules/binding-gdata-runtime/pom.xml b/java/sca/modules/binding-gdata-runtime/pom.xml
index 9d6981a24b..ec29af0b0f 100644
--- a/java/sca/modules/binding-gdata-runtime/pom.xml
+++ b/java/sca/modules/binding-gdata-runtime/pom.xml
@@ -26,7 +26,7 @@
</parent>
<artifactId>tuscany-binding-gdata-runtime</artifactId>
- <name>Apache Tuscany SCA GData Binding Extension</name>
+ <name>Apache Tuscany SCA GData Binding Extension Runtime</name>
<repositories>
<repository>
diff --git a/java/sca/modules/binding-gdata-runtime/src/test/java/org/apache/tuscany/sca/binding/gdata/consumerprovider/CustomerClientImpl.java b/java/sca/modules/binding-gdata-runtime/src/test/java/org/apache/tuscany/sca/binding/gdata/consumerprovider/CustomerClientImpl.java
index 558f65979d..d6261618bf 100644
--- a/java/sca/modules/binding-gdata-runtime/src/test/java/org/apache/tuscany/sca/binding/gdata/consumerprovider/CustomerClientImpl.java
+++ b/java/sca/modules/binding-gdata-runtime/src/test/java/org/apache/tuscany/sca/binding/gdata/consumerprovider/CustomerClientImpl.java
@@ -19,11 +19,13 @@
package org.apache.tuscany.sca.binding.gdata.consumerprovider;
import com.google.gdata.data.BaseEntry;
+import com.google.gdata.data.BaseFeed;
import com.google.gdata.data.DateTime;
import com.google.gdata.data.Entry;
import com.google.gdata.data.Feed;
import com.google.gdata.data.Person;
import com.google.gdata.data.PlainTextConstruct;
+import com.google.gdata.data.Source;
import com.google.gdata.data.extensions.EventEntry;
import com.google.gdata.data.extensions.When;
import org.apache.tuscany.sca.binding.gdata.collection.Collection;
@@ -43,10 +45,10 @@ public class CustomerClientImpl implements CustomerClient {
"\n// Get the Feed" +
"\n//--------------------------\n");
- Feed feed = (Feed) resourceCollection.getFeed();
+ BaseFeed<? extends BaseFeed, ? extends BaseEntry> feed = resourceCollection.getFeed();
System.out.println("Feed content - " + feed.getUpdated().toString() + ":\n");
- for (Entry e : feed.getEntries()) {
+ for (BaseEntry e : feed.getEntries()) {
System.out.println("# " + e.getTitle().getPlainText());
}
@@ -105,10 +107,10 @@ public class CustomerClientImpl implements CustomerClient {
"\n// Execute a query" +
"\n//--------------------------\n");
- feed = (Feed) resourceCollection.query("GSoC");
+ feed = (Feed)(Source) resourceCollection.query("GSoC");
System.out.println("Feed content - " + feed.getUpdated().toString() + ":\n");
- for (Entry e : feed.getEntries()) {
+ for (BaseEntry e : feed.getEntries()) {
System.out.println("# " + e.getTitle().getPlainText());
}
}
diff --git a/java/sca/modules/binding-gdata/pom.xml b/java/sca/modules/binding-gdata/pom.xml
index 58525f32ec..96f43ffeb0 100644
--- a/java/sca/modules/binding-gdata/pom.xml
+++ b/java/sca/modules/binding-gdata/pom.xml
@@ -27,7 +27,7 @@
</parent>
<artifactId>tuscany-binding-gdata</artifactId>
- <name>Apache Tuscany SCA Atom Feed Binding Extension</name>
+ <name>Apache Tuscany SCA Gdata Binding Extension GSOC</name>
<dependencies>
<dependency>