Whitespace-only code formatting changes.

This commit is contained in:
akwizgran
2015-11-30 09:38:25 +00:00
parent 1950c13ffb
commit 027ae8340f
202 changed files with 2993 additions and 2993 deletions

View File

@@ -16,12 +16,12 @@ public class Group {
int length;
try {
length = name.getBytes("UTF-8").length;
} catch(UnsupportedEncodingException e) {
} catch (UnsupportedEncodingException e) {
throw new RuntimeException(e);
}
if(length == 0 || length > MAX_GROUP_NAME_LENGTH)
if (length == 0 || length > MAX_GROUP_NAME_LENGTH)
throw new IllegalArgumentException();
if(salt.length != GROUP_SALT_LENGTH)
if (salt.length != GROUP_SALT_LENGTH)
throw new IllegalArgumentException();
this.id = id;
this.name = name;

View File

@@ -15,7 +15,7 @@ public class GroupId extends UniqueId {
@Override
public boolean equals(Object o) {
if(o instanceof GroupId)
if (o instanceof GroupId)
return Arrays.equals(id, ((GroupId) o).id);
return false;
}

View File

@@ -16,7 +16,7 @@ public class MessageId extends UniqueId {
@Override
public boolean equals(Object o) {
if(o instanceof MessageId)
if (o instanceof MessageId)
return Arrays.equals(id, ((MessageId) o).id);
return false;
}