whitespace
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1751183 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b6fe670114
commit
0dc4d4fbbf
@ -52,7 +52,7 @@ public final class HMEFMessage {
|
||||
try {
|
||||
// Check the signature matches
|
||||
int sig = LittleEndian.readInt(inp);
|
||||
if(sig != HEADER_SIGNATURE) {
|
||||
if (sig != HEADER_SIGNATURE) {
|
||||
throw new IllegalArgumentException(
|
||||
"TNEF signature not detected in file, " +
|
||||
"expected " + HEADER_SIGNATURE + " but got " + sig
|
||||
@ -151,8 +151,8 @@ public final class HMEFMessage {
|
||||
* or null if there isn't one.
|
||||
*/
|
||||
public TNEFAttribute getMessageAttribute(TNEFProperty id) {
|
||||
for(TNEFAttribute attr : messageAttributes) {
|
||||
if(attr.getProperty() == id) {
|
||||
for (TNEFAttribute attr : messageAttributes) {
|
||||
if (attr.getProperty() == id) {
|
||||
return attr;
|
||||
}
|
||||
}
|
||||
@ -164,8 +164,8 @@ public final class HMEFMessage {
|
||||
* or null if there isn't one.
|
||||
*/
|
||||
public MAPIAttribute getMessageMAPIAttribute(MAPIProperty id) {
|
||||
for(MAPIAttribute attr : mapiAttributes) {
|
||||
if(attr.getProperty() == id) {
|
||||
for (MAPIAttribute attr : mapiAttributes) {
|
||||
if (attr.getProperty() == id) {
|
||||
return attr;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user