Skip to content
Snippets Groups Projects
Commit 756fa5c5 authored by Ahmad Faiq's avatar Ahmad Faiq
Browse files

perubahan pada accounts.java

parent bd1abe72
No related merge requests found
...@@ -74,14 +74,14 @@ public class Accounts { ...@@ -74,14 +74,14 @@ public class Accounts {
StringBuffer response = new StringBuffer(); StringBuffer response = new StringBuffer();
try { try {
int responseCode = con.getResponseCode(); int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader( BufferedReader input = new BufferedReader(
new InputStreamReader(con.getInputStream())); new InputStreamReader(con.getInputStream()));
String inputLine; String inputLine;
while ((inputLine = in.readLine()) != null) { while ((inputLine = input.readLine()) != null) {
response.append(inputLine); response.append(inputLine);
} }
in.close(); input.close();
} catch (IOException ex) { } catch (IOException ex) {
} }
System.out.println(response.toString()); System.out.println(response.toString());
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment