From 6101d85a003591440518e6cf2c4acf3c6845e5d5 Mon Sep 17 00:00:00 2001 From: Matt Tucker Date: Mon, 4 Aug 2003 21:59:07 +0000 Subject: [PATCH] Now an abstract class. git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2010 b35dd754-fafc-0310-a699-88a17e54d16e --- source/org/jivesoftware/smack/packet/IQ.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/source/org/jivesoftware/smack/packet/IQ.java b/source/org/jivesoftware/smack/packet/IQ.java index 5f0e431f7..4441087c4 100644 --- a/source/org/jivesoftware/smack/packet/IQ.java +++ b/source/org/jivesoftware/smack/packet/IQ.java @@ -61,7 +61,7 @@ package org.jivesoftware.smack.packet; * * @author Matt Tucker */ -public class IQ extends Packet { +public abstract class IQ extends Packet { private Type type = Type.GET; @@ -125,9 +125,7 @@ public class IQ extends Packet { * * @return the query section of the IQ XML. */ - public String getChildElementXML() { - return null; - } + public abstract String getChildElementXML(); /** * A class to represent the type of the IQ packet. The types are: