/**
 * Copyright (c) 2014-2017 by the respective copyright holders.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 */
package org.eclipse.smarthome.core.voice;

import org.eclipse.smarthome.core.audio.AudioSource;

/**
 * A {@link KSEvent} fired when the {@link KSService} spots a keyword.
 *
 * @author Kelly Davis - Initial contribution and API
 */
public class KSpottedEvent implements KSEvent {
   /**
    * AudioSource from which the keyword was spotted 
    */
    private final AudioSource audioSource;

   /**
    * Constructs an instance with the passed {@code audioSource}
    *
    * @param audioSource The AudioSource of the spotted keyword 
    */
    public KSpottedEvent(AudioSource audioSource) {
        if (null == audioSource) {
            throw new IllegalArgumentException("The passed audioSource is null");
        }

        this.audioSource = audioSource;
    }

   /**
    * Returns the audioSource of the spotted keyword
    *
    * @return The audioSource of the spotted keyword
    */
    public AudioSource getAudioSource() {
        return this.audioSource;
    }
}

@@ -358,62 +358,8 @@
 e;%0A%0A
-import org.eclipse.smarthome.core.audio.AudioSource;%0A%0A
 /**%0A
@@ -492,752 +492,116 @@
 I%0A *
-/%0Apublic class KSpottedEvent implements KSEvent %7B%0A   /**%0A    * AudioSource from which the keyword was spotted %0A    */%0A    private final AudioSource audioSource;%0A%0A   /**%0A    * Constructs an instance with the passed %7B@code audioSource%7D%0A    *%0A    * @param audioSource The AudioSource of the spotted keyword %0A    */%0A    public KSpottedEvent(AudioSource audioSource) %7B%0A        if (null == audioSource) %7B%0A            throw new IllegalArgumentException(%22The passed audioSource is null%22);%0A        %7D%0A%0A        this.audioSource = audioSource;%0A    %7D%0A%0A   /**%0A    * Returns the audioSource of the spotted keyword%0A    *%0A    * @return The audioSource of the spotted keyword%0A    */%0A    public AudioSource getAudioSource() %7B%0A        return this.audioSource;%0A    %7D
+ @author Yannick Schaus - Removed AudioSource information%0A */%0Apublic class KSpottedEvent implements KSEvent %7B
 %0A%7D%0A

Remove AudioSource from KSpottedEvent (#3375)