From 25abb19eb86bd6f0161e56c042a08ea78ebf06d2 Mon Sep 17 00:00:00 2001 From: Jouni Koivuviita Date: Wed, 10 Jul 2013 14:14:20 +0300 Subject: [PATCH] Removed the Rotten Tomatoes API key (again). Please use your own API key :) --- src/main/java/com/vaadin/demo/dashboard/data/DataProvider.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/vaadin/demo/dashboard/data/DataProvider.java b/src/main/java/com/vaadin/demo/dashboard/data/DataProvider.java index 8f68c083..99e9082e 100644 --- a/src/main/java/com/vaadin/demo/dashboard/data/DataProvider.java +++ b/src/main/java/com/vaadin/demo/dashboard/data/DataProvider.java @@ -153,7 +153,7 @@ private static void loadMoviesData() { json = readJsonFromFile(cache); } else { // Get an API key from http://developer.rottentomatoes.com - String apiKey = "6ycavarreaaqj4s92d523g9n"; + String apiKey = "xxxxxxxxxxxxxxxxxxx"; json = readJsonFromUrl("http://api.rottentomatoes.com/api/public/v1.0/lists/movies/in_theaters.json?page_limit=30&apikey=" + apiKey); // Store in cache FileWriter fileWriter = new FileWriter(cache);