forked from openhab/openhab-addons
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
openhab#47 Fixed code analysis warnings
Signed-off-by: Christian Oeing <[email protected]> Signed-off-by: Gerd Zanker <[email protected]>
- Loading branch information
1 parent
3c4e1bb
commit ca62d36
Showing
8 changed files
with
34 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,7 +33,7 @@ | |
/** | ||
* A virtual device which controls up to six Bosch Smart Home radiator thermostats in a room. | ||
* | ||
* @author Christian Oeing ([email protected]) | ||
* @author Christian Oeing - Initial contribution | ||
*/ | ||
@NonNullByDefault | ||
public final class ClimateControlHandler extends BoschSHCHandler { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,14 +12,19 @@ | |
*/ | ||
package org.openhab.binding.boschshc.internal.services; | ||
|
||
import org.eclipse.jdt.annotation.NonNullByDefault; | ||
|
||
/** | ||
* Generic error response of the Bosch REST API. | ||
* | ||
* @author Christian Oeing ([email protected]) | ||
* @author Christian Oeing - Initial contribution | ||
*/ | ||
@NonNullByDefault | ||
public class JsonRestExceptionResponse extends BoschSHCServiceState { | ||
public JsonRestExceptionResponse() { | ||
super("JsonRestExceptionResponseEntity"); | ||
this.errorCode = ""; | ||
this.statusCode = 0; | ||
} | ||
|
||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,17 +12,16 @@ | |
*/ | ||
package org.openhab.binding.boschshc.internal.services.roomclimatecontrol; | ||
|
||
import org.eclipse.jdt.annotation.NonNull; | ||
import org.eclipse.jdt.annotation.NonNullByDefault; | ||
import org.openhab.binding.boschshc.internal.services.BoschSHCService; | ||
|
||
/** | ||
* Service of a virtual device which controls the radiator thermostats in a room. | ||
* | ||
* @author Christian Oeing ([email protected]) | ||
* @author Christian Oeing - Initial contribution | ||
*/ | ||
@NonNullByDefault | ||
public class RoomClimateControlService extends BoschSHCService<@NonNull RoomClimateControlServiceState> { | ||
public class RoomClimateControlService extends BoschSHCService<RoomClimateControlServiceState> { | ||
/** | ||
* Constructor. | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,7 @@ | |
/** | ||
* State for {@link RoomClimateControlService} to get and set the desired temperature of a room. | ||
* | ||
* @author Christian Oeing ([email protected]) | ||
* @author Christian Oeing - Initial contribution | ||
*/ | ||
@NonNullByDefault | ||
public class RoomClimateControlServiceState extends BoschSHCServiceState { | ||
|