Apply suggestions from code review
Co-authored-by: CyB3RC0nN0R <kske@outlook.de>
This commit is contained in:
		@@ -21,6 +21,8 @@ public class IsWriting extends Event<Long> {
 | 
			
		||||
	/**
 | 
			
		||||
	 * The number of milliseconds that this event will be active.<br>
 | 
			
		||||
	 * Currently set to 3.5 seconds.
 | 
			
		||||
	 *
 | 
			
		||||
	 * @since Envoy Common v0.2-beta
 | 
			
		||||
	 */
 | 
			
		||||
	public static final int millisecondsActive = 3500;
 | 
			
		||||
 | 
			
		||||
@@ -30,7 +32,7 @@ public class IsWriting extends Event<Long> {
 | 
			
		||||
	 * @param sourceID      the id of the originator
 | 
			
		||||
	 * @param displayName   the name of the originator
 | 
			
		||||
	 * @param destinationID the id of the contact the user wrote to
 | 
			
		||||
	 * @since Envoy Client v0.2-beta
 | 
			
		||||
	 * @since Envoy Common v0.2-beta
 | 
			
		||||
	 */
 | 
			
		||||
	public IsWriting(Long sourceID, long destinationID, String displayName) {
 | 
			
		||||
		super(sourceID);
 | 
			
		||||
@@ -40,7 +42,7 @@ public class IsWriting extends Event<Long> {
 | 
			
		||||
 | 
			
		||||
	/**
 | 
			
		||||
	 * @return the id of the contact in whose chat the user wrote something
 | 
			
		||||
	 * @since Envoy Client v0.2-beta
 | 
			
		||||
	 * @since Envoy Common v0.2-beta
 | 
			
		||||
	 */
 | 
			
		||||
	public long getDestinationID() { return destinationID; }
 | 
			
		||||
 | 
			
		||||
@@ -49,5 +51,4 @@ public class IsWriting extends Event<Long> {
 | 
			
		||||
	 * @since Envoy Common v0.2-beta
 | 
			
		||||
	 */
 | 
			
		||||
	public String getDisplayName() { return displayName; }
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user