package com.gallatinsystems.common.data.calendar;


public class GoogleCalendarAdapter {
	
	    public static void main(String[] args) {
//	        CalendarService myService = new CalendarService("exampleCo-exampleApp-1.0");
//	        myService.setUserCredentials("root@gmail.com", "pa$$word");
//	            
//	        URL feedUrl = new URL("http://www.google.com/calendar/feeds/default/allcalendars/full");
//	        CalendarFeed resultFeed = myService.getFeed(feedUrl, CalendarFeed.class);
//	            
//	        System.out.println("Your calendars:");
//	        System.out.println();
//	        
//	        for (int i = 0; i < resultFeed.getEntries().size(); i++) {
//	          CalendarEntry entry = resultFeed.getEntries().get(i);
//	          System.out.println("\t" + entry.getTitle().getPlainText());
//	        }
	    
	    }
}

package com.gallatinsystems.common.data.calendar;


public class GoogleCalendarAdapter {
	
	    public static void main(String[] args) {
	    	//testcomment
//	        CalendarService myService = new CalendarService("exampleCo-exampleApp-1.0");
//	        myService.setUserCredentials("root@gmail.com", "pa$$word");
//	            
//	        URL feedUrl = new URL("http://www.google.com/calendar/feeds/default/allcalendars/full");
//	        CalendarFeed resultFeed = myService.getFeed(feedUrl, CalendarFeed.class);
//	            
//	        System.out.println("Your calendars:");
//	        System.out.println();
//	        
//	        for (int i = 0; i < resultFeed.getEntries().size(); i++) {
//	          CalendarEntry entry = resultFeed.getEntries().get(i);
//	          System.out.println("\t" + entry.getTitle().getPlainText());
//	        }
	    
	    }
}

test comment