Removed toJson() in CallResponse.

This commit is contained in:
Erik C. Thauvin 2020-03-17 17:01:09 -07:00
parent 353927580d
commit 8060f856ee
9 changed files with 28 additions and 26 deletions

View file

@ -4,8 +4,8 @@ import net.thauvin.erik.bitly.Bitly;
public class BitlySample {
public static void main(String[] args) {
final Bitly bitly = new Bitly(/* "YOUR_API_TOKEN from https://bitly.is/accesstoken" */);
if (args.length > 0) {
final Bitly bitly = new Bitly(/* "YOUR_API_TOKEN from https://bitly.is/accesstoken" */);
for (final String arg : args) {
if (arg.contains("bit.ly")) {
System.out.println(arg + " <-- " + bitly.bitlinks().expand(arg));