IDEMPIERE-2544:to more warning compiler hidden good warning
leak io
This commit is contained in:
parent
5044414ae4
commit
0305e1bf32
|
@ -465,6 +465,8 @@ public class EMailProcessor
|
|||
int c;
|
||||
while ((c = is.read()) != -1)
|
||||
sb.append((char)c);
|
||||
|
||||
is.close();
|
||||
deliveryMessage = sb.toString().trim();
|
||||
}
|
||||
else
|
||||
|
@ -674,6 +676,7 @@ public class EMailProcessor
|
|||
int c;
|
||||
while ((c = is.read()) != -1)
|
||||
System.out.write(c);
|
||||
is.close();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue