Skip to content

Commit b197d05

Browse files
formatting
1 parent 0a1d8fe commit b197d05

1 file changed

Lines changed: 12 additions & 26 deletions

File tree

src/main/java/org/privacyidea/Challenge.java

Lines changed: 12 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -22,47 +22,33 @@ public class Challenge
2222
{
2323
private final List<String> attributes = new ArrayList<>();
2424
private final String serial;
25-
private final String client_mode;
25+
private final String clientMode;
2626
private final String message;
27-
private final String transaction_id;
27+
private final String transactionId;
2828
private final String type;
2929
private final String image;
3030

31-
public Challenge(String serial, String message, String client_mode, String image, String transaction_id, String type)
31+
public Challenge(String serial, String message, String clientMode, String image, String transactionId, String type)
3232
{
3333
this.serial = serial;
3434
this.message = message;
35-
this.client_mode = client_mode;
35+
this.clientMode = clientMode;
3636
this.image = image;
37-
this.transaction_id = transaction_id;
37+
this.transactionId = transactionId;
3838
this.type = type;
3939
}
4040

41-
public List<String> getAttributes()
42-
{
43-
return attributes;
44-
}
41+
public List<String> getAttributes() { return attributes; }
4542

46-
public String getSerial()
47-
{
48-
return serial;
49-
}
43+
public String getSerial() { return serial; }
5044

51-
public String getMessage()
52-
{
53-
return message;
54-
}
55-
public String getClientMode() { return client_mode; }
45+
public String getMessage() { return message; }
46+
47+
public String getClientMode() { return clientMode; }
5648

5749
public String getImage() { return image.replaceAll("\"", ""); }
5850

59-
public String getTransactionID()
60-
{
61-
return transaction_id;
62-
}
51+
public String getTransactionID() { return transactionId; }
6352

64-
public String getType()
65-
{
66-
return type;
67-
}
53+
public String getType() { return type; }
6854
}

0 commit comments

Comments
 (0)