Skip to content

Commit 9bb8e7e

Browse files
committed
Remove @throws tags for exceptions not explicitly thrown
1 parent 67335e6 commit 9bb8e7e

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

pi4micronaut-utils/src/main/java/com/opensourcewithslu/outputdevices/ServoMotorHelper.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ public ServoMotorHelper(Pwm servoMotor) {
3232
/**
3333
* Enables the servo motor by starting PWM output at 0% duty cycle and the
3434
* configured servo frequency.
35-
*
36-
* @throws com.pi4j.io.exception.IOException if the underlying PWM implementation cannot start the signal
3735
*/
3836
public void enable() {
3937
log.info("Enabling servo motor");
@@ -43,8 +41,6 @@ public void enable() {
4341

4442
/**
4543
* Disables the servo motor and stops PWM output.
46-
*
47-
* @throws com.pi4j.io.exception.IOException if the underlying PWM implementation cannot stop the signal
4844
*/
4945
public void disable() {
5046
log.info("Disabling servo motor");
@@ -71,7 +67,6 @@ float map(float value) {
7167
* </p>
7268
*
7369
* @param angle the target angle for the servo motor, between 0 and 180 degrees.
74-
* @throws com.pi4j.io.exception.IOException if the underlying PWM implementation cannot update the signal
7570
*/
7671
public void setAngle(int angle) {
7772
if (!isEnabled) {

0 commit comments

Comments
 (0)