Commenting unused code to remove unused ATOM related dependencies from photark webapp
git-svn-id: https://svn.apache.org/repos/asf/incubator/photark/trunk@939954 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/photark/src/main/java/org/apache/photark/services/album/AlbumAgregator.java b/photark/src/main/java/org/apache/photark/services/album/AlbumAgregator.java
index f73b806..9980fab 100644
--- a/photark/src/main/java/org/apache/photark/services/album/AlbumAgregator.java
+++ b/photark/src/main/java/org/apache/photark/services/album/AlbumAgregator.java
@@ -34,44 +34,54 @@
@Reference(required=false)
protected Album album;
+ /* FIXME: Not currently in use... */
+ /*
@Reference(required=false)
protected org.apache.tuscany.sca.binding.atom.collection.Collection albumFeed;
+ */
- /* FIXME: GData support not available in Tuscany 2.x
- @Reference(required=false)
- protected org.apache.tuscany.sca.binding.gdata.collection.Collection albumPicassa;
+ /* FIXME: GData support not available in Tuscany 2.x */
+ /*
+ @Reference(required=false)
+ protected org.apache.tuscany.sca.binding.gdata.collection.Collection albumPicassa;
*/
@Init
public void init() {
- if(album != null) {
- for(String picture : album.getPictures()) {
- pictures.add(picture);
- }
- }
+ if(album != null) {
+ for(String picture : album.getPictures()) {
+ pictures.add(picture);
+ }
+ }
- if (albumFeed != null) {
- try {
- for(org.apache.abdera.model.Entry feedPicture : albumFeed.getFeed().getEntries()) {
- String feedImageLink = feedPicture.getEnclosureLinkResolvedHref().toString();
- pictures.add(feedImageLink);
- }
- }catch (Exception e) {
- //log exception, warn user that album xxx was not processed (not found)
- }
- }
- /* FIXME: GData support not available in Tuscany 2.x
- if( albumPicassa != null) {
- try {
- for(com.google.gdata.data.Entry picassaPicture : albumPicassa.getFeed().getEntries()) {
- String feedImageLink = picassaPicture.getLink(Link.Rel.MEDIA_EDIT, null).getHref();
- pictures.add(feedImageLink);
- }
- }catch (Exception e) {
- //log exception, warn user that album xxx was not processed (not found)
- }
- }
- */
+ /* FIXME: Not currently in use... */
+ /*
+ if (albumFeed != null) {
+ try {
+ for(org.apache.abdera.model.Entry feedPicture : albumFeed.getFeed().getEntries()) {
+ String feedImageLink = feedPicture.getEnclosureLinkResolvedHref().toString();
+ pictures.add(feedImageLink);
+ }
+ }catch (Exception e) {
+ //log exception, warn user that album xxx was not processed (not found)
+ }
+ }
+ */
+
+ /* FIXME: GData support not available in Tuscany 2.x*/
+ /*
+ if( albumPicassa != null) {
+ try {
+ for(com.google.gdata.data.Entry picassaPicture : albumPicassa.getFeed().getEntries()) {
+ String feedImageLink = picassaPicture.getLink(Link.Rel.MEDIA_EDIT, null).getHref();
+ pictures.add(feedImageLink);
+ }
+ }catch (Exception e) {
+ //log exception, warn user that album xxx was not processed (not found)
+ }
+ }
+ */
+
}