File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
- import httprocessing .* ;
1
+ import http.requests .* ;
2
2
3
3
public void setup ()
4
4
{
@@ -9,4 +9,4 @@ public void setup()
9
9
get. send();
10
10
println (" Reponse Content: " + get. getContent());
11
11
println (" Reponse Content-Length Header: " + get. getHeader(" Content-Length" ));
12
- }
12
+ }
Original file line number Diff line number Diff line change 1
- import httprocessing .* ;
1
+ import http.requests .* ;
2
2
3
3
public void setup ()
4
4
{
@@ -9,7 +9,7 @@ public void setup()
9
9
get. send(); // program will wait untill the request is completed
10
10
println (" response: " + get. getContent());
11
11
12
- JSONObject response = JSONObject . parse (get. getContent());
12
+ JSONObject response = parseJSONObject (get. getContent());
13
13
println (" status: " + response. getString(" status" ));
14
14
JSONArray boxes = response. getJSONArray(" data" );
15
15
println (" boxes: " );
Original file line number Diff line number Diff line change 1
- import httprocessing .* ;
1
+ import http.requests .* ;
2
2
3
3
public void setup ()
4
4
{
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ classpath.libraries.location=${sketchbook.location}/libraries
59
59
# (3)
60
60
# Set the java version that should be used to compile your library.
61
61
62
- java.target.version =1.7
62
+ java.target.version =1.6
63
63
64
64
65
65
# Set the description of the Ant build.xml file.
You can’t perform that action at this time.
0 commit comments