Skip to content

Commit f911e14

Browse files
author
Joshua Cold
committed
Spotbug fixes in resttest serverlet
1 parent b2c2e89 commit f911e14

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

rest-test-service/src/main/java/password/pwm/resttest/SmsPostResponseBody.java

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -29,28 +29,12 @@ public class SmsPostResponseBody
2929
private String messageContent;
3030
private Instant date;
3131

32-
public SmsPostResponseBody( final String message, final Instant date )
32+
public SmsPostResponseBody( final String message)
3333
{
3434
final String[] strings = message.split( "&" );
3535
this.messageContent = strings[strings.length - 1];
3636
}
3737

38-
public SmsPostResponseBody( final String message )
39-
{
40-
final String[] strings = message.split( "&" );
41-
this.messageContent = strings[strings.length - 1];
42-
}
43-
44-
public SmsPostResponseBody( final Instant date )
45-
{
46-
this.date = Instant.now();
47-
this.messageContent = "";
48-
}
49-
50-
public SmsPostResponseBody()
51-
{
52-
53-
}
5438

5539
public String getMessageContent()
5640
{

0 commit comments

Comments
 (0)