Skip to content

Commit

Permalink
Added author tag where missing. (openhab#2351)
Browse files Browse the repository at this point in the history
See openhab/static-code-analysis#52

Signed-off-by: Svilen Valkanov <[email protected]>
  • Loading branch information
Svilen authored and kaikreuzer committed Jun 13, 2017
1 parent b5fd314 commit fc2b965
Show file tree
Hide file tree
Showing 22 changed files with 87 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
*/
package org.openhab.binding.atlona.internal.pro3;

/**
*
* @author Tim Roberts - Initial contribution
*/
public class AtlonaPro3Utilities {
/**
* Helper method to create a channel id from a group with no port number attached
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

/**
* Polling worker class.
*
* @author Robert Bausdorf - Initial Contribution
*/
public class DeviceListPolling implements Runnable {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
*/
package org.openhab.binding.boschindego.internal;

/**
*
* @author Jonas Fleck - Initial contribution
*/
public class IndegoStateConstants {

public static final int STATE_DOCKED_1 = 258;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
* Slot handlers. The Slot handler exposes the status of a slot, and allows
* users to start / stop folding.
*
* @author Marius Bjørnstad - Initial contribution
*/
public class SlotHandler extends BaseThingHandler implements SlotUpdateListener {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
*
* The client performs refreshes regularly, retrieving information about
* all slots. It then calls refreshed on all registered SlotUpdateListeners.
*
* @author Marius Bjørnstad - Initial contribution
*/
public interface SlotUpdateListener {
void refreshed(SlotInfo si);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@

import org.eclipse.smarthome.config.core.ConfigDescription;

/**
*
* @author Gerhard Riegler - Initial contribution
*/
public class HomematicConfigDescriptionProviderImpl implements HomematicConfigDescriptionProvider {
private Map<URI, ConfigDescription> configDescriptionsByURI = new HashMap<URI, ConfigDescription>();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@

import org.openhab.binding.homematic.internal.model.HmDevice;

/**
*
* @author Gerhard Riegler - Initial contribution
*/
public interface HomematicTypeGenerator {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
import org.eclipse.smarthome.core.types.Command;
import org.openhab.binding.lutron.internal.protocol.LutronCommandType;

/**
*
* @author Allan Tong - Initial contribution
*/
public class OccupancySensorHandler extends LutronHandler {
private static final String OCCUPIED_STATE_UPDATE = "2";
private static final String STATE_OCCUPIED = "3";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
/**
* Contains a led bulb state including the HSB value, white color temperature and animation values.
*
* @since 2.0
* @author David Graeff - Initial contribution
*/
public class MilightThingState {
public int animationMode = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
*/
package org.openhab.binding.milight.internal.protocol;

/**
*
* @author David Graeff - Initial contribution
*/
public class QueueItem {
static final int INVALID = -1;
byte[] data;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
*/
package org.openhab.binding.pioneeravr.protocol.states;

/**
*
* @author Antoine Besnard - Initial contribution
*/
public interface MuteStateValues {

public static final String ON_VALUE = "0";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
*/
package org.openhab.binding.pioneeravr.protocol.states;

/**
*
* @author Antoine Besnard - Initial contribution
*/
public interface PowerStateValues {

public static final String ON_VALUE = "0";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,15 @@

import org.openhab.binding.pioneeravr.protocol.AvrConnectionException;

/**
*
* @author Antoine Besnard - Initial contribution
*/
public class DisplayInformationConverter {

/**
* Convert an IpControl information message payload to a readable String.
*
*
* @param responsePayload
* @return
* @throws AvrConnectionException
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@

import java.text.DecimalFormat;

/**
*
* @author Antoine Besnard - Initial contribution
*/
public final class VolumeConverter {

private static final String IP_CONTROL_VOLUME_FORMAT = "000";
Expand All @@ -22,7 +26,7 @@ public final class VolumeConverter {

/**
* Return the double value of the volume from the value received in the IpControl response.
*
*
* @param ipControlVolume
* @return the volume in Db
*/
Expand All @@ -33,7 +37,7 @@ public static double convertFromIpControlVolumeToDb(String ipControlVolume) {

/**
* Return the string parameter to send to the AVR based on the given volume.
*
*
* @param volumeDb
* @return the volume for IpControlRequest
*/
Expand All @@ -44,7 +48,7 @@ public static String convertFromDbToIpControlVolume(double volumeDb) {

/**
* Return the String parameter to send to the AVR based on the given persentage of the max volume level.
*
*
* @param volumePercent
* @return the volume for IpControlRequest
*/
Expand All @@ -55,7 +59,7 @@ public static String convertFromPercentToIpControlVolume(double volumePercent) {

/**
* Return the percentage of the max volume levelfrom the value received in the IpControl response.
*
*
* @param ipControlVolume
* @return the volume percentage
*/
Expand All @@ -66,7 +70,7 @@ public static double convertFromIpControlVolumeToPercent(String ipControlVolume)

/**
* Format the given double value to an IpControl volume.
*
*
* @param ipControlVolume
* @return
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,14 @@
import java.util.HashMap;
import java.util.Map;

import org.openhab.binding.rfxcom.internal.config.RFXComBridgeConfiguration;
import org.openhab.binding.rfxcom.internal.exceptions.RFXComException;
import org.openhab.binding.rfxcom.internal.exceptions.RFXComMessageNotImplementedException;
import org.openhab.binding.rfxcom.internal.messages.RFXComBaseMessage.PacketType;
import org.openhab.binding.rfxcom.internal.messages.RFXComInterfaceMessage.TransceiverType;

/**
*
* @author Pauli Anttila - Initial contribution
*/
public class RFXComMessageFactory {

@SuppressWarnings("serial")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@
import org.osgi.framework.BundleContext;
import org.osgi.framework.ServiceRegistration;

/**
*
* @author David Gräff - Initial contribution
*/
public class ZoneDiscoveryService extends AbstractDiscoveryService {

private ServiceRegistration<?> reg = null;
Expand All @@ -47,13 +51,13 @@ protected void startScan() {

public void detectZones(YamahaReceiverState state, String base_udn) {
Map<String, Object> properties = new HashMap<>(3);
properties.put((String) YamahaReceiverBindingConstants.CONFIG_HOST_NAME, state.getHost());
properties.put(YamahaReceiverBindingConstants.CONFIG_HOST_NAME, state.getHost());

for (Zone zone : state.additional_zones) {
String zoneName = zone.name();
ThingUID uid = new ThingUID(YamahaReceiverBindingConstants.THING_TYPE_YAMAHAAV, base_udn + zoneName);

properties.put((String) YamahaReceiverBindingConstants.CONFIG_ZONE, zoneName);
properties.put(YamahaReceiverBindingConstants.CONFIG_ZONE, zoneName);
DiscoveryResult discoveryResult = DiscoveryResultBuilder.create(uid).withProperties(properties)
.withLabel(state.name + " " + zoneName).build();
thingDiscovered(discoveryResult);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
*/
package org.openhab.binding.zoneminder;

/**
*
* @author Martin S. Eskildsen - Initial contribution
*/
public class ZoneMinderProperties {
public static final String PROPERTY_ID = "Id";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@

import name.eskildsen.zoneminder.IZoneMinderMonitorData;

/**
*
* @author Martin S. Eskildsen - Initial contribution
*/
public class ZoneMinderDiscoveryService extends AbstractDiscoveryService implements ExtendedDiscoveryService {
private final Logger logger = LoggerFactory.getLogger(ZoneMinderDiscoveryService.class);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
*/
package org.openhab.binding.zoneminder.internal;

/**
*
* @author Martin S. Eskildsen - Initial contribution
*/
public enum DataRefreshPriorityEnum {
SCHEDULED,
HIGH_PRIORITY;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
import com.beowulfe.hap.accessories.TemperatureSensor;
import com.beowulfe.hap.accessories.properties.TemperatureUnit;

/**
*
* @author Andy Lintner - Initial contribution
*/
abstract class AbstractTemperatureHomekitAccessoryImpl<T extends GenericItem> extends AbstractHomekitAccessoryImpl<T>
implements TemperatureSensor {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@
import com.beowulfe.hap.HomekitCharacteristicChangeCallback;
import com.beowulfe.hap.accessories.HumiditySensor;

public class HomekitHumiditySensorImpl extends AbstractHomekitAccessoryImpl<NumberItem>implements HumiditySensor {
/**
*
* @author Andy Lintner - Initial implementation
*/
public class HomekitHumiditySensorImpl extends AbstractHomekitAccessoryImpl<NumberItem> implements HumiditySensor {

public HomekitHumiditySensorImpl(HomekitTaggedItem taggedItem, ItemRegistry itemRegistry,
HomekitAccessoryUpdater updater) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@

import org.openhab.ui.dashboard.DashboardTile;

/**
*
* @author Tobias Bräutigam - Initial contribution
*/
public class CometVisuDashboardTile implements DashboardTile {
@Override
public String getName() {
Expand Down

0 comments on commit fc2b965

Please sign in to comment.