Mistakes in Smack Documentation

I think there is a problem is the Smack Documentation, which might need correction. http://download.igniterealtime.org/smack/docs/latest/documentation/messaging.htm l

Line 24:

Message newMessage = new Message();
message.setProperty("favoriteColor", "red");


  1. It seems Message Class does not have any method called setProperty(). Message (Smack 4.1.5 API)

  2. It should be newMessage.setProperty() and not message.setProperty().

Please verify and correct these mistakes. Anyway, I am in need of the setProperty() method.

Thanks for reporting.

setProperty() is now part of JivePropertiesManager: JivePropertiesManager (Smack 4.1.6 API)