mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-12-14 06:51:08 +01:00
Rename 'Packet' class to 'Stanza'
Smack still uses the term 'Packet' in some places. This is just the first step towards using correct XMPP terms in Smack.
This commit is contained in:
parent
9fc26f1d83
commit
4698805a34
142 changed files with 595 additions and 572 deletions
|
|
@ -16,7 +16,7 @@
|
|||
*/
|
||||
package org.jivesoftware.smackx.search;
|
||||
|
||||
import org.jivesoftware.smack.packet.Packet;
|
||||
import org.jivesoftware.smack.packet.Stanza;
|
||||
import org.jivesoftware.smackx.xdata.FormField;
|
||||
import org.jivesoftware.smackx.xdata.packet.DataForm;
|
||||
import org.jivesoftware.smackx.xdata.packet.DataForm.Item;
|
||||
|
|
@ -43,7 +43,7 @@ public class ReportedData {
|
|||
*
|
||||
* @param packet the packet used for reporting data.
|
||||
*/
|
||||
public static ReportedData getReportedDataFrom(Packet packet) {
|
||||
public static ReportedData getReportedDataFrom(Stanza packet) {
|
||||
// Check if the packet includes the DataForm extension
|
||||
DataForm dataForm = DataForm.from(packet);
|
||||
if (dataForm != null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue