Chat Tutorial in NetBeans/Text Client: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>SimonSmall
Rearranged and checked
imported>SimonSmall
Line 217: Line 217:
* take the next message from the queue
* take the next message from the queue
*/
*/
String popQuote() {
public String popQuote() {
if (quotes.isEmpty()) {
if (quotes.isEmpty()) {
return null;
return null;