Skip to content

Commit 599942c

Browse files
committed
Update example
1 parent 4a2e4e9 commit 599942c

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,6 @@ That will output XML that looks like this:
8080

8181
The documentation for the Twilio API can be found [here](http://twilio.com/docs)
8282

83-
This will also build the javadoc in `twilio-java/docs`. You can open the `index.html` located there to view it locally.
84-
8583
# Getting help
8684

8785
If you need help installing or using the library, please contact Twilio Support at help@twilio.com first. Twilio's Support staff are well-versed in all of the Twilio Helper Libraries, and usually reply within 24 hours.

src/main/java/com/twilio/example/Example.java

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
import com.twilio.rest.api.v2010.account.IncomingPhoneNumber;
88
import com.twilio.rest.api.v2010.account.Message;
99
import com.twilio.rest.api.v2010.account.availablephonenumbercountry.Local;
10-
import com.twilio.rest.notify.v1.Service;
1110
import com.twilio.rest.trunking.v1.Trunk;
1211
import com.twilio.rest.trunking.v1.TrunkCreator;
1312
import com.twilio.twiml.Play;
@@ -81,18 +80,6 @@ public static void main(String[] args) throws TwiMLException {
8180

8281
System.out.println(trunk);
8382

84-
// Delete a resource
85-
Service service = Service.creator().create();
86-
boolean result = Service.deleter(service.getSid()).delete();
87-
System.out.println(result);
88-
89-
Iterable<Service> services = Service.reader().pageSize(2).read();
90-
int j = 0;
91-
for (Service s : services) {
92-
System.out.println("Service " + j + ": " + s.getSid());
93-
j++;
94-
}
95-
9683
// TwiML
9784
TwiML twiml = new VoiceResponse.Builder()
9885
.say(new Say.Builder("Hello World!").build())

0 commit comments

Comments
 (0)