1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2025-12-14 15:01:07 +01:00

More checkstyle whitespace related checks

This commit is contained in:
Florian Schmaus 2017-05-23 16:45:04 +02:00
parent 847890b037
commit ce1cddc722
140 changed files with 583 additions and 512 deletions

View file

@ -86,7 +86,7 @@ public class ReportedData {
}
public ReportedData(){
public ReportedData() {
// Allow for model creation of ReportedData.
}
@ -94,7 +94,7 @@ public class ReportedData {
* Adds a new <code>Row</code>.
* @param row the new row to add.
*/
public void addRow(Row row){
public void addRow(Row row) {
rows.add(row);
}
@ -102,7 +102,7 @@ public class ReportedData {
* Adds a new <code>Column</code>.
* @param column the column to add.
*/
public void addColumn(Column column){
public void addColumn(Column column) {
columns.add(column);
}
@ -206,7 +206,7 @@ public class ReportedData {
* @return the values of the field whose variable matches the requested variable.
*/
public List<String> getValues(String variable) {
for(Field field : getFields()) {
for (Field field : getFields()) {
if (variable.equalsIgnoreCase(field.getVariable())) {
return field.getValues();
}

View file

@ -172,16 +172,16 @@ public class UserSearch extends SimpleIQ {
FormField field = new FormField(name);
// Handle hard coded values.
if(name.equals("first")){
if (name.equals("first")) {
field.setLabel("First Name");
}
else if(name.equals("last")){
else if (name.equals("last")) {
field.setLabel("Last Name");
}
else if(name.equals("email")){
else if (name.equals("email")) {
field.setLabel("Email Address");
}
else if(name.equals("nick")){
else if (name.equals("nick")) {
field.setLabel("Nickname");
}